.header-section {
    padding: 0 20px;
    background: #0db0cb;
}

.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: #00a2bd; 
    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: #00a2bd;
    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: #0db0cb;
        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: #00a2bd;
    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:12px 16px; 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:#03636f; background:rgba(0,175,204,.12);
  border:1px solid rgba(0,175,204,.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:#03636f;
  padding:6px 10px; border-radius:999px;
  background:rgba(0,175,204,.12); border:1px solid rgba(0,175,204,.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:6px; border-top-right-radius:6px; }












.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: #00afcc;
  --ord-ink: #0f172a;
  --ord-muted: #64748b;
  --ord-line: #e2e8f0;
  --ord-soft: #f5fdff;
  --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 var(--ord-line);
  border-radius: 14px;
  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)
   ================================ */
.stat-mini {
  display: flex;
  align-items: center;
  gap: 10px;

  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;

  padding: 8px 10px;
  min-height: 48px;
}


@media (max-width: 575.98px) {
  .stat-mini {
    margin-bottom: 10px;
  }
}

.stat-left {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  font-size: 14px;

  color: #036672;
  background: #eef6ff;
}

/* --- Variants --- */
.stat-mini.is-balance .stat-left {
  background: #f0fff9;
  color: #047857;
}

.stat-mini.is-deposit .stat-left {
  background: #f1f5ff;
  color: #1d4ed8;
}

.stat-right {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.stat-value {
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
}

.stat-label {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.stat-mini .stat-value {
  font-size: 15px;
}



.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: #00afcc;
  --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: #e6fbff;
  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: #00afcc;
    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: #00afcc;
      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;
}

/* 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: #00afcc;
  --ink: #0f172a;
  --muted: #475569;
  --ring: rgba(0, 175, 204, .25);
  --header-h: 72px;

  color: var(--ink);
  background: linear-gradient(180deg, #f4feff 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(0, 175, 204, .25), rgba(0, 175, 204, 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(0, 175, 204, .08);
  border: 1px solid rgba(0, 175, 204, .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: #e6fbff;
  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: #00afcc;
      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; }