.header-section {
    padding: 0 20px;
    background: var(--c-primary);
}

/* Account page ke cards header se na chipken — top spacing (baaki pages jaisa) */
.account-root {
    margin-top: 30px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    color: #fff;
    position: relative;
    z-index: 999;
    min-height: 45px;
}

.logo img {
    height: 45px; 
}


/* Logo */
.logo a {
    padding-top: 12px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #1323b2;
}

/* Menu */
.menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    transition: all 0.3s ease-in-out;
    max-width: 100%;
}

.menu-item {
    position: relative;
    white-space: nowrap;
}

.menu-link {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.menu-link:hover {
    background-color: var(--c-primary-dark); 
    color: #fff; 
    border-radius: 4px;
}

.dropdown-item {
    margin: 0;
}

.dropdown-link {
    text-decoration: none;
    color: #1323b2;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-link:hover {
    background: var(--c-primary-dark);
    color: #fff;
}

/* Active Menu Item */
.menu-item.active .menu-link {
    color: #fff;
    background-color: #028090;
}


.menu-item.active .menu-link:hover {
    background-color: #028090;
}


.menu-toggle {
	margin: 14px 0;
	padding: 0 13px;
    display: none;
    background: none;
    border: 1px solid #fff;
	border-radius: 4px;
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu-toggle i {
    transition: transform 0.3s ease;
}

.menu-toggle.up i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .header-section {
        padding: 0;
        border-bottom: 1px solid #959494;
    }

    .header-top {
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        width: 100%;
		height: 60px;
    }

    .logo img {
        height: 35px; 
    }
    
    .logo a {
        padding-top: 13px;
        text-decoration: none;
        font-size: 20px;
        font-weight: bold;
        color: #1323b2;
    }

    .menu {
		padding: 0px;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-20px);
        display: flex;
        flex-direction: column;
        background: var(--c-primary);
        position: absolute;
        top: 100%;
        min-width: 100%;
		border-top: 1px solid transparent;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
    }

    .menu.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .menu-item {
        margin: 0 12px; 
        text-align: left;
		border-radius: 0px;
    }
    
    /* Active Menu Item */
    .menu-item.active .menu-link {
        color: #fff; 
        background-color: #028090; 
    }
    
    .menu-item.active .menu-link:hover {
        background-color: #028090; /* Slightly brighter on hover */
    }

    .menu-link {
        margin: 0 0 2px 0; 
        display: block;
        width: 100%; /* Ensure the link spans the full width */
        padding: 7px 10px; /* Add padding for better touch interaction */
        text-align: left; /* Align text to the left */
    }

    .menu-toggle {
        display: block;
    }
}

@media (min-width: 769px) {
    .menu {
        display: flex;
        flex-wrap: wrap; 
        justify-content: left; 
        margin-top: 20px;
    }

    .menu-item {
        margin: 5px 5px; 
    }
}

/* For mobile screens, menu will stay as dropdown */
@media (max-width: 768px) {
    .menu {
        flex-wrap: nowrap; /* Prevent wrapping on mobile */
    }
}


.logo img {
    margin-right: 10px;
}
/* Currency Dropdown */
.currency-dropdown {
    position: relative;
    white-space: nowrap;
}

.currency-text {
	color: #000;
	background-color: #fff;
	padding: 0 7px;
	border-radius: 25px;
}
	
.currency-dropdown .dropdown-toggle {
    text-decoration: none;
    color: #fff;
    font-weight: bold; /* Make text bold */
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid #fff;
	border-radius: 4px;
	margin: 0 12px 2px 12px;
}

.currency-dropdown .currency-dropdown-menu {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%; /* Align directly below toggle */
    left: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999; /* Ensure it appears above other elements */
    padding: 0;
    min-width: auto;
    max-height: 300px;
    overflow-y: auto;
    margin: 0 10px;
}

.currency-dropdown .currency-dropdown-menu li {
    list-style: none;
}


.currency-dropdown .dropdown-currency-item {
    display: block;
    text-decoration: none;
    padding: 8px 12px;
    color: #000;
    font-size: 14px;
    transition: background-color 0.3s ease;
}


.currency-dropdown .dropdown-currency-item:hover {
    background-color: var(--c-primary-dark);
    color: #fff;
}

.currency-dropdown .dropdown-currency-item.active {
    font-weight: bold;
    color: #fff;
    background-color: #028090;
}

/* Show dropdown menu */
.currency-dropdown.dropdown-show 
.currency-dropdown-menu {
    display: block;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: left;
}

















.nice-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 1.5rem; border-bottom:1px solid #eef2f7;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

/* Left side (icon + text) */
.nice-header .ch-left{ display:flex; align-items:center; gap:12px; }
.nice-header .ch-icon{
  width:34px; height:34px; border-radius:10px;
  display:grid; place-items:center; font-size:16px;
  color:#036672; background:rgba(var(--c-primary-rgb),.12);
  border:1px solid rgba(var(--c-primary-rgb),.22);
}
.nice-header .ch-text{ line-height:1.15; }
.nice-header .ch-title{
  font-size:16px; font-weight:700; color:#0f172a; margin:0;
}
.nice-header .ch-sub{
  font-size:12px; color:#64748b; margin-top:2px;
}

/* Right side badge */
.nice-header .ch-right{ display:flex; align-items:center; gap:8px; }
.nice-header .ch-badge{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; color:#036672;
  padding:6px 10px; border-radius:999px;
  background:rgba(var(--c-primary-rgb),.12); border:1px solid rgba(var(--c-primary-rgb),.22);
}
.nice-header .ch-badge-save{
  color:#166534; background:rgba(22,163,74,.10); border-color:rgba(22,163,74,.25);
}

/* Optional: tighten default .card header spacing if needed */
.card .nice-header{ border-top-left-radius:12px; border-top-right-radius:12px; }












.footer_bottom {
  background: #f5f5f5;
  color: #000;
}

.auth-footer {
  display: flex;
  justify-content: space-between;
}
  
.btn-login {
  color: #fff;
  border: 1px solid #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-login:hover {
  background: #fff;
  color: #028090;
}

.btn-signup {
  background: #fff;
  color: #028090;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  margin-left: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-signup:hover {
  background: #028090;
  color: #fff;
}


@media (max-width: 768px) {
  .auth-footer {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    padding: 8px;
    border-top: 1px solid rgba(255,255,255,0.3);
    margin-top: 12px;
  }

  .auth-footer .btn-login,
  .auth-footer .btn-signup {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
  }

  .auth-footer .btn-login {
    color: #fff;
    border: 1px solid #fff;
    background: transparent;
    font-weight: 600;
  }
  
  .auth-footer .btn-login:hover {
    background: #fff;
    color: #028090;
  }

  .auth-footer .btn-signup {
    background: #fff;
    color: #028090;
  }
  
  .auth-footer .btn-signup:hover {
    background: #028090;
    color: #fff;
  }
}





.ord-root {
  --ord-accent: var(--c-primary);
  --ord-ink: #0f172a;
  --ord-muted: #64748b;
  --ord-line: #e2e8f0;
  --ord-soft: #f5f8ff;
  --ord-chip: #f8fafc;
  --ord-danger: #ef4444;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ord-ink);
}

.ord-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0,1fr));
  gap: 20px;
}

@media (min-width: 576px) { 
    .ord-grid { 
        grid-template-columns: repeat(1, 1fr); 
    } 
}
    
@media (min-width: 1200px) { 
    .ord-grid { 
        grid-template-columns: repeat(2, 1fr); 
    } 
}

.ord-card {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(2, 8, 20, .05);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.ord-head {
  padding: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: linear-gradient(180deg, var(--ord-soft), #fff 65%);
  border-bottom: 1px solid var(--ord-line);
  border-radius: 14px 14px 0 0;
}

.ord-title { 
    font-weight: 700; 
    font-size: 18px; 
    line-height: 1.35; 
}

.ord-title a { 
    color: var(--ord-accent); 
    text-decoration: none; 
}

.ord-tags { 
    margin-top: 6px; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 6px; 
}

.ord-chip {
  font-size: 11.5px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  font-weight: 700;
  color: var(--ord-ink);
  background: var(--ord-chip);
}

.ord-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: capitalize;
  border: 1px solid transparent;
  white-space: nowrap;
}

.ord-badge.processing { 
    background:#fff7ed; 
    color:#b45309; 
    border-color:#fde68a; 
}

.ord-badge.active     { 
    background:#ecfdf5; 
    color:#047857; 
    border-color:#a7f3d0; 
}

.ord-badge.inactive   { 
    background:#f1f5f9; 
    color:#475569; 
    border-color:#e2e8f0; 
}

.ord-badge.expired    { 
    background:#fef2f2; 
    color:#b91c1c; 
    border-color:#fecaca; 
}

.ord-badge.reached    { 
    background:#fef3c7; 
    color:#92400e; 
    border-color:#fde68a; 
}

.ord-badge.suspended  { 
    background:#eff6ff; 
    color:#1d4ed8; 
    border-color:#bfdbfe; 
}

.ord-badge.deleted    { 
    background:#f8fafc; 
    color:#94a3b8; 
    border-color:#e2e8f0; 
}

.ord-badge.cancelled    { 
    background:#f8fafc; 
    color:#94a3b8; 
    border-color:#e2e8f0; 
}

/* ===== Body ===== */
.ord-body {
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

@media (max-width: 575.98px) { 
    .ord-body { 
        grid-template-columns: 1fr; 
    }
}

.ord-item { 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
}

.ord-key  { 
    font-size: 12.5px; 
    color: var(--ord-muted); 
    letter-spacing: .04em; 
    font-weight: 600; 
}

.ord-val  { 
    font-size: 14.5px; 
    font-weight: 700; 
    color: var(--ord-ink); 
}

.ord-stats { 
    grid-column: 1 / -1; 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px; 
}

@media (max-width: 991.98px) { 
    .ord-stats { 
        grid-template-columns: repeat(2, 1fr); 
    } 
}

.ord-stat {
  background: var(--ord-chip);
  border: 1px solid var(--ord-line);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ord-stat .stat-key { 
    font-size: 12.5px; 
    color: var(--ord-muted); 
    font-weight: 600; 
    letter-spacing: .04em; 
}

.ord-stat .stat-val { 
    font-size: 16px; 
    font-weight: 800; 
    color: var(--ord-ink); 
}

.ord-usage { 
    grid-column: 1 / -1; 
}

.usage-wrap { 
    display: grid; 
    grid-template-columns: auto 1fr auto; 
    align-items: center; 
    gap: 12px; 
    padding-top: 2px; 
}

.usage-bar { 
    position: relative; 
    height: 9px; 
    background: #e2e8f0; 
    border-radius: 999px; 
    overflow: hidden; 
}

.usage-fill { 
    position: absolute; inset: 0 auto 0 0; 
    width: 0%; 
    background: var(--ord-accent); 
}

.usage-meta { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 800; 
    color: var(--ord-ink); 
}

.usage-meta small { 
    color: var(--ord-muted); 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: .04em; 
    font-size: 11.5px; 
}

.ord-dates {
  grid-column: 1 / -1;
  position: relative;
  padding: 14px;
  border: 1px solid var(--ord-line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfdff, #ffffff 70%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px 18px;
  margin-top: 2px;
}


@media (min-width: 1200px) { 
    .ord-dates { 
        grid-template-columns: repeat(3, 1fr); 
    } 
}

.ord-dates .group-badge {
  position: absolute;
  top: -10px; left: 12px;
  padding: 2px 8px;
  border: 1px solid var(--ord-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ord-muted);
  font-size: 11px; 
  font-weight: 800; 
  letter-spacing: .06em; 
  text-transform: uppercase;
}

.ord-date { 
    display: flex; 
    flex-direction: column; gap: 4px; 
}

.ord-foot {
  padding: 10px;
  border-top: 1px solid var(--ord-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ord-foot-left,
.ord-foot-right { 
    display: flex; 
    align-items: center; gap: 10px; 
}

.btn-soft {
  border: 2px solid var(--ord-line);
  background: #ffffff;
  color: var(--ord-ink);
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.btn-soft:hover { 
    background: #f8fafc; 
    color: #000; 
    border: 2px solid #000;
}

.btn-cta { 
    background: var(--ord-danger); 
    border: 1px solid var(--ord-danger); 
    color: #fff; 
}

.btn-cta:hover { 
    filter: brightness(0.98); 
}

.btn-icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  padding: 0;
}

.ord-foot .dropdown { 
    position: relative; 
}

.ord-foot .dropdown-menu { 
    z-index: 1050; 
}

.dropdown-menu .dropdown-item {
  font-size: 13.5px; 
  padding: 7px 14px;
  text-decoration: none; 
  color: var(--ord-ink);
  font-weight: 600; 
  border-bottom: 1px solid #f8fafc;
}

@media (max-width: 575.98px) { 
    .ord-foot .dropdown-menu { 
        right: 0; 
        left: auto;
    } 
}

.ord-empty {
  padding: 44px; 
  background: #ffffff; 
  border: 1px dashed var(--ord-line);
  border-radius: 14px; 
  text-align: center; 
  color: var(--ord-muted); 
  font-size: 14.5px;
}

.ord-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid var(--ord-line);
  background: #fff;
  border-radius: 10px 10px 0 0;
}

.ord-header .notice-wrap {
  flex: 1;
}

.ord-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 1.4;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.ord-notice.warn {
  background: #fff7ed;
  border: 1px solid #fde68a;
  color: #92400e;
}

.ord-notice i {
  font-size: 15px;
  flex-shrink: 0;
}







.terms-box {
  padding: 12px 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  background: #f9fafb;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.terms-box strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 13.5px;
}

.terms-box ul {
  padding-left: 18px;
  margin: 0 0 10px 0;
}

.terms-check {
  font-size: 14px;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.terms-check input[type="checkbox"] {
  margin-top: 3px;
}











/* Root container */
#aichat {
  all: initial;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --aiw-primary: #1a73e8;
  --aiw-bg: #ffffff;
  --aiw-border: #e5e7eb;
  --aiw-text: #111827;
  --aiw-muted: #6b7280;
  --aiw-bot: #f3f4f6;
  --aiw-user: #e8f0fe;

  --shadow-1: 0 6px 20px rgba(0,0,0,.18);
  --focus: 0 0 0 3px rgba(26,115,232,.22);
}

#aichat,
#aichat * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* Floating button (FAB) */
#aichat .aiw-fab {
  position: fixed;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);

  width: 56px;
  height: 56px;
  border-radius: 50%;

  border: none;
  cursor: pointer;
  color: #fff;
  background: var(--aiw-primary);

  display: grid;
  place-items: center;
  font-size: 22px;

  box-shadow: var(--shadow-1);
  z-index: 2147483646;

  transition: transform .08s ease, filter .15s ease, box-shadow .15s ease;
}

#aichat .aiw-fab:focus {
  outline: none;
  box-shadow: var(--focus);
}

#aichat .aiw-fab:hover {
  filter: brightness(1.06);
}

#aichat .aiw-fab:active {
  transform: scale(.98);
}

/* Chat panel */
#aichat .aiw-panel {
  position: fixed;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);

  width: 340px;
  height: 480px;

  display: none;
  flex-direction: column;
  overflow: hidden;

  background: var(--aiw-bg);
  color: var(--aiw-text);

  border: 1px solid var(--aiw-border);
  border-radius: 12px;

  box-shadow: var(--shadow-1);
  z-index: 2147483647;

  will-change: transform, opacity;
}

/* Header */
#aichat .aiw-head {
  height: 52px;
  padding: 0 12px;

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

  background: #fafafa;
  border-bottom: 1px solid var(--aiw-border);

  font-weight: 700;
  font-size: 14px;
}

#aichat .aiw-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

#aichat .aiw-title::before {
  content: "";
  width: 10px;
  height: 10px;

  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .22);
}

#aichat .aiw-close {
  width: 34px;
  height: 34px;

  border-radius: 8px;
  border: none;

  background: transparent;
  color: var(--aiw-muted);

  cursor: pointer;
  font-size: 18px;

  transition: background .15s ease, color .15s ease;
}

#aichat .aiw-close:hover {
  background: rgba(0,0,0,.06);
  color: #111827;
}

#aichat .aiw-close:focus {
  outline: none;
  box-shadow: inset var(--focus);
}

/* Body */
#aichat .aiw-body {
  flex: 1;
  overflow: auto;
  padding: 12px;

  background: #fbfbfc;
}

#aichat .aiw-msg {
  max-width: 82%;
  margin: 6px 0;
  padding: 9px 11px;

  border-radius: 10px;
  font-size: 14px;
  line-height: 1.42;

  word-wrap: break-word;
  white-space: pre-wrap;

  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

#aichat .aiw-bot {
  background: var(--aiw-bot);
  margin-right: auto;
}

#aichat .aiw-user {
  background: var(--aiw-user);
  margin-left: auto;
}

/* Footer */
#aichat .aiw-foot {
  border-top: 1px solid var(--aiw-border);
  background: #fff;

  padding: 8px;

  display: flex;
  gap: 8px;
}

#aichat .aiw-input {
  flex: 1;
  height: 40px;

  border: 1px solid var(--aiw-border);
  border-radius: 8px;

  padding: 0 12px;

  font-size: 14px;
  outline: none;
  background: #fff;

  transition: border-color .15s ease, box-shadow .15s ease;
}

#aichat .aiw-input:focus {
  border-color: var(--aiw-primary);
  box-shadow: var(--focus);
}

#aichat .aiw-send {
  width: 44px;
  height: 40px;

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

  border: none;
  border-radius: 8px;

  color: #fff;
  background: var(--aiw-primary);

  cursor: pointer;

  transition: transform .06s ease, filter .12s ease, box-shadow .12s ease;
}

#aichat .aiw-send:hover {
  filter: brightness(1.05);
}

#aichat .aiw-send:active {
  transform: translateY(1px);
}

#aichat .aiw-send:focus {
  outline: none;
  box-shadow: var(--focus);
}

#aichat .aiw-send svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 480px) {
  #aichat .aiw-panel {
    right: 10px;
    left: 10px;
    width: auto;
    height: 70vh;

    bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);
  }
}





/* ================================
   MINI STAT (compact widget)
   ================================ */
/* Balance / Total-deposit tiles — affiliate .aff-stat jaisa look */
.stat-mini {
  display: flex;
  align-items: center;
  gap: 11px;

  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;

  padding: 12px 14px;
  box-shadow: rgb(0 0 0 / 6%) 1px 1px 3px;
}

@media (max-width: 575.98px) {
  .stat-mini {
    margin-bottom: 10px;
  }
}

.stat-left {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;

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

  border-radius: 8px;
  font-size: 16px;

  color: var(--c-primary);
  background: rgba(var(--c-primary-rgb),.12);
}

/* --- Variants (aff-stat palette) --- */
.stat-mini.is-balance .stat-left {
  background: #e6f6ee;
  color: #16a34a;
}

.stat-mini.is-deposit .stat-left {
  background: rgba(var(--c-primary-rgb),.12);
  color: var(--c-primary);
}

.stat-right {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.stat-value {
  font-weight: 800;
  font-size: 19px;
  color: #111827;
  line-height: 1;
}

.stat-label {
  font-size: 11.5px;
  color: #8a93a2;
  margin-top: 4px;
}



.plan-head-row{
  display:grid; align-items:center;
  grid-template-columns: 24px 1fr 1fr 1fr; 
  column-gap:8px;
  padding:6px 12px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-bottom:0;
  border-radius:6px 6px 0 0;
  font-size:15px; 
  font-weight:600;
  color:#475569;
}

.plan-head-spacer{ 
    width:24px; 
    height:1px;
}

.plan-col-title{ 
    text-align:left; 
}

.plan-col-price{
    text-align:left;
}

.plan-col-orders{
    text-align:center; 
}

/* Scroll box (joins header) */
.plan-scroll{
  max-height:180px;
  overflow:auto;
  border:1px solid #e5e7eb;
  border-top:0;
  border-radius:0 0 6px 6px;
  background:#fff;
  margin-bottom:20px;
}

/* List + rows */
.plan-list{ list-style:none; margin:0; padding:0; }
.plan-list > li{ border-bottom:1px solid #f1f5f9; }
.plan-list > li:last-child{ border-bottom:0; }

.plan-row{
  display:grid; align-items:center;
  grid-template-columns: 24px 1fr 1fr 1fr; /* radio + Plan + Price + Orders */
  column-gap:8px;
  padding:8px 12px;
  cursor:pointer;
  font-size:15px;
}
.plan-row > input[type="radio"]{
  width:16px; height:16px;
  justify-self:start;
}

/* Columns */
.plan-title{ font-weight:600; color:#036672; text-align:left; }
.plan-price{ font-weight:600; color:#0f172a; text-align:left; }
.plan-meta{ color:#475569; font-size:13px; text-align:center; }

/* Hover + selected */
.plan-row:hover{ background:#f8fafc; }
.plan-row:has(> input[type="radio"]:checked){
  background:#f0fdff; font-weight:700;
}

/* ==============
   SMALL TWEAKS
   ============== */
label.m-t-10.d-block{ margin-top:10px; display:block; }





.ren-root {
  --ren-brand: var(--c-primary);
  --ren-ink: #0f172a;
  --ren-muted: #64748b;
  --ren-line: #e5e7eb;
  --ren-soft: #f8fafc;
  --ren-good: #059669;
  --ren-warn: #d97706;
  --ren-bad:  #ef4444;

  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ren-ink);
}

/* GRID */
.ren-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0,1fr));
  gap: 16px;
}
@media (min-width:576px) { .ren-grid { grid-template-columns: repeat(1, minmax(0,1fr)); } }
@media (min-width:992px) { .ren-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* CARD */
.ren-card {
  background: #fff;
  border: 1px solid var(--ren-line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(15,23,42,.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ren-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ren-domain {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ren-domain a { color: var(--ren-brand); text-decoration: none; }
.ren-domain a:hover { text-decoration: underline; }

.ren-type {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #0b3b43;
  background: #eef2fb;
  border: 1px dashed #bceff8;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.ren-user,
.ren-created {
  font-size: 13px;
  color: var(--ren-muted);
}

.ren-charge,
.ren-plan {
  font-weight: 700;
  font-size: 14px;
  background: var(--ren-soft);
  border: 1px solid var(--ren-line);
  border-radius: 10px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ren-plan {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

/* BADGE (generic) */
.ren-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--ren-line);
  background: #fff;
}
.ren-badge.new { border-color: #c7f0ff; background: #f0fbff; }
.ren-badge.old { border-color: #e9eaf0; background: #f7f7fb; }

/* TWO-COLUMN DETAIL */
.ren-cols {
  display: grid;
  grid-template-columns: 1fr; /* mobile: stack */
  gap: 8px;
}
@media (min-width: 576px) {
  .ren-cols { grid-template-columns: 1fr 1fr; }
}

/* BOX with BORDER-STRADDLED TITLE */
.ren-box {
  position: relative; /* anchor for absolute title */
  border: 1px solid var(--ren-line);
  border-radius: 10px;
  padding: 18px 12px 12px;       /* extra top to clear badge */
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.ren-title {
  position: absolute;
  top: -9px;                   
  left: 14px;                   
  z-index: 1;
  line-height: 1;
  background: linear-gradient(#fff, #fff) padding-box;
  padding: 0 2px;             
}

.ren-title .ren-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--ren-line);
  background: #fff;
  font-weight: 800;
}
.ren-title .ren-badge.old { border-color: #e9eaf0; background: #f7f7fb; }
.ren-title .ren-badge.new { border-color: #c7f0ff; background: #f0fbff; }

/* key-values */
.ren-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  gap: 8px;
}
.ren-kv b { font-weight: 700; }

.ren-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.ren-empty {
  text-align: center;
  color: var(--ren-muted);
  padding: 24px;
  border: 1px dashed var(--ren-line);
  border-radius: 12px;
}










.faq-section {
    background-color: #f7f9fc;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
}

.faq-section h2 {
    font-size: 2.5rem;
    color: #002855;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.faq-section .divider {
    width: 50px;
    height: 4px;
    background: #ffa15f;
    margin: 10px auto 30px;
    border-radius: 2px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 10px 20px;
    font-size: 1.2rem;
    color: #002855;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #ffa15f;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f9f9f9;
    padding: 0 20px;
    font-size: 0.95rem;
    color: #555;
}

.faq-item.open .faq-answer {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal;
  word-break: break-word;
}

/* See All Button */
.faq-btn {
    display: inline-block;
    margin: 30px auto 0;
    background: var(--c-primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s ease;
}
.faq-btn:hover {
    background: #0092ac;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .faq-section h2 {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }
}










    /* === Simple Reviews Section === */
    .simple-reviews {
      background: #f7f9fc;
      padding: 60px 20px;
      font-family: Arial, sans-serif;
      text-align: center;
      color: #002855;
    }

    .simple-reviews .container {
      max-width: 900px;
      margin: 0 auto;
    }

    .simple-reviews h2 {
      font-size: 2.2rem;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .simple-reviews p.subtitle {
      color: #64748b;
      font-size: 1rem;
      margin-bottom: 40px;
    }

    .review-grid {
      display: grid;
      gap: 20px;
      grid-template-columns: 1fr;
    }

    @media (min-width: 768px) {
      .review-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .review-card {
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 20px;
      text-align: left;
    }

    .review-user {
      font-weight: bold;
      margin-bottom: 5px;
      color: #002855;
    }

    .review-stars {
      color: #f6b300;
      margin-bottom: 10px;
      font-size: 0.95rem;
    }

    .review-text {
      color: #475569;
      font-size: 0.95rem;
      line-height: 1.6;
    }

    /* Button */
    .review-btn {
      display: inline-block;
      margin-top: 30px;
      background: var(--c-primary);
      color: #fff;
      padding: 10px 22px;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s ease;
    }

    .review-btn:hover {
      background: #0092ac;
    }
    
    
    







/* ================================
   FOOTER SECTION STYLES
=================================== */

.footer {
    background: #002855;
    color: #fff;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
}

/* App (client) footer — sirf copyright, compact + light */
.footer.app-footer{
    background:var(--c-primary);color:#fff;padding:14px 20px;
    border-top:none;text-align:center;
}
.footer.app-footer .footer-bottom{margin:0;padding:0;border-top:none;font-size:13.5px;color:#fff}

/* Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* Columns */
.footer-column {
    flex: 1;
    min-width: 200px;
}

/* Headings */
.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffa15f;
}

/* Links — force white color */
.footer a {
    color: #fff !important;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 6px;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

/* Hover effect for links */
.footer a:hover {
    color: #ffa15f !important;
    text-decoration: underline;
}

/* Social icons section */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    color: #fff !important;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ffa15f !important;
}

/* Footer bottom text */
.footer-bottom {
    margin-top: 30px;
    border-top: 1px solid #334a64;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #d1e0ef;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: left;
    }

    .footer-social {
        justify-content: left;
    }
}

/* ===================== HERO SECTION ===================== */
.hx-hero {
  --primary: var(--c-primary);
  --ink: #0f172a;
  --muted: #475569;
  --ring: rgba(var(--c-primary-rgb),.25);
  --header-h: 72px;

  color: var(--ink);
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 70%);
  scroll-margin-top: var(--header-h);
  position: relative;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  .hx-hero {
    overflow-x: hidden;
  }
}

.hx-hero *,
.hx-hero *::before,
.hx-hero *::after {
  box-sizing: border-box;
}

/* Container */
.hx-hero .hx-wrap {
  width: min(1200px, 92vw);
  margin-inline: auto;
  padding-block: clamp(28px, 6vw, 72px);
  max-width: 100%;
}

/* Grid */
.hx-hero .hx-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 3.5vw, 40px);
  position: relative;
}

/* Ambient bubble */
.hx-hero .hx-bubble {
  position: absolute;
  top: -20%;
  right: 0;
  width: min(70vw, 900px);
  aspect-ratio: 1 / 1;
  background: radial-gradient(closest-side, rgba(var(--c-primary-rgb),.25), rgba(var(--c-primary-rgb),0));
  filter: blur(18px);
  pointer-events: none;
  transform: translate(25%, -10%);
  contain: paint;
}

/* Text */
.hx-hero .hx-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(var(--c-primary-rgb),.08);
  border: 1px solid rgba(var(--c-primary-rgb),.18);
  padding: .38rem .7rem;
  border-radius: 999px;
  margin: 0 0 12px;
}

.hx-hero .hx-title {
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.hx-hero .hx-sub {
  font-size: clamp(15px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}

/* Buttons */
.hx-hero .hx-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hx-hero .hx-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.2rem;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .08s ease,
              box-shadow .2s ease,
              background .2s ease,
              color .2s ease;
}

.hx-hero .hx-btn.main {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px -8px var(--ring);
}

.hx-hero .hx-btn.main:hover {
  transform: translateY(-1px);
}

.hx-hero .hx-btn.alt {
  background: #eef2fb;
  color: #036672;
  border: 1px solid #b7f4ff;
}

.hx-hero .hx-btn.alt:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Visual */
.hx-hero .hx-visual {
  position: relative;
  overflow: clip;
}

@supports not (overflow: clip) {
  .hx-hero .hx-visual {
    overflow: hidden;
  }
}

.hx-hero .hx-screen {
  border: 10px solid #0b94a7;
  border-bottom-width: 14px;
  border-radius: 24px;
  overflow: hidden;
  transform: perspective(900px) rotateY(-9deg) rotateX(2deg);
  box-shadow: 0 20px 80px -30px var(--ring);
  max-width: 100%;
  backface-visibility: hidden;
}

.hx-hero .hx-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* Metrics */
.hx-hero .hx-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.hx-hero .hx-stat {
  background: #f1feff;
  border: 1px dashed #b7f4ff;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.hx-hero .hx-stat strong {
  display: block;
  font-size: clamp(18px, 2.5vw, 26px);
  color: #065a64;
}

/* Responsive */
@media (max-width: 980px) {
  .hx-hero .hx-grid {
    grid-template-columns: 1fr;
  }
  .hx-hero .hx-stats {
    grid-template-columns: 1fr 1fr;
  }
  .hx-hero .hx-screen {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hx-hero .hx-stats {
    grid-template-columns: 1fr 1fr;
  }
}




    /* === Simple Features Section === */
    .simple-features {
      background: #f7f9fc;
      padding: 60px 20px;
      font-family: Arial, sans-serif;
      color: #002855;
      text-align: center;
    }

    .simple-features .container {
      max-width: 900px;
      margin: 0 auto;
    }

    .simple-features h2 {
      font-size: 2.2rem;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .simple-features p.subtitle {
      color: #64748b;
      font-size: 1rem;
      margin-bottom: 40px;
    }

    .features-grid {
      display: grid;
      gap: 20px;
      grid-template-columns: 1fr;
      text-align: left;
    }

    @media (min-width: 768px) {
      .features-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .feature-card {
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 20px;
    }

    .feature-card h4 {
      margin: 0 0 6px;
      font-size: 1.1rem;
      font-weight: bold;
      color: #002855;
    }

    .feature-card p {
      margin: 0;
      font-size: 0.95rem;
      color: #475569;
      line-height: 1.6;
    }

    /* Button */
    .feature-btn {
      display: inline-block;
      margin-top: 35px;
      background: var(--c-primary);
      color: #fff;
      padding: 10px 22px;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s ease;
    }

    .feature-btn:hover {
      background: #0092ac;
    }
    
    
/* ====== INVOICE VIEW BUTTON ====== */
.btn-inv-view {
  white-space: nowrap;
  display: inline-block;
  background: #0ea5b7;              /* Accent color */
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 4px 8px;
  border: 1px solid #0ea5b7;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(14,165,183,0.25);
}

.btn-inv-view:hover {
  background: #0891a6;             /* Slightly darker on hover */
  border-color: #0891a6;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(14,165,183,0.35);
}

/* Optional secondary (gray) version, if needed later */
.btn-inv-view.gray {
  background: #f3f4f6;
  color: #111827;
  border-color: #e5e7eb;
}

.btn-inv-view.gray:hover {
  background: #e5e7eb;
  color: #0f172a;
}

.nowrap {
  white-space: nowrap;
}

/* ====== STATUS BADGES ====== */
.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #fff;
}

.status-paid {
  background-color: #10b981; /* Green */
}

.status-unpaid {
  background-color: #467FE0; /* Red */
}

.status-expired {
  background-color: #ef4444; /* Gray */
}


.ivc-root {
  --ink: #0f172a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --paper: #f9fafb;
  --accent: #0ea5b7;
  --paid: #10b981;
  --unpaid: #467FE0;
  --expired: #ef4444;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.06);

  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--ink);
}

/* Layout: single column for single invoice */
.ivc-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

/* Card */
.ivc {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Header */
.ivc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fcfeff);
}

.ivc-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.ivc-amt {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ivc-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: #9ca3af;
}
.is-paid .ivc-badge { background: var(--paid); }
.is-unpaid .ivc-badge { background: var(--unpaid); }
.is-expired .ivc-badge { background: var(--expired); }

/* Body */
.ivc-body {
  padding: 16px 18px;
  background: var(--paper);
}

.ivc-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px) {
  .ivc-sections { grid-template-columns: 1fr; }
}

/* Boxes */
.ivc-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.ivc-box h6 {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

/* Key/Value */
.kv {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 10px;
  font-size: 14px;
  padding: 2px 0;
}
.kv .k { color: var(--muted); }
.kv .v { color: var(--ink); font-weight: 600; min-height: 20px; }

/* Prevent wrap for dates */
.nowrap { white-space: nowrap; }

/* Totals */
.ivc-tot {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}
.ivc-tot .k { color: var(--muted); }
.ivc-tot .v { text-align: right; font-weight: 800; }
.ivc-tot.total { border-top: 1px dashed var(--line); padding-top: 8px; font-size: 16px; }

/* Footer */
.ivc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px dashed var(--line);
  padding: 12px 18px;
  background: #fff;
}
.ivc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buttons */
.btnx {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: #0b1220;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.06s ease, box-shadow 0.2s ease;
}
.btnx:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(2, 6, 23, 0.08); }
.btnx-cta { background: var(--accent); border-color: var(--accent); color: #fff; }
.btnx-ghost { background: #f8fafc; }

/* Inline form alert (result shown above a form instead of a floating toast) */
.inline-form-alert {
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.inline-form-alert.is-error   { background: #fdecea; color: #b42318; border: 1px solid #f3c1bd; }
.inline-form-alert.is-success { background: #ecfdf3; color: #067647; border: 1px solid #a6f4c5; }

/* ===== Calmer, professional corner radii (less rounded) ===== */
.card, .modal-content { border-radius: 12px; }
/* card ke header/footer corners bhi 12px (warna card round par woh 2px reh jate the) */
.card-header:first-child { border-radius: 12px 12px 0 0; }
.card-footer:last-child  { border-radius: 0 0 12px 12px; }

/* ===== My Panels — simple, neutral cards with a deep-blue action ===== */
.ord-card {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}
.ord-head {
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #eef0f2;
  border-radius: 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.ord-head-left { min-width: 0; }
.ord-title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.ord-title a { color: var(--c-primary); text-decoration: none; }
.ord-title a:hover { text-decoration: underline; }
.ord-sub { margin-top: 4px; font-size: 12px; color: #6b7280; }
.ord-created { margin-top: 3px; font-size: 11px; color: #9ca3af; }
.ord-go { color: transparent; }            /* keep the open-panel click target, hide the dot */

.ord-badge { border-radius: 5px; text-transform: capitalize; }

.ord-info { padding: 4px 16px; }
.ord-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid #f3f4f6; font-size: 13.5px;
}
.ord-row:last-child { border-bottom: 0; }
.ord-row-key { color: #6b7280; }
.ord-row-val { font-weight: 600; color: #111827; text-align: right; }

.ord-foot {
  padding: 12px 16px; border-top: 1px solid #eef0f2;
  background: #f8fafc;
  display: flex; gap: 10px;
}
.ord-btn {
  /* chhota button, poori width nahi (flex:1 stretch hata) — ord-foot space-between se left rehta */
  flex: 0 0 auto; align-self: flex-start; text-align: center; text-decoration: none;
  font-weight: 600; font-size: 13.5px; padding: 7px 16px; border-radius: 5px;
  transition: background .15s ease, border-color .15s ease;
}
.ord-btn-primary { background: var(--c-primary); color: #fff; border: 1px solid var(--c-primary); }
.ord-btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.ord-btn-outline { background: #fff; color: var(--c-primary); border: 1px solid #cdd7f0; }
.ord-btn-outline:hover { background: #f5f7ff; color: var(--c-primary); }

/* User-side inputs — border color + radius index.php code-input jaisa (#d5dae1 / 6px).
   Focus effect barqarar (border primary + soft shadow). core.css ka `solid none` focus bug bhi fix. */
/* Poori user side ki inputs ki uniform theme (login-input jaisa) */
.form-control { border:1px solid #d5dae1; border-radius:8px; color:#0f172a; }
input.form-control, select.form-control { height:46px; padding:0 14px; font-size:14.5px; }
textarea.form-control { padding:10px 14px; font-size:14.5px; min-height:110px; }
.form-control:focus { border:1px solid var(--c-primary); box-shadow:0 0 0 3px rgba(var(--c-primary-rgb),.12); }

/* .btn-prim: core.css hover/active pe bg transparent + text #fff kar deta (text gaib) aur
   focus par ajeeb green glow deta. Fix: hover/active/focus pe SOLID rahe (no transparent outline)
   + koi glow nahi. */
.btn-prim:hover,
.btn-prim:focus,
.btn-prim.focus,
.btn-prim:not(:disabled):not(.disabled):active,
.btn-prim:not(:disabled):not(.disabled):active:focus {
  color: #fff;
  background-color: var(--c-primary);
  border-color: var(--c-primary);
  box-shadow: none;
}
.btn-prim:hover { background-color: #009fbb; }

/* ===== New Panel: coupon apply ===== */
.js-hide { display: none !important; }
.opt-hint { font-weight: 400; font-size: 12px; color: #9aa3af; }
.charge-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 6px 14px; background: #f8fafc; border: 1px solid #d5dae1; border-radius: 6px; }
.charge-left { display: flex; align-items: center; flex-wrap: wrap; min-width: 0; }
.charge-price { font-size: 18px; }
.charge-right { flex: 0 0 auto; }
.coupon-link { font-size: 13px; font-weight: 600; color: var(--c-primary); cursor: pointer; white-space: nowrap; text-decoration: none; }
.coupon-link:hover, .coupon-link:focus { text-decoration: none; color: #009fbb; }
.coupon-link i { font-size: 12px; margin-right: 2px; }
.coupon-link.is-remove { color: #dc2626; }
.coupon-link.is-remove:hover { color: #c02a2a; }
.order-part { border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.order-part-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #f8fafc; border-bottom: 1px solid #eef0f3; }
.order-part-title { font-weight: 700; font-size: 14px; color: #111827; }
.order-part-body { padding: 14px; }
.charge-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.charge-row-label { color: #5b6472; font-size: 14px; }
.pay-summary { margin-top: 18px; border-top: 1px dashed #e5e7eb; padding-top: 12px; }
.pay-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #5b6472; padding: 4px 0; }
.pay-row.is-discount { color: #198754; font-weight: 600; }
.pay-total { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px solid #eef0f3; font-size: 17px; font-weight: 800; color: #111827; }
.setup-price-old { text-decoration: line-through; color: #9aa3af; font-size: 14px; }
.coupon-badge { background: #eaf7ee; color: #28a745; font-weight: 700; }
.coupon-msg.is-ok { color: #28a745; }
.coupon-msg.is-err { color: #dc2626; }

/* ===== Affiliate page: referrals + commissions lists ===== */
.aff-list-table { margin-bottom: 0; }
.aff-list-table td, .aff-list-table th { vertical-align: middle; }
.aff-muted { color: #8a93a2; font-size: 13px; }
.aff-empty { text-align: center; color: #8a93a2; padding: 22px; }
.aff-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; text-transform: capitalize; }
.aff-pending { background: #fef3e2; color: #b45309; }
.aff-claimed { background: #eaf7ee; color: #28a745; }
.aff-cancelled { background: #fde8e8; color: #dc2626; }

/* Affiliate: Your Commission box — first-order + renewals lines */
.aff-for { font-size: 12px; font-weight: 500; color: #8a93a2; }
.aff-v2 { margin-top: 4px; font-size: 16px; }

/* ===== Affiliate page: Refer&Earn / Earnings tabs ===== */
/* Segmented control (Daily/Monthly/Yearly jaisa) */
.aff-tabs { display: flex; width: fit-content; gap: 4px; margin-bottom: 16px; padding: 4px; background: #f1f5f9; border: 1px solid #cbd5e1; border-radius: 100px; box-shadow: none; }
.aff-tab { flex: 1 1 0; min-width: 130px; text-align: center; border: 0; border-radius: 100px; color: #64748b; font-weight: 700; font-size: 14px; padding: 8px 14px; background: transparent; text-decoration: none; transition: .15s; }
.aff-tab:hover { color: #0f172a; }
.aff-tab.active { color: #fff; background: var(--c-primary); box-shadow: none; }
/* Mobile: poori width, dono half */
@media (max-width: 768px) {
  .aff-tabs { width: 100%; }
  .aff-tab { min-width: 0; }
}

/* ===== Affiliate Program page (index.php style block se move — index + earnings dono share karte) ===== */
.aff-hero { background: linear-gradient(135deg,#f8fafc,#eef2ff); border:1px solid #e5e7eb; border-radius:6px; padding:26px 24px; margin-bottom:20px; box-shadow: rgb(0 0 0 / 20%) 2px 2px 3px; }
.aff-hero h2 { font-size:24px; font-weight:800; margin:0 0 6px; }
.aff-hero p { color:#5b6472; margin:0; max-width:640px; line-height:1.6; }
.aff-stats { display:flex; flex-wrap:wrap; gap:14px; margin-bottom:16px; }
.aff-stat { flex:1 1 200px; display:flex; align-items:center; gap:11px; background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:12px 14px; box-shadow: rgb(0 0 0 / 6%) 1px 1px 3px; }
.aff-stat-icon { flex:0 0 38px; width:38px; height:38px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:16px; }
.aff-stat-icon.ic-cyan { background:rgba(var(--c-primary-rgb),.12); color:var(--c-primary); }
.aff-stat-icon.ic-green { background:#e6f6ee; color:#16a34a; }
.aff-stat-icon.ic-amber { background:#fef3e2; color:#f59e0b; }
.aff-stat-icon.ic-gray { background:#eef0f3; color:#6b7280; }
.aff-stat .val { font-size:19px; font-weight:800; color:#111827; line-height:1; }
.aff-stat .val small { font-size:13px; font-weight:700; color:#6b7280; }
.aff-stat .lbl { font-size:11.5px; color:#8a93a2; margin-top:4px; }
#affiliateCoupon { font-size:20px; font-weight:800; letter-spacing:1px; text-align:center; }
.aff-code-row { display:flex; gap:10px; align-items:stretch; }
.aff-code-row .input-group { flex:1 1 auto; }
.aff-code-row > .btn { flex:0 0 auto; width:auto !important; white-space:nowrap; padding-left:24px; padding-right:24px; border-radius:6px; }
.aff-code-input { border:1px solid #d5dae1; border-radius:6px; background:#fff; align-items:center; flex-wrap:nowrap; }
.aff-code-input .form-control { border:0 !important; background:transparent; box-shadow:none !important; }
.aff-code-input .input-group-append { margin:0; }
.aff-code-input .input-group-append .btn { margin:4px; border-radius:6px; height:38px; min-width:42px; padding:0 12px; }
.aff-hint { font-size:13px; color:#6b7280; margin-top:8px; }
.aff-code-meta { display:flex; flex-wrap:wrap; gap:12px; }
@media (max-width:640px){ .aff-code-meta { flex-direction:column; } .aff-code-meta .aff-part { flex:0 0 auto; } }
.aff-part { flex:1 1 130px; min-width:0; background:#f8fafc; border:1px solid #eef0f3; border-radius:6px; padding:10px 14px; }
.aff-part-full { flex-basis:100%; }
.aff-part .k { font-size:11px; text-transform:uppercase; letter-spacing:.03em; color:#8a93a2; margin-bottom:2px; }
.aff-part .v { font-size:18px; font-weight:800; color:#111827; line-height:1; }
.aff-part .d { font-size:12px; color:#6b7280; margin-top:5px; line-height:1.4; }
.aff-steps { display:flex; flex-wrap:wrap; gap:14px; }
.aff-step { flex:1 1 260px; display:flex; gap:12px; align-items:flex-start; }
.aff-step .num { flex:0 0 34px; width:34px; height:34px; border-radius:50%; background:#eef2ff; color:#4f46e5; font-weight:800; display:flex; align-items:center; justify-content:center; }
.aff-step h5 { margin:0 0 3px; font-weight:700; font-size:15px; }
.aff-step p { margin:0; color:#6b7280; font-size:13px; line-height:1.5; }
@media (max-width:640px){ .aff-hero{padding:20px 16px;} }
.aff-partner { background:linear-gradient(135deg,#0f2027,#203a43,#2c5364); color:#fff; border-radius:6px; padding:24px; margin-bottom:20px; display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between; box-shadow: rgb(0 0 0 / 20%) 2px 2px 3px; }
.aff-partner h3 { margin:0 0 6px; font-size:20px; font-weight:800; }
.aff-partner p { margin:0; opacity:.85; font-size:13.5px; line-height:1.6; max-width:560px; }
.aff-partner-actions { display:flex; gap:10px; flex-wrap:wrap; }
.aff-partner .btn-wa, .aff-partner .btn-em { display:inline-flex; align-items:center; gap:8px; padding:10px 18px; border-radius:6px; font-weight:600; text-decoration:none; }
.aff-partner .btn-wa { background:#25D366; color:#fff; }
.aff-partner .btn-em { background:#fff; color:#203a43; }

/* Affiliate earnings: request payout button bar */
.aff-payout-bar { display: flex; justify-content: flex-start; margin-bottom: 16px; }
.aff-payout-bar .btn { width: auto; text-decoration: none; }
.aff-payout-bar .btn:hover, .aff-payout-bar .btn:focus { text-decoration: none; }

/* ===== Affiliate: partner special card (banner-gradient look) ===== */
.aff-card-partner { position: relative; overflow: visible; margin-top: 24px; background: linear-gradient(135deg,#0f2027,#203a43,#2c5364); color:#fff; border:0; box-shadow: rgb(0 0 0 / 25%) 2px 3px 8px; }
.aff-card-partner .lable-text, .aff-card-partner .form-label { color:#fff; }
.aff-card-partner .aff-part { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.16); }
.aff-card-partner .aff-part .k, .aff-card-partner .aff-for, .aff-card-partner .aff-part .d { color: rgba(255,255,255,.78); }
.aff-card-partner .aff-part .v { color:#fff; }
.aff-card-partner .aff-hint { color: rgba(255,255,255,.82); }
.aff-partner-badge { position:absolute; top:-13px; left:16px; background:#20424e; border:1px solid rgba(255,255,255,.22); color:#fff; font-size:11px; font-weight:800; letter-spacing:.04em; padding:5px 12px; border-radius:999px; z-index:2; box-shadow: rgb(0 0 0 / 25%) 0 2px 6px; }
.aff-partner-badge i { color:#ffd166; margin-right:3px; }
/* inputs partner card pe translucent (white box ajeeb lagta tha) */
.aff-card-partner .aff-code-input { background: rgba(0,0,0,.22); border-color: rgba(255,255,255,.28); }
.aff-card-partner .aff-code-input .form-control { color:#fff; }
.aff-card-partner .aff-code-input .form-control::placeholder { color: rgba(255,255,255,.6); }
.aff-card-partner .aff-code-input .input-group-append .btn { background: rgba(255,255,255,.18); border-color: transparent; color:#fff; }
.aff-card-partner .aff-code-input .input-group-append .btn:hover { background: rgba(255,255,255,.28); }
/* copy button partner pe commission-boxes wala translucent white */
.aff-card-partner .aff-code-row > .btn { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.20); font-weight:700; }
.aff-card-partner .aff-code-row > .btn:hover { background: rgba(255,255,255,.20); color:#fff; border-color: rgba(255,255,255,.30); }

/* Referral field auto-filled + locked (signup) */
.form-control.is-locked { background:#eef1f5; cursor:not-allowed; color:#5b6472; }

/* Order page: referral first-order discount banner */
.ref-banner { display:flex; align-items:center; gap:10px; background:linear-gradient(135deg,#e6f6ee,#eafff3); border:1px solid #bfe6cf; border-left:4px solid #28a745; color:#1c6b3a; border-radius:8px; padding:12px 16px; margin-bottom:16px; font-size:14px; line-height:1.5; }
.ref-banner i { color:#28a745; font-size:20px; flex:0 0 auto; }
.ref-banner strong { color:#177a3e; }

/* Promo coupon popover (Have a coupon? — chhota dialog link ke saath) */
/* overflow:visible chahiye (popover bahar nikle) — par isse head ka bg rounded corner se clip nahi hota,
   is liye head ko apna top radius do warna top ke dono kono pe border toota dikhta hai. */
.order-part-pay { overflow: visible; }
.order-part-pay .order-part-head { border-top-left-radius: 10px; border-top-right-radius: 10px; }
.promo-line { display: flex; align-items: center; justify-content: flex-end; }
.promo-applied { margin-right: auto; font-weight: 700; font-size: 13px; color: #198754; }
.promo-applied i { margin-right: 4px; }

/* btn anchors pe underline na aaye (Pay Now etc.) */
a.btn, a.btn:hover, a.btn:focus { text-decoration: none; }
.promo-wrap { position: relative; display: inline-block; }
.promo-pop { position: absolute; top: calc(100% + 8px); right: 0; width: 300px; max-width: 84vw; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: rgb(0 0 0 / 12%) 0 6px 20px; padding: 12px; z-index: 30; }
.promo-pop:before { content: ""; position: absolute; top: -6px; right: 18px; width: 11px; height: 11px; background: #fff; border-left: 1px solid #e5e7eb; border-top: 1px solid #e5e7eb; transform: rotate(45deg); }

/* ===== Legal / Terms page ===== */
.legal-doc { color: #374151; font-size: 14px; line-height: 1.7; }
.legal-head { text-align: center; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid #eef0f3; }
.legal-head h3 { font-weight: 800; color: #0f172a; margin: 0 0 8px; }
.legal-sub { color: #64748b; font-size: 13.5px; max-width: 560px; margin: 0 auto 12px; }
.legal-updated { display: inline-block; font-size: 12px; font-weight: 600; color: #00758a; background: rgba(var(--c-primary-rgb),.10); border-radius: 999px; padding: 4px 12px; }
.legal-sec { padding: 16px 0; border-bottom: 1px dashed #eef0f3; }
.legal-sec:last-child { border-bottom: 0; }
.legal-sec h5 { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: #0f172a; margin: 0 0 8px; }
.legal-num { flex: 0 0 21px; width: 21px; height: 21px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #eef1f4; color: #64748b; font-size: 11px; font-weight: 700; }
.legal-sec p { margin: 0 0 6px; }
.legal-sec ul { margin: 6px 0 0; padding-left: 18px; }
.legal-sec ul li { margin-bottom: 5px; }
.legal-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eef0f3; font-size: 13px; color: #64748b; text-align: center; }
.legal-part { margin: 26px 0 6px; padding: 8px 14px; background: rgba(var(--c-primary-rgb),.08); border-left: 3px solid var(--c-primary); border-radius: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #00758a; }
.legal-intro-note { background: #fbfcfd; border: 1px solid #eef0f3; border-radius: 8px; padding: 12px 14px; font-size: 13px; color: #475569; margin-bottom: 6px; }
.legal-contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.legal-contact { display: flex; align-items: center; gap: 10px; text-decoration: none; border: 1px solid #e5e7eb; border-radius: 8px; padding: 9px 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.legal-contact:hover { text-decoration: none; border-color: #cfd6de; box-shadow: rgb(0 0 0 / 6%) 1px 1px 4px; }
.legal-contact-ic { flex: 0 0 34px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 16px; }
.legal-contact-ic.ic-mail { background: rgba(var(--c-primary-rgb),.12); color: var(--c-primary); }
.legal-contact-ic.ic-wa { background: rgba(37,211,102,.14); color: #1faf52; }
.legal-contact-k { display: block; font-size: 11px; color: #8a93a2; font-weight: 600; }
.legal-contact-v { display: block; font-size: 14px; font-weight: 700; color: #0f172a; }

/* ===== Updates / Changelog ===== */
.upd-head { text-align: center; margin-bottom: 18px; }
.upd-head h3 { font-weight: 800; color: #0f172a; margin: 0 0 4px; }
.upd-head p { color: #64748b; font-size: 13.5px; margin: 0; }
.upd-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.upd-tools input[type="search"] { flex: 1 1 240px; }
.upd-tools select { flex: 0 0 auto; width: auto; }
.upd-list { display: flex; flex-direction: column; gap: 12px; }
.upd-item { overflow: hidden; }
.upd-summary { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; padding: 14px 16px; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
.upd-summary:focus, .upd-summary:active { outline: none; box-shadow: none; }
.upd-badge { font-weight: 700; font-size: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(var(--c-primary-rgb),.12); color: #00758a; }
.upd-date { color: #8a93a2; font-size: 12.5px; display: flex; align-items: center; gap: 5px; }
.upd-caret { margin-left: auto; color: #94a3b8; transition: transform .2s; }
.upd-item.is-open .upd-caret { transform: rotate(180deg); }
.upd-body { display: none; padding: 0 16px 16px; color: #374151; font-size: 14px; line-height: 1.7; }
.upd-item.is-open .upd-body { display: block; padding-top: 14px; border-top: 1px solid #eef0f3; }
.upd-body h1, .upd-body h2, .upd-body h3, .upd-body h4 { font-size: 15.5px; font-weight: 700; color: #0f172a; margin: 12px 0 6px; }
.upd-body h1:first-child, .upd-body h2:first-child, .upd-body h3:first-child { margin-top: 0; }
.upd-body p { margin: 0 0 8px; }
.upd-body ul, .upd-body ol { padding-left: 20px; margin: 6px 0; }
.upd-body ul li, .upd-body ol li { margin-bottom: 4px; }
.upd-body img { max-width: 100%; border-radius: 6px; }
.upd-pag { margin-top: 16px; display: flex; justify-content: center; }
.upd-empty { text-align: center; color: #8a93a2; padding: 50px 0; }

/* ===== Features page ===== */
.feat-wrap { max-width: 1040px; margin: 0 auto; padding: 24px 0 10px; }
.feat-head { text-align: center; margin-bottom: 20px; }
.feat-badge { display: inline-block; font-weight: 700; font-size: 12px; color: #00758a; background: rgba(var(--c-primary-rgb),.10); border: 1px solid rgba(var(--c-primary-rgb),.20); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.feat-head h3 { font-weight: 800; font-size: 26px; color: #0f172a; margin: 0 0 6px; letter-spacing: -.01em; }
.feat-head p { color: #64748b; font-size: 14px; max-width: 600px; margin: 0 auto; }
.feat-group { margin-top: 26px; }
.feat-group-title { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; color: #0f172a; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid #eef0f3; }
.feat-group-title .fe { color: var(--c-primary); font-size: 18px; }
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.feat-card:hover { border-color: #cfe9ef; box-shadow: rgb(0 0 0 / 6%) 1px 2px 8px; }
.feat-ic { flex: 0 0 38px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: rgba(var(--c-primary-rgb),.10); color: var(--c-primary); font-size: 17px; }
.feat-card h4 { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; color: #0f172a; }
.feat-card p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.55; }


/* =========================================================
   USER SIDEBAR (usb-) — admin drawer jaisa, user cyan brand
   ========================================================= */
:root{
  --usb-head-a:#028090;
  --usb-head-b:var(--c-primary);
  --usb-primary:var(--c-primary);
  --usb-accent:#036672;
  --usb-card:#ffffff;
  --usb-ink:#0f172a;
  --usb-ink2:#3c4250;
  --usb-muted:#94a3b8;
  --usb-hover:#f4f7f9;
  --usb-divider:#eceef3;
  --usb-proc-bg:#e6f7fb;
  --usb-soft-ink:#5b6472;
  --usb-danger:#e5484d;
}

/* ===== Top bar ===== */
.usb-topbar{
  position:sticky;top:0;z-index:1000;
  background:var(--usb-primary);
  padding:10px 40px;display:flex;align-items:center;gap:14px;
  box-shadow:0 2px 10px rgba(var(--c-primary-rgb),.20);
}
@media(max-width:768px){ .usb-topbar{ padding:10px 14px; } }

.usb-iconbtn{
  width:38px;height:38px;border:none;background:rgba(255,255,255,.16);
  border-radius:6px;color:#fff;display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;flex:0 0 auto;position:relative;text-decoration:none;
}
.usb-iconbtn:hover{ color:#fff; text-decoration:none; }
.usb-iconbtn i{font-size:17px;line-height:1}
.usb-iconbtn:hover{background:rgba(255,255,255,.28)}
.usb-menu{width:44px}

.usb-brand{display:inline-flex;align-items:center;text-decoration:none}
.usb-brand .usb-brand-txt{
  font-family:"Baloo 2","Source Sans Pro",sans-serif;
  font-size:21px;font-weight:800;line-height:1;letter-spacing:.01em;
  color:#fff;                         /* sab letters full white, bold */
}
.usb-brand .usb-brand-txt b{ font-weight:800;color:#fff; }
/* har refresh par letters ek ek kar ke nmayan (JS per-letter spans banata) */
.usb-brand-txt .ltr{
  display:inline-block;color:#fff;
  opacity:0;transform:translateY(3px);
  animation:usbLtr .45s cubic-bezier(.2,.7,.3,1) forwards;
}
.usb-brand-txt .ltr.strong{color:#fff;font-weight:800}
@keyframes usbLtr{ to{ opacity:1;transform:none; } }
@media (prefers-reduced-motion:reduce){ .usb-brand-txt .ltr{opacity:1;transform:none;animation:none} }

/* balance pill + funds + account pushed right */
.usb-right{margin-left:auto;display:flex;align-items:center;gap:10px}

/* guest topbar: Login (ghost) + Sign Up (solid) */
.usb-guest-links{gap:8px}
.usb-guest-login,.usb-guest-signup{
  display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:6px;
  font-weight:700;font-size:14px;text-decoration:none;transition:background .12s ease;
}
.usb-guest-login{color:#fff;background:rgba(255,255,255,.14)}
.usb-guest-login:hover{background:rgba(255,255,255,.24);color:#fff}
.usb-guest-signup{color:#0f1e24;background:#fff}
.usb-guest-signup:hover{background:#eef4f6;color:#0f1e24}
.usb-balance{
  display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px;
  background:rgba(255,255,255,.16);border-radius:6px;color:#fff;font-weight:700;font-size:14px;
  text-decoration:none;cursor:pointer;
}
.usb-balance:hover{ background:rgba(255,255,255,.26); color:#fff; }
.usb-balance i{ font-size:14px; opacity:.9; }

/* guest auth buttons */
.usb-authbtn{
  display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 16px;border-radius:6px;
  font-weight:700;font-size:14px;text-decoration:none;
}
.usb-authbtn.login{background:#fff;color:var(--usb-accent)}
.usb-authbtn.login:hover{background:#eafcff;color:var(--usb-accent)}

/* currency selector (sidebar head, admin jaisa) */
.usb-controls{display:flex;gap:8px;margin-top:14px}
.usb-cur{flex:1;position:relative}
.usb-cur-trigger{
  display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;
  background:rgba(255,255,255,.16);border-radius:6px;color:#fff !important;
  font-size:13px;font-weight:700;text-decoration:none !important;width:100%;
}
.usb-cur-trigger:hover{background:rgba(255,255,255,.26)}
.usb-cur-trigger .usb-caret{margin-left:auto;font-size:11px}

.usb-cur .dropdown-menu,
.usb-settings .dropdown-menu{
  border:1px solid var(--usb-divider);border-radius:10px;padding:6px;min-width:210px;
  box-shadow:0 12px 28px rgba(20,24,40,.16);background:var(--usb-card);
}
.usb-cur .dropdown-menu a,
.usb-settings .dropdown-menu .dropdown-item{
  display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:7px;
  font-size:13.5px;color:var(--usb-ink2);text-decoration:none;
}
.usb-settings .dropdown-menu .dropdown-item i{width:16px;text-align:center}
.usb-cur .dropdown-menu a:hover,
.usb-settings .dropdown-menu .dropdown-item:hover{background:var(--usb-hover);color:var(--usb-primary)}
.usb-cur .dropdown-menu a.active{background:var(--usb-proc-bg);color:var(--usb-primary)}
.usb-settings .dropdown-menu .dropdown-divider{margin:5px 2px;border-top:1px solid var(--usb-divider)}
.usb-settings .dropdown-menu .usb-logout-item{color:var(--usb-danger)}
.usb-settings .dropdown-menu .usb-logout-item:hover{background:rgba(229,72,77,.1);color:var(--usb-danger)}

/* ===== Overlay + Sidebar ===== */
.usb-overlay{position:fixed;inset:0;background:rgba(15,18,30,.45);opacity:0;visibility:hidden;transition:.2s;z-index:1090}
.usb-overlay.show{opacity:1;visibility:visible}

.usb-sidebar{
  position:fixed;top:0;left:0;transform:translateX(-100%);
  width:274px;max-width:85vw;height:100%;background:var(--usb-card);
  z-index:1100;display:flex;flex-direction:column;
  transition:transform .24s ease;box-shadow:6px 0 30px rgba(20,24,40,.22);
}
.usb-sidebar.show{transform:none}

.usb-side-head{position:relative;background:var(--usb-primary);padding:16px 14px;color:#fff}
.usb-close{
  position:absolute;top:12px;right:12px;width:30px;height:30px;border:none;border-radius:8px;
  background:rgba(255,255,255,.18);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2;
}
.usb-close i{font-size:16px}
.usb-close:hover{background:rgba(255,255,255,.28)}

/* ===== Nav ===== */
.usb-nav{padding:8px;flex:1;overflow-y:auto}
.usb-nav-item{
  display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:9px;
  color:var(--usb-ink2);text-decoration:none;font-size:13.5px;font-weight:600;
}
.usb-nav-item:hover{background:var(--usb-hover);color:var(--usb-ink2)}
.usb-nav-item.active{background:var(--usb-proc-bg);color:var(--usb-primary)}
.usb-nav-item i.usb-lead{width:18px;text-align:center;font-size:15px;color:var(--usb-muted);flex:0 0 auto}
.usb-nav-item.active i.usb-lead{color:var(--usb-primary)}
.usb-nav-item .badge{margin-left:auto}
/* unpaid invoices count pill — right aligned, red (needs action) */
.usb-nav-item .usb-count{margin-left:-4px;min-width:19px;height:19px;padding:0 6px;border-radius:100px;background:#e5484d;color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.usb-nav-item .usb-count.is-zero{background:#e3e9ec;color:#7c8b91}
.usb-nav-item.usb-nav-logout, .usb-nav-item.usb-nav-logout i.usb-lead{color:var(--usb-danger)}
.usb-nav-item.usb-nav-logout:hover{background:rgba(229,72,77,.1);color:var(--usb-danger)}
.usb-nav-sep{height:1px;background:var(--usb-divider);margin:8px 10px}

/* ===== Demo page (two cards) ===== */
.demo-wrap{max-width:920px;margin:40px auto 60px;padding:0 20px}
.demo-head{text-align:center;max-width:620px;margin:0 auto 34px}
.demo-eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#028090;background:#e6f7fb;padding:5px 12px;border-radius:100px}
.demo-head h1{margin:16px 0 0;font-size:30px;font-weight:800;color:#0f172a;line-height:1.2}
.demo-head p{margin-top:12px;color:#64748b;font-size:16px;line-height:1.6}
.demo-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media(max-width:680px){ .demo-grid{grid-template-columns:1fr} }
.demo-card{
  background:#fff;border:1px solid #e5e9ee;border-radius:12px;padding:30px 26px;text-align:center;
  display:flex;flex-direction:column;align-items:center;transition:border-color .15s, box-shadow .15s;
}
.demo-card:hover{border-color:#bfe9f1;box-shadow:0 8px 24px -14px rgba(var(--c-primary-rgb),.4)}
.demo-ic{width:56px;height:56px;border-radius:14px;background:#e6f7fb;color:var(--c-primary);display:grid;place-items:center;font-size:24px;margin-bottom:16px}
.demo-card h3{margin:0;font-size:20px;font-weight:700;color:#0f172a}
.demo-card p{margin:10px 0 22px;color:#64748b;font-size:14.5px;line-height:1.6}
.demo-btn{
  margin-top:auto;display:inline-flex;align-items:center;gap:8px;
  background:var(--c-primary);color:#fff;font-weight:700;font-size:14.5px;
  padding:11px 22px;border-radius:6px;text-decoration:none;transition:.15s;
}
.demo-btn:hover{background:var(--c-primary-dark);color:#fff}

/* ===== Login/Signup card (tabs in card head, google top, divider, labeled fields) ===== */
/* header ke sath chipakne se bachao — note-block hatne ke baad top gap chala gaya tha */
.login-card{overflow:hidden;margin-top:30px}
.auth-head{padding:9px 14px;border-bottom:1px solid #e5e9ee}
.auth-tabs{display:flex;gap:5px;background:#f1f5f9;border-radius:100px;padding:4px;margin:0}
.auth-tabs a{flex:1;text-align:center;padding:7px 10px;border-radius:100px;font-weight:700;font-size:14px;color:#64748b;text-decoration:none;transition:.15s}
.auth-tabs a:hover{color:#0f172a}
.auth-tabs a.active{background:var(--c-primary);color:#fff}
.auth-tabs a.active:hover{color:#fff}
/* custom Google button (submit jaisa) + asli GSI button invisible overlay upar */
.login-google{width:100%}
.login-google .gbtn{
  width:100%;height:48px;display:flex;align-items:center;justify-content:center;gap:10px;
  background:#fff;border:1px solid #d5dae1;border-radius:8px;
  font-weight:600;font-size:14.5px;color:#334155;cursor:pointer;text-decoration:none;
}
.login-google .gbtn:hover{background:#f8fafc;color:#334155;text-decoration:none}
.login-google-error{
  background:#fdecea;border:1px solid #f5c6c2;color:#b23b32;
  font-size:13px;border-radius:8px;padding:9px 12px;margin-bottom:14px;
}
.login-or{display:flex;align-items:center;text-align:center;color:#94a3b8;font-size:13px;margin:18px 0}
.login-or::before,.login-or::after{content:"";flex:1;height:1px;background:#e5e9ee}
.login-or span{padding:0 12px}
.login-field{margin-bottom:16px}
.login-field label{display:block;font-size:13.5px;font-weight:600;color:#334155;margin-bottom:7px}
.login-field .form-control{width:100%;height:46px;border:1px solid #d5dae1;border-radius:8px;padding:0 14px;font-size:14.5px;color:#0f172a}
.login-field .form-control:focus{border-color:var(--c-primary);box-shadow:0 0 0 3px rgba(var(--c-primary-rgb),.12);outline:none}
.login-terms{display:flex;align-items:flex-start;gap:9px;font-size:13.5px;color:#475569;margin:2px 0 18px;cursor:pointer;line-height:1.5}
.login-terms input{width:16px;height:16px;margin-top:2px;accent-color:var(--c-primary);flex:0 0 auto}
.login-terms a{color:var(--c-primary);font-weight:600;text-decoration:none}
.login-submit{width:100%;height:48px;background:var(--c-primary);color:#fff;border:none;border-radius:8px;font-weight:700;font-size:15px;cursor:pointer;transition:background .15s}
.login-submit:hover{background:var(--c-primary-dark)}
.login-forgot{text-align:center;margin-top:16px}
.login-forgot a{color:var(--c-primary);font-weight:600;font-size:14px;text-decoration:none}
.login-signup-out{display:block;width:100%;text-align:center;margin:20px 0 40px;color:#64748b;font-size:14.5px}
.login-signup-out a{color:var(--c-primary);font-weight:500;text-decoration:none}
.login-signup-out a:hover{text-decoration:none;color:var(--c-primary-dark)}

/* focus */
.usb-topbar button,.usb-close,.usb-nav-item,.usb-balance,.usb-funds{outline:none;-webkit-tap-highlight-color:transparent}
.usb-topbar button:focus-visible,.usb-close:focus-visible,.usb-nav-item:focus-visible{outline:2px solid #fff;outline-offset:2px}


/* ===================================================================
   Unified user-side buttons — login-button (.login-submit) jaisa.
   2 variants: normal (auto-width, default) + full-width (.btn-block).
   =================================================================== */
.btn{
  height:46px; padding:0 22px; border-radius:8px;
  font-size:14.5px; font-weight:600; line-height:1;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
}
.btn.btn-sm{ height:36px; padding:0 14px; font-size:13px; border-radius:6px; }   /* chhote buttons */
.btn.btn-link{ height:auto; padding:0; border:none; }                            /* text links (Resend etc.) */
.btn.btn-block{ display:flex; width:100%; }                                      /* FULL-WIDTH variant */

/* primary = login jaisa cyan */
.btn-primary, .btn-prim, .btn-submit{ background:var(--c-primary); border-color:var(--c-primary); color:#fff; }
.btn-primary:hover, .btn-primary:focus,
.btn-prim:hover,    .btn-prim:focus,
.btn-submit:hover,  .btn-submit:focus{ background:var(--c-primary-dark); border-color:var(--c-primary-dark); color:#fff; }


/* Terms of Service link (order/child checkbox) — no underline */
.custom-control-label a { text-decoration:none; }
.custom-control-label a:hover { text-decoration:none; }

/* ===== Pagination — SMM-style circle buttons (app USER side, cyan var(--c-primary)) ===== */
.idg-pagination {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.idg-pagination li { margin: 0; list-style: none; }
.idg-pagination li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    border: 1px solid #cbe9f0;
    border-radius: 30px;
    background: #fff;
    color: #00849c;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.idg-pagination li a:hover { background: rgba(var(--c-primary-rgb),.09); border-color: #7fd4e2; }
.idg-pagination li.active a { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
/* Pagination hamesha center — wrapper chahe .float-right / justify-content-end ho */
:has(> .idg-pagination) { display: flex !important; justify-content: center !important; float: none !important; width: auto !important; }


/* Logged-in topbar ka logo text sirf PC pe — mobile pe balance/affiliate ke saath crowd na ho */
@media (max-width: 768px) {
  .usb-brand-desktop { display: none !important; }
}

/* Smart App (PWA) install banner — fixed bottom pill */
#pwa-install-bar {
  position: fixed;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #1c2e45;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16,42,74,.14);
  font-size: 14px;
  max-width: 92%;
}
#pwa-install-bar .pwa-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#pwa-install-bar .pwa-name { font-weight: 700; font-size: 14px; }
#pwa-install-bar .pwa-desc { font-weight: 400; font-size: 12px; opacity: .8; line-height: 1.35; }
#pwa-install-bar .pwa-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #fff;
}
@media (min-width: 769px) {
  #pwa-install-bar { min-width: 440px; }
}
#pwa-install-btn {
  background: var(--c-primary);
  color: #fff;
  border: 0;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}
#pwa-install-btn:hover { background: #0097b3; }
#pwa-install-close {
  background: transparent;
  border: 0;
  color: #9aa6b6;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
#pwa-install-close:hover { color: #1c2e45; }

/* Order Mother/Child pills — white container (page bg se alag dikhe) */
.aff-tabs.order-pills { background: #fff; }


/* Chat float buttons (WhatsApp/Telegram via integrations) — edge se 20px offset */
.chat-float-left  { left: 20px; }
.chat-float-right { right: 20px; }

/* PWA install banner — mobile pe full width (edge se chhota gap) */
@media (max-width: 600px) {
  #pwa-install-bar { left: 10px; right: 10px; top: 12px; transform: none; max-width: none; width: auto; }
}

/* Dashboard content bade PC screens pe bahut wide na ho — core.css ki .container (max-width:96%)
   ko bade screens pe px cap. Choti/laptop screens 96% par hi (unaffected). */
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}

/* ============================================================
   Doc pages (FAQ / Terms / Privacy) + footer links
   ============================================================ */
.doc-page{ max-width:820px; margin:0 auto; padding:36px 0 56px; }
.doc-head{ margin-bottom:28px; }
.doc-head h1{ font-size:30px; font-weight:800; color:#0f1e24; margin:0 0 8px; }
.doc-head p{ font-size:14px; color:#7c8b91; margin:0; }
.doc-empty{ background:#fff; border:1px solid #e7edef; border-radius:12px; padding:28px; text-align:center; color:#7c8b91; }

.doc-body{ background:#fff; border:1px solid #e7edef; border-radius:14px; padding:28px 30px; }
.doc-body h2{ font-size:18px; font-weight:700; color:#0f1e24; margin:24px 0 8px; }
.doc-body h2:first-child{ margin-top:0; }
.doc-body p{ font-size:15px; line-height:1.65; color:#4a5860; margin:0 0 12px; }

/* FAQ accordion (native <details>) */
.faq-list{ display:flex; flex-direction:column; gap:10px; }
.faq-item{ background:#fff; border:1px solid #e7edef; border-radius:12px; overflow:hidden; }
.faq-q{
  display:flex; align-items:center; justify-content:space-between; gap:14px; cursor:pointer;
  list-style:none; padding:18px 20px; font-size:15.5px; font-weight:600; color:#0f1e24;
}
.faq-q::-webkit-details-marker{ display:none; }
.faq-caret{ color:#9fb6bd; font-size:13px; transition:transform .18s ease; flex:0 0 auto; }
.faq-item[open] .faq-caret{ transform:rotate(180deg); }
.faq-item[open] .faq-q{ color:var(--c-primary); }
.faq-a{ padding:0 20px 18px; font-size:14.5px; line-height:1.6; color:#4a5860; }

/* footer links row */
.footer-links{ display:flex; gap:22px; justify-content:center; flex-wrap:wrap; margin-bottom:10px; }
.footer-links a{ color:#5a6b72; font-size:13.5px; text-decoration:none; }
.footer-links a:hover{ color:var(--c-primary); }

/* footer "powered by" — chota subtle vendor mention */
.footer-powered{ text-align:center; margin-top:6px; font-size:12px; color:#9aa7ac; }
.footer-powered a{ color:#7c8b91; text-decoration:none; font-weight:600; }
.footer-powered a:hover{ color:var(--c-primary); }
