﻿/* =====================================================================
   Avya Travel - portal pages (sign in, password reset, agent wallet,
   top up, wallet pay) + the account bar used in every site header.
   Open Sans · navy #1E2A3A · turquoise #B5462E · text-safe teal #963A24
   ===================================================================== */
:root {
    --pv-navy: #1E2A3A;
    --pv-ink: #2A3647;
    --pv-muted: #6B625A;
    --pv-line: #EDE4D9;
    --pv-page: #FAF6F0;
    --pv-turq: #B5462E;
    --pv-teal: #963A24;
    --pv-teal-dark: #7e3120;
    --pv-gold: #E8A33D;
    --pv-field: #F3DCCB;
    --pv-font: "Open Sans", "Segoe UI", system-ui, sans-serif;
}

/* ---------- account bar (also loaded on Index.aspx / Site.Master) ---------- */
.av-acct { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--pv-font); }
.av-acct__wallet {
    display: flex; flex-direction: column; line-height: 1.15; padding: 6px 14px; border-radius: 12px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff !important; text-decoration: none !important;
}
.av-acct__wl { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F2C27A; }
.av-acct__wv { font-size: 17px; font-weight: 800; color: #fff; }
.av-acct__rate { font-size: 11px; font-weight: 600; color: #ddd2c6; }
.av-acct__topup {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px;
    background: var(--pv-gold); color: var(--pv-navy) !important; font-weight: 800; font-size: 14px; text-decoration: none !important;
}
.av-acct__topup:hover { background: #D18F2B; }
.av-acct__menu { position: relative; }
.av-acct__menu > summary {
    list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 4px; border-radius: 10px;
    color: #fff; font-weight: 600; font-size: 15px; cursor: pointer;
}
.av-acct__menu > summary::-webkit-details-marker { display: none; }
.av-acct__menu > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 4px; }
.av-acct__avatar {
    width: 34px; height: 34px; border-radius: 50%; background: var(--pv-teal); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
}
.av-acct__name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-acct__drop {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 200px; padding: 6px;
    background: #fff; border-radius: 12px; box-shadow: 0 18px 44px rgba(30,42,58,.22); display: flex; flex-direction: column;
}
.av-acct__drop a { padding: 10px 12px; border-radius: 8px; color: var(--pv-ink) !important; font-weight: 600; font-size: 14px; text-decoration: none !important; text-align: left; }
.av-acct__drop a:hover { background: #FBF1EA; color: var(--pv-teal) !important; }
.av-acct-signin {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px;
    border: 1.5px solid var(--pv-gold); color: var(--pv-gold) !important; font-weight: 700; text-decoration: none !important;
}
.av-acct-signin:hover { background: rgba(232,163,61,.12); }

/* slot in the existing site header (Index.aspx / Site.Master) */
.av2-acctbar { display: flex; align-items: center; margin-left: 12px; }
@media (max-width: 767px) { .av2-acctbar { margin-left: 0; } }

/* ---------- portal page shell ---------- */
body.pv { margin: 0; font-family: var(--pv-font); color: var(--pv-ink); background: var(--pv-page); }
.pv a { color: var(--pv-teal); }
.pv a:hover { color: var(--pv-teal-dark); }
.pv-top { background: var(--pv-navy); color: #fff; }
.pv-top__in { max-width: 1240px; margin: 0 auto; padding: 12px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.pv-top__brand img { height: 34px; width: auto; display: block; }
.pv-top__nav { display: flex; flex-wrap: wrap; gap: 4px; }
.pv-top__nav a { padding: 10px 12px; border-radius: 8px; color: #EADFD2; font-weight: 600; font-size: 15px; text-decoration: none; }
.pv-top__nav a:hover, .pv-top__nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.pv-top__acct { margin-left: auto; }
.pv-main { max-width: 1240px; margin: 0 auto; padding: 36px 32px 64px; box-sizing: border-box; }
.pv-main--narrow { max-width: 520px; padding-top: 48px; }
.pv-foot { max-width: 1240px; margin: 0 auto; padding: 0 32px 32px; font-size: 13px; color: var(--pv-muted); }

.pv-h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--pv-navy); }
.pv-h1 em { font-style: italic; color: var(--pv-turq); }
.pv-lead { margin: 8px 0 28px; font-size: 16px; line-height: 1.55; color: var(--pv-muted); }
.pv-back { display: inline-block; margin-bottom: 8px; font-size: 14px; font-weight: 700; text-decoration: none; }
.pv-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pv-teal); }

.pv-card { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(30,42,58,.07); }
.pv-card--accent { border-top: 5px solid var(--pv-turq); box-shadow: 0 18px 44px rgba(30,42,58,.12); }
.pv-card__pad { padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.pv-card__h { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--pv-navy); }
.pv-card__head { padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--pv-line); }
.pv-card__head h2 { margin: 0 auto 0 0; font-size: 20px; font-weight: 800; color: var(--pv-navy); }

.pv-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--pv-ink); }
.pv-field__row { display: flex; justify-content: space-between; align-items: baseline; }
.pv-input, .pv-select {
    min-height: 48px; padding: 0 14px; border: 1.5px solid var(--pv-field); border-radius: 10px; background: #fff;
    font: 600 16px var(--pv-font); color: var(--pv-ink); box-sizing: border-box; width: 100%;
}
.pv-input:focus, .pv-select:focus { outline: none; border-color: var(--pv-turq); box-shadow: 0 0 0 3px rgba(181,70,46,.18); }
.pv-input--sm, .pv-select--sm { min-height: 40px; font-size: 14px; border-color: var(--pv-line); }
textarea.pv-input { padding: 12px 14px; min-height: 90px; resize: vertical; }
.pv-help { margin: 0; font-size: 13px; line-height: 1.5; font-weight: 400; color: var(--pv-muted); }
.pv-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }

.pv-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 12px;
    background: var(--pv-teal); color: #fff !important; font: 800 16px var(--pv-font); text-decoration: none !important; cursor: pointer;
}
.pv-btn:hover { background: var(--pv-teal-dark); }
.pv-btn:focus-visible, .pv-btn-ghost:focus-visible { outline: 3px solid var(--pv-navy); outline-offset: 2px; }
.pv-btn--block { width: 100%; }
.pv-btn--gold { background: var(--pv-gold); color: var(--pv-navy) !important; }
.pv-btn--gold:hover { background: #D18F2B; }
.pv-btn--danger { background: #fff; color: #A3213F !important; border: 1.5px solid #A3213F; }
.pv-btn--danger:hover { background: #FBE7EC; }
.pv-btn[disabled] { opacity: .55; cursor: not-allowed; }
.pv-btn-ghost {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--pv-teal); border-radius: 8px;
    background: #fff; color: var(--pv-teal) !important; font: 700 14px var(--pv-font); text-decoration: none !important; cursor: pointer;
}

.pv-msg { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.pv-msg--error { background: #FBE7EC; color: #A3213F; }
.pv-msg--ok { background: #F8E9E0; color: #72291A; }
.pv-msg--info { background: #FBF3E2; color: #6B4510; }

.pv-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pv-badge--pending { background: #FBF3E2; color: #6B4510; }
.pv-badge--approved, .pv-badge--in { background: #F8E9E0; color: #82311E; }
.pv-badge--rejected { background: #FBE7EC; color: #A3213F; }
.pv-badge--out { background: #f1eae1; color: var(--pv-ink); }
.pv-badge--adj { background: #F1EEF8; color: #4F3F86; }

/* balance cards */
.pv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.pv-stat { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.pv-stat h2 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pv-muted); }
.pv-stat__v { margin: 0; font-size: 28px; font-weight: 800; color: var(--pv-navy); }
.pv-stat__s { margin: 0; font-size: 14px; color: var(--pv-muted); }
.pv-stat--hero { background: linear-gradient(135deg, #B5462E 0%, #A3402A 100%); color: #fff; border-radius: 16px; box-shadow: 0 24px 54px rgba(150,58,36,.28); }
.pv-stat--hero h2, .pv-stat--hero .pv-stat__s { color: #f8ece3; }
.pv-stat--hero .pv-stat__v { color: #fff; font-size: 34px; }

/* tables */
.pv-tablewrap { overflow-x: auto; }
.pv-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.pv-table th { padding: 12px; background: var(--pv-page); text-align: left; color: var(--pv-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pv-table td { padding: 13px 12px; border-top: 1px solid #F5EEE5; vertical-align: top; }
.pv-table th:first-child, .pv-table td:first-child { padding-left: 24px; }
.pv-table th:last-child, .pv-table td:last-child { padding-right: 24px; }
.pv-num { text-align: right !important; white-space: nowrap; }
.pv-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.pv-amt-in { color: #82311E; font-weight: 800; }
.pv-amt-out { color: var(--pv-ink); font-weight: 800; }
.pv-sub { display: block; font-size: 13px; color: var(--pv-muted); }
.pv-empty { padding: 28px 24px; color: var(--pv-muted); font-size: 15px; }

/* top-up page */
.pv-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; align-items: start; }
.pv-bank { background: var(--pv-navy); color: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.pv-bank .pv-eyebrow { color: var(--pv-gold); }
.pv-bank h2 { margin: -10px 0 0; font-size: 24px; font-weight: 800; }
.pv-bank dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; font-size: 15px; }
.pv-bank dt { color: #cbbeb0; }
.pv-bank dd { margin: 0; font-weight: 700; }
.pv-ref { padding: 18px; border-radius: 12px; background: rgba(232,163,61,.14); border: 1.5px dashed var(--pv-gold); }
.pv-ref__l { margin: 0; font-size: 13px; font-weight: 700; color: #F6DDB0; }
.pv-ref__v { margin: 6px 0 0; font-size: 30px; font-weight: 800; letter-spacing: .04em; }
.pv-ref__s { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #EADFD2; }
.pv-copy { min-height: 32px; padding: 0 10px; margin-left: 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; background: transparent; color: #fff; font: 600 12px var(--pv-font); cursor: pointer; vertical-align: middle; }
.pv-drop {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 120px; padding: 16px;
    border: 2px dashed #F2C27A; border-radius: 12px; background: #FBF1EA; text-align: center; cursor: pointer;
}
.pv-drop input[type=file] { font: 600 14px var(--pv-font); max-width: 100%; }

/* checklist on reset page */
.pv-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 400; color: var(--pv-muted); }
.pv-rules li::before { content: "•"; margin-right: 8px; color: var(--pv-turq); }

@media (max-width: 767px) {
    .pv-top__in, .pv-main, .pv-foot { padding-left: 16px; padding-right: 16px; }
    /* Logo and sign-in on one row, the menu as a single scrolling row beneath (was three rows). */
    .pv-top__in { gap: 8px 12px; padding-top: 10px; padding-bottom: 8px; }
    .pv-top__brand { order: 1; }
    .pv-top__acct { order: 2; margin-left: auto; }
    .pv-top__nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -6px; }
    .pv-top__nav::-webkit-scrollbar { display: none; }
    .pv-top__nav a { flex: 0 0 auto; padding: 8px 10px; font-size: 14px; }
    .pv-h1 { font-size: 28px; }
    .av-acct__name { display: none; }
}

/* ---- Support tickets ------------------------------------------------------ */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pv-navbadge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--pv-gold); color: var(--pv-navy); font-size: 12px; font-weight: 800; vertical-align: 1px; }
.sp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -6px 0 22px; font-size: 14px; color: var(--pv-muted); }
.sp-thread { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sp-msg { max-width: 760px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--pv-line); background: #fff; }
.sp-msg--avya { align-self: flex-end; border-color: var(--pv-field); background: #FBF1EA; }
.sp-msg--note { align-self: stretch; max-width: none; border: 1.5px dashed var(--pv-gold); background: #FFFBF2; }
.sp-msg__who { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin: 0 0 8px; font-size: 13px; color: var(--pv-muted); }
.sp-msg__who strong { color: var(--pv-navy); font-size: 14px; }
.sp-msg__body { white-space: pre-wrap; word-break: break-word; font-size: 15px; line-height: 1.6; }
.sp-note { padding: 2px 8px; border-radius: 6px; background: #FBF3E2; color: #6B4510; font-weight: 700; font-size: 12px; }
.sp-files { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
.sp-files li { padding: 6px 10px; border-radius: 8px; background: var(--pv-page); font-size: 13px; }
.sp-files a { font-weight: 700; }
.sp-files span { color: var(--pv-muted); }
.sp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sp-reply { margin-top: 8px; }
.sp-file { padding: 10px; font-weight: 400; }
.sp-link { font-weight: 700; text-decoration: none; }
.sp-link:hover { text-decoration: underline; }
.sp-unread .sp-link { color: var(--pv-navy) !important; font-weight: 800; }
.sp-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--pv-turq); vertical-align: 1px; }
.sp-locked { max-width: 760px; margin-bottom: 28px; }
.sp-locked p { line-height: 1.6; }
/* ---- Travellers + passenger form ------------------------------------------ */
.tv-main { max-width: 1100px; }
.tv-trip { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -6px 0 18px; font-size: 15px; color: var(--pv-muted); }
.tv-trip strong { color: var(--pv-navy); }
.tv-card { margin-bottom: 18px; }
.tv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tv-head .pv-card__h span { margin-left: 6px; font-size: 14px; font-weight: 600; color: var(--pv-muted); }
.tv-pick { position: relative; flex: 0 1 360px; width: 100%; }
.tv-pick .pv-input { margin: 0; font-weight: 400; }
.tv-results { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; max-height: 340px; overflow: auto; padding: 6px; border-radius: 12px; border: 1px solid var(--pv-line); background: #fff; box-shadow: 0 12px 32px rgba(30,42,58, .16); }
.tv-hit { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; cursor: pointer; }
.tv-hit:hover, .tv-hit:focus-visible { background: #FBF1EA; outline: none; }
.tv-hit strong { display: block; color: var(--pv-navy); font-size: 14px; }
.tv-hit span { display: block; font-size: 13px; color: var(--pv-muted); }
.tv-none { margin: 0; padding: 10px 12px; font-size: 14px; color: var(--pv-muted); }
.tv-note { margin: 4px 0 10px; min-height: 1em; font-size: 13px; color: var(--pv-teal); }
.tv-note:empty { display: none; }
.tv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 16px; }
.tv-grid .pv-input, .tv-grid .pv-select { font-weight: 400; }
.tv-upper { text-transform: uppercase; }
.tv-opt { font-weight: 400; color: var(--pv-muted); font-size: 12px; }
.tv-file .pv-input { padding: 9px; }
.tv-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.tv-msg ul { margin: 8px 0 0; padding-left: 20px; }
.tv-msg li { margin: 3px 0; }
.tv-ack { display: flex; align-items: center; gap: 10px; margin: -6px 0 16px; font-weight: 700; cursor: pointer; }
.tv-ack input { width: 18px; height: 18px; accent-color: var(--pv-teal); }
.tv-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.tv-search { flex: 1 1 280px; max-width: 460px; }
.tv-search .pv-input { margin: 0; font-weight: 400; }
.tv-box { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding: 16px 18px; border: 1.5px solid var(--pv-field); border-radius: 12px; background: #FBF1EA; }
.tv-box h3 { margin: 0; font-size: 14px; font-weight: 800; color: var(--pv-teal-dark); }
.tv-undo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
/* ---- Back office: dashboard, invoices, customers, reports ------------------ */
.db-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 22px; }
.db-head .pv-h1 { margin-bottom: 0; }
.db-quick { display: flex; flex-wrap: wrap; gap: 10px; }
.db-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 22px; }
.db-tile { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--pv-line); text-decoration: none !important; color: var(--pv-ink) !important; transition: box-shadow .15s ease, transform .15s ease; }
a.db-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(30,42,58, .10); }
.db-tile__l { font-size: 13px; font-weight: 700; color: var(--pv-muted); }
.db-tile__v { font-size: 24px; font-weight: 800; color: var(--pv-navy); letter-spacing: -.02em; }
.db-tile__s { font-size: 13px; color: var(--pv-muted); }
.db-tile--warn { border-color: #F2C2CF; background: #FFF7F6; }
.db-tile--warn .db-tile__s { color: #A3213F; font-weight: 700; }
.db-tile--todo { border-color: #EBD9B0; background: #FFFBF2; }
.db-tile--good { border-color: var(--pv-field); background: #FBF1EA; }
.db-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 18px; align-items: start; }
.db-card { overflow: hidden; }
.db-card .pv-card__head a { font-size: 14px; font-weight: 700; }
.db-list { list-style: none; margin: 0; padding: 6px 0; }
.db-list li { display: flex; align-items: center; gap: 12px; padding: 10px 24px; border-bottom: 1px solid #F5EEE5; }
.db-list li:last-child { border-bottom: 0; }
.db-main { flex: 1 1 auto; min-width: 0; }
.db-when { flex: 0 0 74px; font-size: 13px; font-weight: 800; color: var(--pv-muted); }
.db-when--now { color: var(--pv-teal); }
.db-amt { white-space: nowrap; color: var(--pv-navy); }
.db-amt--late { color: #A3213F; }
.sl-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.sl-tabs a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--pv-line); background: #fff; color: var(--pv-ink) !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.sl-tabs a[aria-current="page"] { background: var(--pv-navy); border-color: var(--pv-navy); color: #fff !important; }
.sl-cost { margin: -8px 0 18px; }
.sl-calc { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: var(--pv-page); font-size: 14px; color: var(--pv-muted); }
.sl-calc strong { color: var(--pv-navy); }
.sl-new { padding: 12px 14px 0; margin-bottom: 12px; border-radius: 12px; background: #FBF1EA; border: 1px dashed var(--pv-field); }
.sl-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 18px; }
.sl-sum__l { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--pv-muted); }
.sl-sum__v { display: block; margin-top: 3px; font-size: 16px; color: var(--pv-navy); }
.sl-void { margin: 8px 0 24px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--pv-line); background: #fff; max-width: 640px; }
.sl-void summary { cursor: pointer; font-weight: 700; color: #A3213F; }
.sl-danger { border-color: #A3213F !important; color: #A3213F !important; }
.cu-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.cu-head .pv-h1 { margin-bottom: 6px; }
.cu-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; color: var(--pv-muted); font-size: 14px; }
.cu-bal { display: flex; flex-direction: column; align-items: flex-end; padding: 14px 20px; border-radius: 14px; background: #FBF1EA; border: 1px solid var(--pv-field); }
.cu-bal span { font-size: 13px; font-weight: 700; color: var(--pv-muted); }
.cu-bal strong { font-size: 24px; color: var(--pv-teal-dark); }
.cu-bal--owes { background: #FFF7F6; border-color: #F2C2CF; }
.cu-bal--owes strong { color: #A3213F; }
.rp-period { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 8px; }
.rp-custom { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.rp-custom .pv-field { margin: 0; }
.rp-range { margin: 6px 0 16px; font-weight: 800; color: var(--pv-navy); }
.rp-dl { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: -6px 0 20px; font-size: 14px; color: var(--pv-muted); }
.rp-dl a { font-weight: 700; }
.rp-card { margin-bottom: 18px; }
.rp-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 18px; }
@media (max-width: 720px) { .db-cols, .rp-two { grid-template-columns: 1fr; } .cu-bal { align-items: flex-start; } }
/* ---- Markups + quotes --------------------------------------------------------- */
.mk-help { margin: 0; padding-left: 20px; line-height: 1.6; color: var(--pv-ink); }
.mk-help li { margin: 4px 0; }
.qt-frame { display: block; width: 100%; max-width: 680px; height: 900px; border: 1px solid var(--pv-line); border-radius: 16px; background: #faf6f0; }
/* ---- Membership --------------------------------------------------------------- */
.ms-now { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; align-items: flex-start; }
.ms-now__plan { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--pv-navy); margin: 4px 0 6px; }
.ms-now__plan .pv-badge { margin-left: 8px; vertical-align: middle; font-size: 12px; }
.ms-now p { margin: 4px 0; color: var(--pv-ink); }
.ms-now__wallet { padding: 14px 18px; border-radius: 14px; background: var(--pv-page); border: 1px solid var(--pv-line); min-width: 200px; }
.ms-now__wallet span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--pv-muted); }
.ms-now__wallet strong { display: block; font-size: 20px; color: var(--pv-navy); margin-top: 2px; }
.ms-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ms-alert { margin: 16px 0 0; padding: 14px 18px; border-radius: 12px; background: #FBE7EC; color: #7A1830; }
.ms-alert strong { color: #A3213F; }
.ms-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin: 22px 0; }
.ms-plan { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: 18px; background: #fff; border: 1.5px solid var(--pv-line); }
.ms-plan--paid { border-color: var(--pv-field); box-shadow: 0 10px 30px rgba(30,42,58, .08); }
.ms-plan--current { border-color: var(--pv-teal); }
.ms-plan__tag { position: absolute; top: -12px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--pv-teal); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.ms-plan h2 { margin: 0; font-size: 22px; font-weight: 800; color: var(--pv-navy); }
.ms-plan__tagline { margin: 4px 0 14px; color: var(--pv-muted); }
.ms-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 4px; }
.ms-price strong { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--pv-navy); }
.ms-price span { color: var(--pv-muted); font-weight: 600; }
.ms-save { display: inline-block; margin-bottom: 12px; padding: 2px 8px; border-radius: 6px; background: #FBF3E2; color: #6B4510; font-size: 12px; font-weight: 800; }
.ms-list { margin: 8px 0 18px; padding: 0; list-style: none; flex: 1; }
.ms-list li { position: relative; padding: 5px 0 5px 26px; line-height: 1.45; }
.ms-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 7px; border-left: 2.5px solid var(--pv-teal); border-bottom: 2.5px solid var(--pv-teal); transform: rotate(-45deg); }
.ms-cycle { display: flex; gap: 8px; margin-bottom: 12px; }
.ms-cycle label { flex: 1; display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--pv-line); cursor: pointer; font-weight: 700; color: var(--pv-navy); }
.ms-cycle label span { display: block; font-size: 12px; font-weight: 600; color: var(--pv-muted); }
.ms-cycle input { accent-color: var(--pv-teal); }
.ms-consent { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; font-size: 13px; color: var(--pv-ink); line-height: 1.45; }
.ms-consent input { margin-top: 3px; accent-color: var(--pv-teal); }
.ms-plan .pv-btn, .ms-plan .pv-btn-ghost { width: 100%; justify-content: center; }
.ms-mine { margin: 0; padding: 12px; border-radius: 12px; background: #FBF1EA; text-align: center; font-weight: 800; color: var(--pv-teal-dark); }
.ms-how { margin: 0; padding-left: 20px; line-height: 1.6; }
.ms-how li { margin: 4px 0; }
.pv-navtag { margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: rgba(232,163,61, .22); color: var(--pv-gold); font-size: 10px; font-weight: 800; letter-spacing: .04em; vertical-align: 1px; }
.db-plan { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-bottom: 18px; padding: 16px 20px; border-radius: 14px; background: #FBF1EA; border: 1px solid var(--pv-field); }
.db-plan--due { background: #FBE7EC; border-color: #F2C2CF; color: #7A1830; }
.db-plan p { margin: 0; }

/* Two wallets (LKR + USD): wallet tabs on the Wallet page, "open a second wallet" card, balances on the dashboard */
.pv-wallets { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.pv-wallets__tab { display: flex; flex-direction: column; gap: 2px; min-width: 210px; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--pv-field); background: #fff; color: #2A3647; text-decoration: none; }
.pv-wallets__tab:hover { border-color: #B5462E; }
.pv-wallets__tab.is-on { border-color: #B5462E; background: #FBF1EA; box-shadow: inset 0 -3px 0 #B5462E; }
.pv-wallets__name { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pv-muted); }
.pv-wallets__amt { font-size: 20px; font-weight: 800; }
.pv-open-wallet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 20px; padding: 18px 22px; }
.pv-open-wallet h2 { margin: 0 0 4px; font-size: 17px; color: #2A3647; }
.pv-open-wallet p { margin: 0; max-width: 640px; color: #6B625A; font-size: 14px; line-height: 1.55; }
.pv-stat__also { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.pv-curswitch { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 14px; padding: 4px; border-radius: 10px; background: #FBF1EA; font-size: 13px; }
.pv-curswitch span { padding: 0 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; color: var(--pv-muted); }
.pv-curswitch a { min-width: 52px; padding: 6px 12px; border-radius: 7px; text-align: center; font-weight: 700; color: #2A3647; text-decoration: none; }
.pv-curswitch a[aria-current] { background: #B5462E; color: #fff; }

/* Bank accounts (agent) */
.ba-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 18px; }
.ba-acct { padding: 18px 20px; margin: 0; }
.ba-acct__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.ba-acct__bank { margin: 0; font-size: 17px; font-weight: 800; color: #2A3647; }
.ba-acct__cur { margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: #FBF1EA; font-size: 12px; color: #82311E; vertical-align: middle; }
.ba-acct__name { margin: 2px 0 0; color: #6B625A; font-size: 14px; }
.ba-acct__dl { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; margin: 0 0 14px; font-size: 14px; }
.ba-acct__dl dt { color: var(--pv-muted); }
.ba-acct__dl dd { margin: 0; color: #2A3647; word-break: break-word; }
.ba-acct__actions { display: flex; flex-wrap: wrap; gap: 8px; }
