/* =====================================================
   1. ROOT / VARIABLES  (FIX WARNA GLOBAL)
===================================================== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --blue: #2196F3;

  /* === BRAND GRADIENT (GLOBAL, SATU SUMBER) === */
  --brand-gradient: linear-gradient(135deg, #2196F3, #6f8dff);

  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f5f7fa;
  --white: #ffffff;
}
/* =====================================================
   2. GLOBAL BASE
===================================================== */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg) !important;
  color: var(--text);
}

a {
  text-decoration: none;
}

/* =====================================================
   3. NAVBAR
===================================================== */
.navbar {
  background-color: var(--blue) !important;
  border: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar a {
  color: #fff !important;
}

.navbar-nav > li > a:hover {
  background: rgba(255,255,255,0.15) !important;
}

.navbar-nav > .active > a {
  background: rgba(0,0,0,0.15) !important;
  color: #fff !important;
}

/* =====================================================
   4. BUTTONS & FORM
===================================================== */
.btn-primary,
.btn-default,
.btn-success,
.btn-info {
  background-color: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
  border-radius: 6px;
}

.btn-primary:hover,
.btn-default:hover {
  background-color: #1976D2 !important;
}

.form-control {
  border: 1px solid #d9dfe6 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

.form-control:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 5px rgba(33,150,243,0.25) !important;
}

/* =====================================================
   5. PANELS / CARDS
===================================================== */
.panel,
.card,
.well {
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border-radius: 8px;
}

.alert {
  border-radius: 8px !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* =====================================================
   6. BLOG PAGE
===================================================== */
.blog-section {
  padding: 4rem 1.5rem;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.header-line {
  width: 70px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
  margin: 0 auto 14px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(37,99,235,0.15);
}

.blog-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-body {
  padding: 1.5rem 1.8rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.blog-excerpt {
  color: var(--muted);
  line-height: 1.6;
}

.btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 10px;
  padding: 0.55rem 1.2rem;
  font-weight: 600;
}

/* =====================================================
   7. SERVICE TABLE
===================================================== */
.service-container {
  max-width: 95% !important;
}

.svc-table-wrapper {
  padding: 0 !important;
}

.svc-category-row td {
  background: #E9F3FF !important;
  font-weight: 700;
}

.svc-id {
  font-weight: 700;
}

.svc-copy {
  cursor: pointer;
  margin-left: 6px;
  color: var(--blue);
}

/* =====================================================
   8. NEW ORDER CARDS
===================================================== */
.neworder-card {
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 22px 26px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06) !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important; 
  margin-bottom: 24px;
}

.neworder-card .card-title {
  font-size: 18px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .neworder-card {
    margin-bottom: 12px; /* lebih rapat di HP */
  }
}

/* =====================================================
   SIGNIN — HERO TITLE FIX
===================================================== */
.login-intro .headline-top {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 2px;
  color: #111;
}

.login-intro .headline-main {
  font-size: 30px;
  font-weight: 900;
  color: #0d6efd;
  line-height: 1.15;
  margin-bottom: 16px;
}

/* =====================================================
   SIGNIN — BADGE FIX
===================================================== */
.login-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #0d6efd;
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* =====================================================
   SIGNIN — CHECKBOX ALIGN FIX (FINAL)
===================================================== */
.sb-card .checkbox {
  display: flex;
  align-items: center;   /* kunci vertikal sejajar */
  gap: 6px;              /* jarak checkbox ↔ teks */
  margin: 0;
  padding: 0;
}

.sb-card .checkbox input[type="checkbox"] {
  position: relative;
  top: 0;
  margin: 0;
}

/* =====================================================
   SIGNIN — MOBILE TITLE ONE LINE FIX
===================================================== */
@media (max-width: 480px) {
  .login-intro .headline-top {
    white-space: nowrap;        /* paksa 1 baris */
    font-size: 22px;            /* sedikit dikecilin khusus mobile */
    letter-spacing: -0.3px;     /* rapetin dikit biar muat */
  }
}
@media (max-width: 580px) {
  .login-intro .headline-main {
    white-space: nowrap;        /* paksa 1 baris */
    font-size: 24px;            /* sedikit dikecilin khusus mobile */
    letter-spacing: -0.3px;     /* rapetin dikit biar muat */
  }
}

/* =====================================================
   SIGNIN PAGE — TRUST SECTION
===================================================== */
.trust-wrap {
  margin: 40px auto 20px;
  text-align: center;
}

.trust-wrap h2 {
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.trust-wrap p.desc {
  font-size: 15px;
  color: #555;
  max-width: 720px;
  margin: 0 auto 30px;
  line-height: 1.7;
}
.trust-highlight {
  margin-top: 24px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg,#2196F3,#6f8dff);
  color: #fff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
/* =====================================================
   MODERN MANUAL PAYMENT UI (SCOPED)
===================================================== */
#payment-view {
  display: none;
}

.payment-view.modern-payment {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

/* ======================
   BANK CARD
====================== */
.payment-view .bank-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;

  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.payment-view .bank-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;

  background: #4e8ef7;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 15px;
  flex-shrink: 0;
}

.payment-view .bank-info {
  flex: 1;
  text-align: left;
}

.payment-view .bank-account-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-view .bank-account {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.payment-view .bank-owner {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.payment-view .bank-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px;

  background: #e9f1ff;
  color: #2f6fed;

  flex-shrink: 0;
}

/* ======================
   COPY BUTTON
====================== */
.payment-view .copy-btn {
  border: none;
  background: #eef4ff;
  color: #2f6fed;

  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;

  cursor: pointer;
}

.payment-view .copy-btn:hover {
  background: #dde9ff;
}

.payment-view .copy-btn:active {
  transform: scale(0.96);
}

.payment-view .copy-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ======================
   PAYMENT CARD
====================== */
.payment-view .payment-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 18px;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.payment-view .payment-title {
  font-size: 16px;
  font-weight: 600;
}

.payment-view .payment-subtitle {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.payment-view .payment-amount-hero {
  margin: 16px 0 20px;

  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ======================
   CONFIRM BUTTON
====================== */
.payment-view .confirm-btn {
  width: 100%;
  padding: 12px;

  border: none;
  border-radius: 14px;

  font-size: 15px;
  font-weight: 600;

  background: linear-gradient(180deg, #5b9cff, #2f6fed);
  color: #ffffff;

  cursor: pointer;
}

.payment-view .confirm-btn:hover {
  opacity: 0.95;
}

.payment-view .confirm-btn:active {
  transform: translateY(1px);
}

.payment-view .confirm-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* =====================================================
   TERMS PAGE
===================================================== */
.terms-section {
  background: var(--white);
  max-width: 900px;
  margin: 3rem auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  padding: 3rem 2.5rem;
  transition: all 0.3s ease;
}

.terms-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 55px rgba(37,99,235,0.12);
}

/* =====================================================
   TERMS PAGE — READABILITY FIX
===================================================== */
.terms-content p,
.terms-content li {
  font-size: 1.05rem;        /* dari 1rem → lebih nyaman */
  line-height: 1.85;         /* tambah napas */
  color: var(--text);
}

.terms-content h2 {
  font-size: 1.45rem;        /* lebih tegas untuk section */
  font-weight: 900;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  letter-spacing: -0.2px;
  color: var(--primary-dark);
}

.terms-header h1 {
  font-size: 2.3rem;         /* lebih dominan */
  font-weight: 900;
  letter-spacing: -0.3px;
}

.terms-header p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.last-update {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 768px) {
  .terms-content p,
  .terms-content li {
    font-size: 1rem;
    line-height: 1.75;
  }

  .terms-header h1 {
    font-size: 1.9rem;
  }
}

.order-info-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  height: 100%;
}
.info-tabs {
  display: flex;
  gap: 8px;
  background: #f1f3f6;
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.info-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.25s ease;
}

.info-tab.active {
  background: #4f8fe8;
  color: #fff;
}
.info-tab-content {
  margin-top: 6px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}
.tab-panel h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 16px 0 6px;
}

.tab-panel p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .order-info-box {
    margin-top: 16px;
  }

  .info-tab {
    font-size: 13px;
  }
}
