@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* { box-sizing: border-box; }
html {
    width: 100%;
}
:root {
    --brand-primary: #FF4E6A;
    --brand-primary-dark: #C2185B;
    --brand-primary-deep: #AD1457;
    --brand-secondary: #7C3AED;
    --brand-secondary-dark: #6D28D9;
    --brand-accent: #F59E0B;
    --brand-gradient: linear-gradient(135deg, #FF4E6A 0%, #7C3AED 100%);
    --brand-gradient-soft: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    --brand-bg: #fdf4ff;
    --brand-surface: #ffffff;
    --brand-border: #f0e6f6;
    --brand-text: #1a0a2e;
    --brand-muted: #6b5b7b;
    --brand-shadow: 0 18px 50px rgba(124, 58, 237, 0.12);
    --brand-shadow-soft: 0 10px 28px rgba(255, 78, 106, 0.08);
}
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 78, 106, 0.08), transparent 35%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.10), transparent 30%),
        var(--brand-bg);
    color: var(--brand-text);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
.page-main {
    flex: 1 0 auto;
}
.site-container {
    width: min(1100px, 92%);
    margin: 0 auto;
}
.site-header {
    background: #ffffff;
    border-bottom: 2px solid #fce4ec;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 16px rgba(255, 78, 106, 0.07);
}
.header-row {
    min-height: 72px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}
.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.site-nav a {
    text-decoration: none;
    color: #4b3a5e;
    font-weight: 600;
    transition: color 0.15s;
}
.site-nav a:hover { color: #FF4E6A; }

/* CMS rich text blocks on public pages */
.cms-rich-block {
    line-height: 1.65;
    color: #374151;
}
.cms-rich-block h1,
.cms-rich-block h2,
.cms-rich-block h3 {
    margin: 0 0 0.5em;
    color: #111827;
    line-height: 1.25;
}
.cms-rich-block p { margin: 0 0 0.85em; }
.cms-rich-block p:last-child { margin-bottom: 0; }
.cms-rich-block ul,
.cms-rich-block ol { margin: 0 0 0.85em; padding-left: 1.25em; }
.cms-rich-block a { color: #FF4E6A; }
.cms-rich-block img { max-width: 100%; height: auto; }
.login-link {
    text-decoration: none;
    color: #ffffff;
    background: #FF4E6A;
    border-radius: 8px;
    padding: 9px 14px;
    font-weight: 600;
}
.login-link:hover { background: #C2185B; }

.hero {
    padding: 80px 0 64px;
    background: linear-gradient(135deg, #FF4E6A 0%, #9C27B0 50%, #7C3AED 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='20' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}
.hero .site-container { position: relative; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-title {
    margin: 0 0 16px;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.15;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.hero-title .accent {
    color: #F59E0B;
}
.hero-text {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 17px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.hero-btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.hero-btn--primary {
    background: #F59E0B;
    color: #1a0a2e;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
}
.hero-btn--primary:hover {
    background: #D97706;
    color: #1a0a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
}
.hero-btn--secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
}
.hero-btn--secondary:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}
.header-signup-link {
    text-decoration: none;
    color: #FF4E6A;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 4px;
}
.header-signup-link:hover {
    color: #C2185B;
    text-decoration: underline;
}
.hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    color: #fff;
}
.hero-card h3 { margin-top: 0; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.7; }
.hero-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Standalone CMS pages (/about, /contact) */
.cms-page-hero {
    padding: 52px 0 36px;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 60%, #fdf4ff 100%);
    border-bottom: 1px solid #f0e6f6;
}
.cms-page-hero h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.2;
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cms-page-hero p {
    margin: 14px 0 0;
    max-width: 720px;
    color: #4b5563;
    line-height: 1.65;
    font-size: 17px;
}
.cms-page-hero-fallback {
    font-size: 16px !important;
    color: #6b7280 !important;
}
.cms-static-wrap {
    padding: 36px 0 52px;
}
.cms-static-card {
    margin-bottom: 8px;
}
.cms-static-body {
    margin-top: 4px;
}
.cms-static-back {
    margin: 24px 0 0;
}

/* Contact page form */
.contact-form-wrap {
    margin-top: 8px;
}
.contact-form-wrap--after-cms {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}
.contact-form-heading {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}
.contact-form-lead {
    margin: 0 0 20px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    margin-bottom: 4px;
}
@media (max-width: 640px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}
.contact-form .form-group textarea {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
}
.contact-form-submit {
    margin-top: 16px;
    border: none;
    cursor: pointer;
}

/* Partner billing settings — full-width grid + aside (avoids empty right rail) */
.business-billing-settings {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
}
.business-billing-settings--profile-only {
    display: block;
}
.business-billing-settings__form-title {
    margin: 0 0 18px;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.business-billing-settings__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}
.business-billing-settings__fields > .form-group {
    min-width: 0;
    overflow: hidden;
}
.business-billing-settings__field--full {
    grid-column: 1 / -1;
}
.business-billing-settings__form-card .form-group {
    margin-bottom: 0;
}
.business-billing-settings__form-card .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
}
.business-billing-settings__form-card input,
.business-billing-settings__form-card select,
.business-billing-settings__form-card textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 11px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.business-billing-settings__form-card input:focus,
.business-billing-settings__form-card select:focus,
.business-billing-settings__form-card textarea:focus {
    border-color: #FF4E6A;
    box-shadow: 0 0 0 3px rgba(255, 78, 106, 0.10);
    outline: none;
}
.business-billing-settings__form-card input[readonly] {
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}
.business-billing-settings__form-card textarea {
    min-height: 92px;
    resize: vertical;
}
.business-billing-settings__form-card input[readonly] {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
}
.business-billing-settings__actions {
    margin-top: 22px;
    padding-top: 4px;
}
.business-billing-settings__tip-card {
    position: sticky;
    top: 88px;
}
.business-billing-settings__aside-title {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}
.business-billing-settings__tip-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}
.business-billing-settings__tip-list li + li {
    margin-top: 10px;
}
.business-billing-settings__aside-link {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
    font-size: 14px;
    color: #FF4E6A;
    text-decoration: none;
}
.business-billing-settings__aside-link:hover {
    color: #C2185B;
    text-decoration: underline;
}
@media (max-width: 900px) {
    .business-billing-settings {
        grid-template-columns: 1fr;
    }
    .business-billing-settings__tip-card {
        position: static;
    }
    .business-billing-settings__fields {
        grid-template-columns: 1fr;
    }
}

/* Partner loyalty offers */
.business-offer-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
    gap: 24px;
    align-items: start;
}
.business-offer-card { width: 100%; }
.business-offer-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}
.business-offer-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.business-offer-side {
    position: sticky;
    top: 88px;
}
.business-offer-side__title {
    margin: 0 0 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
}
.business-offer-side__list {
    margin: 0;
    padding-left: 1rem;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}
.business-offer-side__list li + li { margin-top: 8px; }
@media (max-width: 640px) {
    .business-offer-form__grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
    .business-offer-page { grid-template-columns: 1fr; }
    .business-offer-side { position: static; }
}
.business-offers-table .td-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.business-offers-table form.inline { display: inline; margin: 0; }
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 8px;
}
.business-offer-status {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.business-offer-status.is-on,
.business-offer-status.is-off {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}
.business-offer-status.is-on {
    font-weight: 800;
}
.business-offer-status.is-off {
    font-weight: 600;
    color: #64748b;
}
.business-offer-delete { color: #b91c1c; border-color: #fecaca; }

/* Dashboard active offers */
.active-offers-card {
    margin-top: 20px;
}
.active-offers-card--in-grid {
    margin-top: 0;
}
.active-offers-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}
.active-offers-head .ov-section-title {
    margin-bottom: 4px;
}
.active-offers-lead {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}
.active-offers-link {
    flex-shrink: 0;
    color: #7C3AED;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.active-offers-link:hover {
    text-decoration: underline;
}
.active-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.active-offers-grid--stack {
    grid-template-columns: 1fr;
}
.active-offer-tile {
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #F3E8FF;
    background: linear-gradient(135deg, #fdf4ff, #fff7ed);
}
.active-offer-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}
.active-offer-discount {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #7C3AED;
}
.active-offer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.active-offer-meta span {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(124, 58, 237, 0.10);
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}
.active-offers-empty {
    padding: 18px;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    color: #64748b;
    background: #f8fafc;
    text-align: center;
    font-size: 14px;
}

/* ══════════════════════════════════════════════════════════════
   PARTNER BILLING
══════════════════════════════════════════════════════════════ */
.billing-page .billing-form {
    padding: 22px;
    margin-bottom: 24px;
}
.billing-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px 20px;
    margin-bottom: 20px;
}
.billing-hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}
.billing-hint a { color: #FF4E6A; }
.billing-section-title {
    margin: 8px 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.billing-lines-wrap {
    margin-bottom: 12px;
}
.billing-lines-table .billing-item-select,
.billing-lines-table .billing-qty {
    width: 100%;
    max-width: 220px;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}
.billing-lines-table .billing-qty { max-width: 88px; }
.billing-cell-price,
.billing-cell-line {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.billing-add-line {
    margin-bottom: 20px;
}
.billing-remove-line {
    padding: 4px 10px;
    font-size: 18px;
    line-height: 1;
}
.billing-summary {
    max-width: 360px;
    margin-left: auto;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 20px;
}
.billing-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    font-size: 14px;
    color: #475569;
}
.billing-offers-box {
    margin-bottom: 16px;
    padding: 14px 16px;
}
.billing-offers-list {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}
.billing-offer-pill {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 13px;
    color: #334155;
}
.billing-offer-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    row-gap: 6px;
}
.billing-offer-arrow {
    color: #94a3b8;
    font-weight: 600;
}
.billing-offer-active-tag {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #e2e8f0;
    color: #334155;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.billing-offer-apply-hint {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}
.billing-offer-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding-top: 2px;
}
.billing-offer-meta {
    color: #64748b;
    font-size: 12px;
}
.billing-summary-total {
    border-top: 1px solid #e2e8f0;
    margin-top: 6px;
    padding-top: 12px;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}
.billing-summary-points {
    color: #C2185B;
    font-weight: 700;
}
.billing-actions .billing-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

/* Bill print */
.bill-print-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 16px 0;
    max-width: 1100px;
    margin: 0 auto;
    width: min(1100px, 92%);
}
.bill-print-sheet {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 32px 32px;
    margin: 0 auto 32px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
.bill-print-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-bottom: 2px solid #AD1457;
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.bill-print-title {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: #AD1457;
}
.bill-print-sub {
    margin: 4px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}
.bill-print-meta,
.bill-print-meta-block p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #64748b;
}
.bill-print-meta-block {
    text-align: right;
}
.bill-print-meta-block p { margin: 0 0 6px; }
.bill-print-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 20px;
}
.bill-print-table th,
.bill-print-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}
.bill-print-table th {
    background: #f1f5f9;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}
.bill-col-num { text-align: right; }
.bill-print-totals {
    max-width: 320px;
    margin-left: auto;
}
.bill-total-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    font-size: 14px;
    color: #334155;
}
.bill-total-muted { font-size: 13px; color: #94a3b8; }
.bill-total-grand {
    border-top: 2px solid #AD1457;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
.bill-total-points {
    color: #C2185B;
    font-weight: 700;
}
.bill-print-foot {
    margin: 28px 0 0;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

@media print {
    body.bill-print-body {
        background: #fff;
    }
    .no-print {
        display: none !important;
    }
    .bill-print-sheet {
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        max-width: 100%;
    }
    .site-footer,
    .site-header,
    .dash-nav-wrap {
        display: none !important;
    }
}
.cms-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 8px;
}
.cms-contact-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
}
.cms-contact-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #FF4E6A;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.cms-contact-card p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}
.cms-contact-card a {
    color: #FF4E6A;
    font-weight: 600;
    text-decoration: none;
}
.cms-contact-card a:hover {
    text-decoration: underline;
}
.cms-contact-card small {
    display: block;
    margin-top: 6px;
    color: #9ca3af;
    font-size: 12px;
}

.content-section { padding: 48px 0; }
.section-title {
    margin: 0 0 10px;
    font-size: 30px;
}
.section-text {
    margin: 0;
    color: #6b7280;
    line-height: 1.7;
}
.business-page-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.business-page-text {
    margin: 0 0 18px;
    color: #4b5563;
    line-height: 1.8;
    max-width: 780px;
}

.site-footer {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%);
    color: #e8d5f5;
    padding: 32px 0;
    margin-top: 48px;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.footer-nav a {
    color: #c4a8e0;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-nav a:hover { color: #F59E0B; }

/* ── Success Alert ───────────────────────────────────────────── */
.alert-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fdf4ff;
    border: 1px solid #F9A8D4;
    color: #4A1D96;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 15px;
}
.alert-success::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #A855F7;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Slide-down Join Form ────────────────────────────────────── */
.join-form-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s ease;
    margin-top: 0;
}
.join-form-wrap.open {
    grid-template-rows: 1fr;
    margin-top: 24px;
}
.join-form-inner {
    overflow: hidden;
}
.join-form-inner > * { padding-bottom: 1px; }

.join-form-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}
.join-form-subtitle {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}
.join-form-inner form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 32px 36px 36px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

/* ── Form Section Label ──────────────────────────────────────── */
.form-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FF4E6A;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #fce4ec;
}

/* ── Form Grid ───────────────────────────────────────────────── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.form-group label small {
    font-weight: 400;
    color: #9ca3af;
    font-size: 12px;
}

/* ── Address lookup (Get UK Address autocomplete) ── */
.address-lookup__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.address-lookup__input-wrap { position: relative; flex: 1; min-width: 0; }
.address-lookup__btn {
    flex-shrink: 0;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}
.address-lookup__btn:hover { border-color: #FF4E6A; color: #FF4E6A; }
.address-lookup__btn:disabled { opacity: 0.6; cursor: not-allowed; }
@media (max-width: 600px) {
    .address-lookup__row { flex-direction: column; align-items: stretch; }
}
.address-lookup__input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
}
.address-lookup__input:focus { border-color: #FF4E6A; }
.address-lookup__results {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(124,58,237,0.13), 0 4px 12px rgba(255,78,106,0.08);
    z-index: 50;
}
.address-lookup__result {
    padding: 10px 14px;
    font-size: 13px;
    color: #1a0a2e;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
}
.address-lookup__result:last-child { border-bottom: none; }
.address-lookup__result:hover { background: #fdf4ff; color: #FF4E6A; }
.address-lookup__hint {
    font-size: 12px;
    color: #9ca3af;
    margin: 6px 0 0;
}
.required {
    color: #ef4444;
    font-size: 14px;
}

/* ── Inputs ──────────────────────────────────────────────────── */
.form-group input,
.form-group textarea {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #111827;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    background: #fafafa;
    width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #d1d5db; }
.form-group input:focus,
.form-group textarea:focus {
    border-color: #FF4E6A;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.10);
}
.form-group textarea { resize: vertical; min-height: 80px; }

/* ── File Upload ─────────────────────────────────────────────── */
.file-upload-wrapper {
    position: relative;
}
.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    top: 0; left: 0;
}
.file-upload-box {
    border: 1.5px dashed #d1d5db;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.file-upload-box:hover {
    border-color: #FF4E6A;
    background: #fdf4ff;
}
.file-upload-icon {
    font-size: 20px;
    flex-shrink: 0;
}
.file-upload-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}
.file-upload-text strong {
    color: #FF4E6A;
    font-weight: 600;
}

/* ── Field Error ─────────────────────────────────────────────── */
.field-error {
    font-size: 12px;
    color: #dc2626;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.field-error::before { content: '!'; }

/* ── Divider ─────────────────────────────────────────────────── */
.form-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 8px 0 22px;
}

/* ── Form Actions ────────────────────────────────────────────── */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
.btn-cancel {
    background: #f8fafc;
    border: 1.5px solid #e5e7eb;
    color: #6b7280;
    padding: 11px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.btn-cancel:hover {
    background: #f1f5f9;
    color: #374151;
    border-color: #d1d5db;
}
.btn-submit {
    background: linear-gradient(135deg, #FF4E6A, #C2185B);
    border: none;
    color: #fff;
    padding: 11px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(255, 78, 106, 0.35);
    letter-spacing: 0.3px;
}
.btn-submit:hover {
    background: linear-gradient(135deg, #C2185B, #AD1457);
    box-shadow: 0 6px 18px rgba(255, 78, 106, 0.45);
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════
   HEADER USER DROPDOWN
══════════════════════════════════════════════════════════════ */
.header-user-wrap { position: relative; }

.header-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fdf4ff;
    border: 1.5px solid #F5D0FE;
    border-radius: 40px;
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s;
}
.header-user-btn:hover { background: #FCE4EC; border-color: #F9A8D4; }

.header-user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FF4E6A, #C2185B);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.header-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #AD1457;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-user-chevron { font-size: 11px; color: #A855F7; }

.header-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
    min-width: 160px;
    overflow: hidden;
    z-index: 50;
    animation: fadeDown 0.15s ease;
}
.header-user-dropdown.open { display: block; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ── Login dropdown ── */
.header-login-wrap { position: relative; }
.header-login-btn {
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(255, 78, 106, 0.35);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.header-login-btn:hover {
    background: linear-gradient(135deg, #C2185B, #6D28D9);
    box-shadow: 0 12px 28px rgba(255, 78, 106, 0.45);
    transform: translateY(-1px);
}
.header-login-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 190px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    z-index: 50;
    animation: fadeDown 0.15s ease;
}
.header-login-dropdown.open { display: block; }
.header-login-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    transition: background 0.15s;
}
.header-login-option:hover { background: #f1f5f9; }
.header-login-option + .header-login-option { border-top: 1px solid #f1f5f9; }

.dropdown-item {
    display: block;
    width: 100%;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.1s;
}
.dropdown-item:hover { background: #f9fafb; }
.dropdown-item--danger { color: #dc2626; }
.dropdown-item--danger:hover { background: #fef2f2; }
.dropdown-divider { height: 1px; background: #f1f5f9; margin: 2px 0; }

/* ══════════════════════════════════════════════════════════════
   AUTH PAGES  (Login & OTP)
══════════════════════════════════════════════════════════════ */
.auth-body {
    background: linear-gradient(145deg, #FCE4EC 0%, #fdf4ff 50%, #f0fdf4 100%);
    min-height: 100vh;
}
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}
.auth-logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}
.auth-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 36px;
    width: min(460px, 100%);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.12), 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(219,234,254,0.8);
}
.auth-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.4px;
    text-align: center;
}
.auth-subtitle {
    margin: 0 0 28px;
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    line-height: 1.6;
}

/* Account type selector */
.auth-type-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}
.auth-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 12px;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    background: #fafafa;
    position: relative;
}
.auth-type-card input[type=radio] { display: none; }
.auth-type-card:hover { border-color: #F9A8D4; background: #fdf4ff; }
.auth-type-card.selected {
    border-color: #FF4E6A;
    background: #fdf4ff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.auth-type-icon { font-size: 28px; }
.auth-type-label { font-size: 15px; font-weight: 700; color: #111827; }
.auth-type-desc  { font-size: 11px; color: #9ca3af; text-align: center; }

/* Email field */
.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.auth-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.auth-input-wrap { position: relative; }
.auth-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #9ca3af;
    pointer-events: none;
}
.auth-input-wrap input {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 11px 14px 11px 38px;
    font-size: 14px;
    color: #111827;
    outline: none;
    background: #fafafa;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-input-wrap input:focus {
    border-color: #FF4E6A;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* Submit button */
.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF4E6A, #C2185B);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
    transition: all 0.15s;
    letter-spacing: 0.3px;
}
.auth-btn:hover {
    background: linear-gradient(135deg, #C2185B, #AD1457);
    box-shadow: 0 6px 20px rgba(37,99,235,0.45);
    transform: translateY(-1px);
}
.auth-actions {
    display: grid;
    gap: 10px;
}
.auth-actions--row {
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 400px) {
    .auth-actions--row { grid-template-columns: 1fr; }
}

/* Login page header */
.auth-login-header {
    text-align: center;
    margin-bottom: 24px;
}
.auth-login-icon {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 10px;
}

/* OR divider */
.auth-or-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 14px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.auth-or-divider::before,
.auth-or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* Switch link */
.auth-switch-link {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #64748b;
}
.auth-switch-link a {
    color: #880E4F;
    font-weight: 600;
    text-decoration: none;
}
.auth-switch-link a:hover { text-decoration: underline; }

.auth-btn.auth-btn--secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.auth-btn.auth-btn--secondary:hover {
    background: #f8fafc;
    color: #7C3AED;
    border-color: #86efac;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}
.auth-field-error {
    font-size: 12px;
    color: #dc2626;
    margin: 6px 0 0;
}
.auth-back-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}
.auth-back-link a { color: #FF4E6A; text-decoration: none; font-weight: 600; }
.auth-back-link a:hover { text-decoration: underline; }
.auth-footer-note {
    margin-top: 28px;
    font-size: 12px;
    color: #9ca3af;
}
.auth-alert-success {
    background: #fdf4ff;
    border: 1px solid #F9A8D4;
    color: #4A1D96;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

/* OTP boxes */
.otp-icon-wrap { font-size: 40px; text-align: center; margin-bottom: 12px; }
.otp-boxes-wrap { margin: 24px 0 8px; }
.otp-boxes {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.otp-box {
    width: 52px;
    height: 60px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    outline: none;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    caret-color: transparent;
}
.otp-box:focus {
    border-color: #FF4E6A;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.otp-resend-text {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 18px;
}
.otp-resend-link {
    color: #FF4E6A;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}
.otp-resend-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════════════════════════ */
.dash-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #AD1457, #FF4E6A, #A855F7);
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 28px;
}
.dash-avatar {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.25);
    border: 3px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.dash-welcome-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}
.dash-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}
.dash-badge--business { background: rgba(255,255,255,0.25); color: #fff; }
.dash-badge--customer { background: rgba(255,255,255,0.25); color: #fff; }

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
}
.dash-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.dash-card-label {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #9ca3af;
}
.dash-card-value {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    word-break: break-word;
}
.dash-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.dash-status--active   { background: #dcfce7; color: #15803d; }
.dash-status--inactive { background: #fee2e2; color: #b91c1c; }

.dash-logout-btn {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    color: #dc2626;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}
.dash-logout-btn:hover { background: #fef2f2; border-color: #fca5a5; }

/* ── Business compact hero strip ── */
.biz-hero-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1a0a2e 0%, #FF4E6A 50%, #7C3AED 100%);
    border-radius: 16px;
    padding: 14px 24px;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}
.biz-hero-strip__left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.biz-hero-badge {
    background: rgba(255,255,255,0.22);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}
.biz-hero-sep {
    color: rgba(255,255,255,0.35);
    font-size: 16px;
    font-weight: 300;
}
.biz-hero-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.biz-hero-location {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .biz-hero-strip { padding: 12px 16px; border-radius: 12px; }
    .biz-hero-sep { display: none; }
    .biz-hero-strip__left { gap: 8px; }
    .biz-hero-badge, .biz-hero-status, .biz-hero-location { font-size: 12px; }
}

/* ── Overview Hero Banner ────────────────────────────────────── */
.ov-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #172554 0%, #AD1457 42%, #FF4E6A 72%, #A855F7 100%);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.ov-hero--customer {
    padding-bottom: 26px;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.ov-hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}
.ov-hero--customer .ov-hero-left {
    align-items: center;
    flex: 1 1 auto;
    min-width: min(100%, 220px);
}
.ov-hero-info {
    flex: 1;
    min-width: 0;
}
.ov-avatar {
    width: 72px; height: 72px;
    background: rgba(255,255,255,0.18);
    border: 3px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; font-weight: 800; color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.ov-name {
    margin: 0 0 10px;
    font-size: clamp(20px, 3.5vw, 24px); font-weight: 800; color: #fff; letter-spacing: -0.3px;
    line-height: 1.2;
}
.ov-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ov-role-badge {
    background: rgba(255,255,255,0.22);
    color: #fff;
    font-size: 12px; font-weight: 700;
    padding: 5px 13px; border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.ov-status-dot {
    width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
}
.ov-status-dot--active   { background: #4ade80; box-shadow: 0 0 0 2px rgba(74,222,128,0.3); }
.ov-status-dot--inactive { background: #94a3b8; }
.ov-status-text { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); }
.ov-location    { font-size: 13px; color: rgba(255,255,255,0.75); }

/* Customer: member # + QR inside frosted strip on hero */
.ov-hero-member-strip {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 520px;
}
/* Right column on desktop — fills empty space beside name/avatar */
.ov-hero-member-strip--aside {
    margin-top: 0;
    flex: 0 1 440px;
    max-width: min(440px, 100%);
    margin-left: auto;
}
.ov-hero-member-strip--aside .cust-dash-member-row {
    margin-top: 0;
    justify-content: flex-end;
}
.ov-hero-member-strip .cust-dash-member-row {
    margin-top: 0;
}
.ov-hero-member-strip .cust-member-id-pill {
    background: #fff;
    color: #880E4F;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border: none;
}
.ov-hero-member-strip .cust-member-id-label {
    color: #64748b;
    opacity: 1;
}
.ov-hero-member-strip .cust-member-id-value {
    color: #880E4F;
    letter-spacing: 0.14em;
}
.ov-hero-member-strip .cust-qr-modal-btn {
    border-color: rgba(255, 255, 255, 0.65);
    background: #fff;
    color: #AD1457;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.ov-hero-member-strip .cust-qr-modal-btn:hover {
    background: #fdf4ff;
    border-color: #fff;
}

/* Legacy: hero logout removed — use header menu. Kept for any old include. */
.ov-logout-btn {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 9px 20px; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: all 0.15s; white-space: nowrap;
}
.ov-logout-btn:hover { background: rgba(255,255,255,0.28); }

/* ── Stats Row ───────────────────────────────────────────────── */
.ov-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.ov-stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 22px;
    display: flex; align-items: center; gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ov-stat-icon { font-size: 28px; flex-shrink: 0; }
.ov-stat-num {
    margin: 0 0 2px;
    font-size: 26px; font-weight: 800; color: #111827; line-height: 1;
}
.ov-stat-num--sm { font-size: 16px; font-weight: 700; padding-top: 4px; }
.ov-stat-label { margin: 0; font-size: 12px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Two-column layout ───────────────────────────────────────── */
.ov-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}

/* ── Customer dashboard: loyalty card (matches profile card) ─ */
.cust-loyalty-card {
    min-width: 0;
}
.cust-lp-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cust-lp-tile {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.cust-lp-tile:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.cust-lp-tile--available {
    background: linear-gradient(135deg, #fdf4ff 0%, #f8fafc 100%);
    border-color: #F5D0FE;
}
.cust-lp-tile--redeemed {
    background: linear-gradient(135deg, #faf5ff 0%, #f8fafc 100%);
    border-color: #e9d5ff;
}
.cust-lp-tile-icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.cust-lp-tile--available .cust-lp-tile-icon-wrap {
    background: linear-gradient(145deg, #A855F7 0%, #FF4E6A 100%);
    border: 1px solid #C2185B;
}
.cust-lp-tile--redeemed .cust-lp-tile-icon-wrap {
    background: linear-gradient(145deg, #a855f7 0%, #7c3aed 100%);
    border: 1px solid #6d28d9;
}
.cust-lp-tile-icon {
    font-size: 22px;
    line-height: 1;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.cust-lp-tile-text { min-width: 0; }
.cust-lp-tile-kicker {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}
.cust-lp-tile-value {
    margin: 0;
    font-size: 2.125rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #0f172a;
}
.cust-lp-tile--available .cust-lp-tile-value {
    color: #AD1457;
}
.cust-lp-tile--redeemed .cust-lp-tile-value {
    color: #6b21a8;
}
.cust-lp-tile-desc {
    margin: 6px 0 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
    font-weight: 500;
}
@media (min-width: 640px) {
    .cust-lp-stack {
        gap: 16px;
    }
    .cust-lp-tile {
        padding: 22px 24px;
    }
}
.cust-loyalty-foot {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}
.cust-loyalty-foot-link {
    font-size: 14px;
    font-weight: 600;
    color: #FF4E6A;
    text-decoration: none;
}
.cust-loyalty-foot-link:hover {
    text-decoration: underline;
    color: #C2185B;
}

/* ── Loyalty statement page ────────────────────────────────── */
.loyalty-page-head {
    margin-bottom: 22px;
}
.loyalty-page-title {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.loyalty-page-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    max-width: 42rem;
}
.loyalty-summary-card {
    margin-bottom: 18px;
}
.loyalty-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px 24px;
}
.loyalty-summary-label {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}
.loyalty-summary-value {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.loyalty-summary-value--balance { color: #AD1457; }
.loyalty-summary-value--earn { color: #15803d; }
.loyalty-summary-value--used { color: #c2410c; }
.loyalty-summary-sub {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
}
.loyalty-table-lead {
    margin-top: -6px;
}

/* ── Customer loyalty (legacy / optional) ──────────────────── */
.cust-loyalty-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}
.cust-stat-tile {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.cust-stat-tile--primary {
    background: linear-gradient(135deg, #C2185B 0%, #FF4E6A 100%);
    border-color: #AD1457;
    color: #fff;
}
.cust-stat-tile--primary .cust-stat-label,
.cust-stat-tile--primary .cust-stat-hint {
    color: rgba(255, 255, 255, 0.85);
}
.cust-stat-tile--primary .cust-stat-num {
    color: #fff;
}
.cust-stat-tile--link {
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cust-stat-tile--link:hover {
    border-color: #F9A8D4;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.12);
}
.cust-stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
}
.cust-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.1;
}
.cust-stat-num--earn { color: #15803d; }
.cust-stat-num--used { color: #b45309; }
.cust-stat-hint {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}
.cust-dash-two { align-items: stretch; }

/* Customer dashboard: member ID + QR modal trigger */
.cust-dash-member-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}
.cust-member-id-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    background: linear-gradient(135deg, #880E4F 0%, #FF4E6A 100%);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(255, 78, 106, 0.35);
    max-width: 100%;
    box-sizing: border-box;
}
.cust-member-id-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    flex-shrink: 0;
}
.cust-member-id-value {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cust-qr-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid #F9A8D4;
    background: #fff;
    color: #AD1457;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.cust-qr-modal-btn:hover {
    background: #fdf4ff;
    border-color: #FF4E6A;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

/* Modal (customer QR) */
body.modal-open { overflow: hidden; }
.modal-root[hidden] { display: none !important; }
.modal-root:not([hidden]) {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}
.modal-panel {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    padding: 24px 24px 20px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    border: 1px solid #e5e7eb;
    outline: none;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
}
.modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.modal-title {
    margin: 0 32px 8px 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}
.modal-lead {
    margin: 0 0 16px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}
.modal-qr-wrap {
    display: flex;
    justify-content: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.modal-qr-wrap img {
    display: block;
    width: 260px;
    height: 260px;
    max-width: 100%;
    object-fit: contain;
}
.modal-actions {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}
.modal-actions .ov-qr-btn--download { text-decoration: none; }

.cust-filter-summary {
    margin: 0 0 10px;
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
}
.cust-sum-earn { color: #15803d; }
.cust-sum-used { color: #c2410c; }
.cust-filter-summary-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}
.cust-muted { color: #64748b; }
.cust-statement-card { margin-bottom: 28px; }
.cust-statement-lead {
    margin: -8px 0 18px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}
.cust-filter-form { margin-bottom: 18px; }
.cust-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px 14px;
    margin-bottom: 12px;
}
.cust-filter-field { display: flex; flex-direction: column; gap: 6px; }
.cust-filter-field--grow { grid-column: span 2; min-width: 200px; }
.cust-filter-field label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.cust-filter-field input,
.cust-filter-field select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
}
.cust-filter-field input:focus,
.cust-filter-field select:focus {
    outline: none;
    border-color: #FF4E6A;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.cust-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.cust-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}
.cust-filter-btn--primary {
    background: #FF4E6A;
    color: #fff;
    border-color: #FF4E6A;
}
.cust-filter-btn--primary:hover { background: #C2185B; }
.cust-filter-btn--ghost {
    background: #fff;
    color: #475569;
    border-color: #e2e8f0;
}
.cust-filter-btn--ghost:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.cust-statement-table-wrap {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    overflow-x: auto;
    background: #fff;
}
.cust-statement-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}
.cust-statement-table th,
.cust-statement-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}
.cust-statement-table th {
    background: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.cust-statement-table tbody tr:last-child td { border-bottom: none; }
.cust-pt-earn {
    font-weight: 700;
    color: #15803d;
}
.cust-pt-used {
    font-weight: 700;
    color: #c2410c;
}
.cust-pt-empty { color: #cbd5e1; }
.cust-statement-empty {
    text-align: center;
    padding: 28px 16px !important;
    color: #64748b;
    font-size: 14px;
}
.cust-statement-pagination {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}
.cust-statement-pagination nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: center;
}
.cust-statement-pagination a,
.cust-statement-pagination span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #334155;
}
.cust-statement-pagination a:hover {
    border-color: #FF4E6A;
    color: #C2185B;
}
.cust-statement-pagination span[aria-current="page"] {
    background: #FF4E6A;
    border-color: #FF4E6A;
    color: #fff;
}

@media (max-width: 900px) {
    .cust-loyalty-stats { grid-template-columns: 1fr; }
    .cust-filter-field--grow { grid-column: span 1; }
}

/* ── Section cards ───────────────────────────────────────────── */
.ov-section-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    overflow: hidden;
}
.ov-section-title {
    margin: 0 0 18px;
    font-size: 15px; font-weight: 700; color: #374151;
    text-transform: uppercase; letter-spacing: 0.6px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

/* ── Profile info list ───────────────────────────────────────── */
.ov-info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ov-info-item { display: flex; align-items: flex-start; gap: 12px; }
.ov-info-icon {
    width: 34px; height: 34px; flex-shrink: 0;
    background: #fdf4ff; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
}
.ov-info-label { margin: 0 0 2px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #9ca3af; }
.ov-info-val   { margin: 0; font-size: 14px; font-weight: 600; color: #111827; word-break: break-all; }

/* ── QR Code card ────────────────────────────────────────────── */
.ov-qr-card { display: flex; flex-direction: column; }

/* QR canvas box */
.ov-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdf4ff 0%, #f8fafc 100%);
    border: 1px solid #FCE4EC;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 16px;
    min-height: 140px;
    position: relative;
}
.ov-qr-box canvas {
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(30,58,138,0.15);
}
.ov-qr-loading {
    font-size: 13px;
    color: #6b7280;
    margin: 8px 0 0;
    animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:0.4; } }

/* URL display */
.ov-qr-url-wrap {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
}
.ov-qr-url-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #94a3b8;
    margin-bottom: 4px;
}
.ov-qr-url-code {
    display: block;
    font-size: 12px;
    color: #C2185B;
    word-break: break-all;
    font-family: monospace;
    font-weight: 600;
}

/* QR action buttons */
.ov-qr-actions { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.ov-qr-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid;
    font-family: inherit;
    transition: all 0.15s;
    white-space: nowrap;
}
.ov-qr-btn--copy {
    background: #fdf4ff;
    border-color: #F5D0FE;
    color: #C2185B;
}
.ov-qr-btn--copy:hover { background: #FCE4EC; }
.ov-qr-btn--download {
    background: linear-gradient(135deg, #FF4E6A, #C2185B);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 3px 10px rgba(37,99,235,0.3);
}
.ov-qr-btn--download:hover {
    box-shadow: 0 5px 16px rgba(37,99,235,0.4);
    transform: translateY(-1px);
}
.ov-qr-note {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.6;
    text-align: center;
}

/* QR empty state */
.ov-qr-empty { text-align: center; padding: 8px 0 0; }
.ov-qr-empty-icon { font-size: 48px; margin-bottom: 12px; }
.ov-qr-empty-title { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #374151; }
.ov-qr-empty-text  { margin: 0 0 4px; font-size: 13px; color: #6b7280; line-height: 1.7; }

/* ── Quick actions row ───────────────────────────────────────── */
.ov-quick-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ov-quick-btn {
    flex: 1; min-width: 200px;
    display: flex; align-items: center; gap: 12px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 22px;
    text-decoration: none;
    font-size: 15px; font-weight: 700; color: #111827;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ov-quick-btn:hover {
    border-color: #FF4E6A;
    box-shadow: 0 6px 20px rgba(37,99,235,0.1);
    transform: translateY(-2px);
    color: #C2185B;
}
.ov-quick-arrow { margin-left: auto; font-size: 16px; color: #FF4E6A; }

.mb-20 { margin-bottom: 20px; }

/* ══════════════════════════════════════════════════════════════
   DASHBOARD NAV TABS
══════════════════════════════════════════════════════════════ */
.dash-nav-wrap {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 72px;
    z-index: 9;
}
.dash-nav {
    display: flex;
    gap: 4px;
    padding: 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.dash-nav::-webkit-scrollbar { display: none; }
.dash-nav-tab {
    display: inline-flex;
    align-items: center;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}
.dash-nav-tab:hover { color: #FF4E6A; }
.dash-nav-tab.active { color: #FF4E6A; border-bottom-color: #FF4E6A; }

/* ══════════════════════════════════════════════════════════════
   PAGE HEADER (used in menu/categories pages)
══════════════════════════════════════════════════════════════ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.page-title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}
.page-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* ══════════════════════════════════════════════════════════════
   FLASH MESSAGES
══════════════════════════════════════════════════════════════ */
.flash {
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}
.flash--success { background: #fdf4ff; border: 1px solid #F9A8D4; color: #4A1D96; }
.flash--error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.flash--warning { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.flash--warning a { color: #C2185B; font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   SLIDE-DOWN FORM  (add category / add item)
══════════════════════════════════════════════════════════════ */
.slide-form-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
    margin-bottom: 0;
}
.slide-form-wrap.open {
    grid-template-rows: 1fr;
    margin-bottom: 24px;
}
.slide-form-inner { overflow: hidden; }
.slide-form {
    background: #fff;
    border: 1.5px solid #FCE4EC;
    border-radius: 14px;
    padding: 24px;
    margin-top: 16px;
    box-shadow: 0 4px 20px rgba(37,99,235,0.07);
}
.slide-form-title {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 700;
    color: #AD1457;
}
.slide-form-row {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.slide-form-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    padding-bottom: 1px;
}

/* select styling */
.form-group select {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #111827;
    outline: none;
    background: #fafafa;
    font-family: inherit;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.form-group select:focus {
    border-color: #FF4E6A;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* ══════════════════════════════════════════════════════════════
   BUTTON VARIANTS
══════════════════════════════════════════════════════════════ */
.btn-primary {
    background: linear-gradient(135deg, #FF4E6A, #C2185B);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-primary:hover { background: linear-gradient(135deg, #C2185B, #AD1457); transform: translateY(-1px); }

.btn-secondary {
    background: #f8fafc;
    color: #374151;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-secondary:hover { background: #f1f5f9; border-color: #d1d5db; }

/* Row action buttons */
.btn-action {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid transparent;
    font-family: inherit;
    transition: all 0.12s;
    text-decoration: none;
}
.btn-action--edit     { background: #fdf4ff; border-color: #F5D0FE; color: #C2185B; }
.btn-action--edit:hover { background: #FCE4EC; }
.btn-action--toggle   { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.btn-action--toggle:hover { background: #ffedd5; }
.btn-action--activate { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.btn-action--activate:hover { background: #dcfce7; }
.btn-action--delete   { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.btn-action--delete:hover { background: #fee2e2; }

/* Icon-only buttons (save/cancel in inline edit) */
.btn-icon {
    width: 30px; height: 30px;
    border-radius: 7px;
    border: 1.5px solid;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.12s;
}
.btn-icon--save   { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.btn-icon--save:hover { background: #dcfce7; }
.btn-icon--cancel { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.btn-icon--cancel:hover { background: #fee2e2; }

/* ══════════════════════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 56px 24px;
    background: #fff;
    border: 2px dashed #e5e7eb;
    border-radius: 16px;
    margin-top: 8px;
}
.empty-icon  { font-size: 48px; margin-bottom: 14px; }
.empty-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #374151; }
.empty-text  { margin: 0; font-size: 14px; color: #9ca3af; }

/* ══════════════════════════════════════════════════════════════
   DATA TABLE  (categories)
══════════════════════════════════════════════════════════════ */
.table-wrap,
.data-table-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table thead tr {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}
.data-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #6b7280;
}
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #374151;
    vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #fafafa; }
.td-num   { width: 44px; color: #9ca3af; font-weight: 600; }
.td-name  { font-weight: 600; color: #111827; }
.td-actions { white-space: nowrap; display: flex; gap: 6px; align-items: center; padding: 10px 16px; }

.item-count-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}
.status-pill {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.status-pill--active   { background: #dcfce7; color: #15803d; }
.status-pill--inactive { background: #f1f5f9; color: #6b7280; }

/* Inline edit row */
.inline-edit-form {
    display: flex;
    align-items: center;
    gap: 8px;
}
.inline-edit-input {
    border: 1.5px solid #FF4E6A;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 14px;
    font-family: inherit;
    color: #111827;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    width: 100%;
    max-width: 240px;
}

/* ══════════════════════════════════════════════════════════════
   MENU ITEMS GRID
══════════════════════════════════════════════════════════════ */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 8px;
}
.menu-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.15s, transform 0.15s;
    display: flex;
    flex-direction: column;
}
.menu-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.09); transform: translateY(-2px); }
.menu-card--inactive { opacity: 0.65; }

.menu-card-img-wrap {
    position: relative;
    width: 100%;
    height: 160px;
    background: #f1f5f9;
    overflow: hidden;
}
.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.menu-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #cbd5e1;
}
.menu-card-inactive-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}
.menu-card-body { padding: 14px 16px 10px; flex: 1; }
.menu-card-cat {
    display: inline-block;
    background: #fdf4ff;
    color: #C2185B;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.menu-card-name {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}
.menu-card-price {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #FF4E6A;
}
.menu-card-actions {
    padding: 10px 16px 14px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    border-top: 1px solid #f1f5f9;
}

/* ══════════════════════════════════════════════════════════════
   EDIT ITEM PAGE
══════════════════════════════════════════════════════════════ */
.edit-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 700px;
}
.current-img-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}
.current-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.current-img-label {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}

/* Mobile logout — hidden on desktop, shown in burger menu */
.mob-logout-wrap { display: none; }

/* ══════════════════════════════════════════════════════════════
   HAMBURGER / MOBILE NAV
══════════════════════════════════════════════════════════════ */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    border: 1.5px solid #f0e6f6;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 10px;
    z-index: 20;
    transition: background 0.18s;
}
.nav-hamburger:hover { background: linear-gradient(135deg, #FF4E6A, #7C3AED); }
.nav-hamburger:hover span { background: #ffffff; }
.nav-hamburger.is-open { background: linear-gradient(135deg, #FF4E6A, #7C3AED); }
.nav-hamburger.is-open span { background: #ffffff; }
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #FF4E6A;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s, background 0.18s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 900px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .ov-two-col { grid-template-columns: 1fr; }
    .ov-stats { grid-template-columns: 1fr 1fr; }
    .menu-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .edit-form-card { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET + PHONE  (≤ 1280px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {

    /* ── Header / Nav ── */
    .nav-hamburger { display: flex; }
    .logo + .nav-hamburger { margin-left: auto; }

    .header-row { position: relative; flex-wrap: nowrap; padding: 0 0; min-height: 60px; }

    .header-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 2px solid #fce4ec;
        box-shadow: 0 16px 40px rgba(124,58,237,0.13), 0 4px 12px rgba(255,78,106,0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 100;
        padding: 6px 0 16px;
        border-radius: 0 0 20px 20px;
        overflow: hidden;
    }
    .header-right.nav-open { display: flex; }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 14px 4px;
        border-bottom: 1px solid #f0e6f6;
        margin-bottom: 8px;
    }
    .header-right .site-nav a,
    .header-right .nav-dropdown__toggle,
    .header-right .nav-dropdown__menu-inner a {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        justify-content: flex-start;
        text-decoration: none;
        color: #1a0a2e;
        font-weight: 600;
        font-size: 15px;
        padding: 11px 14px;
        border-radius: 14px;
        background: #fff;
        border: 1.5px solid #f3e8f8;
        box-shadow: 0 1px 3px rgba(124,58,237,0.05);
        transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
        position: relative;
    }
    .header-right .site-nav a:active,
    .header-right .nav-dropdown__toggle:active,
    .header-right .nav-dropdown__menu-inner a:active { transform: scale(0.98); }
    .header-right .site-nav a:hover,
    .header-right .nav-dropdown__toggle:hover,
    .header-right .nav-dropdown__menu-inner a:hover { background: #fdf4ff; color: #FF4E6A; border-color: #fce4ec; }
    .header-right .site-nav a.active,
    .header-right .nav-dropdown__toggle.active,
    .header-right .nav-dropdown__menu-inner a.active {
        background: linear-gradient(135deg, #fdf4ff, #fce4ec);
        color: #FF4E6A;
        border-color: #f3c9e0;
    }
    .header-right .site-nav a::after,
    .header-right .nav-dropdown__menu-inner a::after {
        content: '›';
        margin-left: auto;
        font-size: 18px;
        font-weight: 700;
        color: #d8b4e2;
        transition: color 0.15s;
    }
    .header-right .site-nav a:hover::after,
    .header-right .site-nav a.active::after,
    .header-right .nav-dropdown__menu-inner a:hover::after,
    .header-right .nav-dropdown__menu-inner a.active::after { color: #FF4E6A; }

    .site-nav-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        background: linear-gradient(135deg, #fdf2f8, #f5f3ff);
    }
    .header-right .site-nav a.active .site-nav-icon,
    .header-right .nav-dropdown__toggle.active .site-nav-icon,
    .header-right .nav-dropdown__menu-inner a.active .site-nav-icon {
        background: linear-gradient(135deg, #fce4ec, #ede9fe);
    }

    .header-right .nav-dropdown {
        position: static;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .header-right .nav-dropdown__toggle .nav-dropdown__caret {
        margin-left: auto;
        transition: transform 0.2s;
    }
    .nav-dropdown.open .nav-dropdown__toggle .nav-dropdown__caret { transform: rotate(180deg); }

    /* Slide-down submenu — same look as top-level items, just nested */
    .header-right .nav-dropdown__menu {
        position: static;
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.25s ease;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0 0 0 16px;
        width: 100%;
        min-width: 0;
        z-index: auto;
        box-sizing: border-box;
    }
    .header-right .nav-dropdown.open .nav-dropdown__menu { grid-template-rows: 1fr; }
    .nav-dropdown__menu-inner {
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        padding: 8px 0 0 14px;
        border-left: 2px solid #f3e8f8;
        box-sizing: border-box;
    }
    /* Hide desktop user wrap in mobile menu, show mobile logout instead */
    .header-user-wrap { display: none !important; }
    .mob-logout-wrap {
        display: block;
        margin: 4px 16px 0;
        padding-top: 10px;
        border-top: 1px solid #f0e6f6;
    }
    .mob-logout-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 11px 16px;
        border-radius: 12px;
        border: 1.5px solid #fce4ec;
        background: #fff5f7;
        color: #FF4E6A;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.15s;
    }
    .mob-logout-btn:hover { background: #fce4ec; }

    /* Guest: signup + login */
    .header-right .header-login-wrap,
    .header-right .header-signup-link,
    .header-right .login-link {
        margin: 4px 16px 0;
    }

    .header-signup-link {
        display: block;
        text-align: center;
        padding: 11px 14px;
        border-radius: 12px;
        background: linear-gradient(135deg, #FF4E6A, #7C3AED);
        color: #ffffff !important;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
    }

    .login-link {
        display: block;
        text-align: center;
        padding: 11px 14px;
        border-radius: 12px;
        border: 1.5px solid #f0e6f6;
        background: #fdf4ff;
        color: #7C3AED;
        font-weight: 700;
        font-size: 14px;
    }

    .header-login-wrap { margin: 6px 16px 0; }
    .header-login-btn {
        width: 100%;
        text-align: center;
        display: block;
        padding: 11px 14px;
        border-radius: 12px;
        border: 1.5px solid #f0e6f6;
        background: #fdf4ff;
        color: #7C3AED;
        font-weight: 700;
        font-size: 14px;
    }
    .header-login-dropdown {
        position: static;
        box-shadow: none;
        border: 1px solid #f0e6f6;
        border-radius: 12px;
        margin-top: 6px;
        overflow: hidden;
    }
    .header-login-option {
        padding: 12px 16px;
        font-size: 14px;
        font-weight: 600;
        border-bottom: 1px solid #f9f0ff;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .header-login-option:last-child { border-bottom: none; }

    /* ── Hero ── */
    .hero { padding: 40px 0 36px; }
    .hero-title { font-size: clamp(24px, 6vw, 36px); }

    .business-page-card { padding: 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .join-form-inner form { padding: 20px 18px 24px; border-radius: 0 0 12px 12px; }

    /* ── Auth ── */
    .auth-card { padding: 28px 18px; }
    .auth-type-group { gap: 10px; }

    /* ── OTP ── */
    .otp-boxes { gap: 7px; }
    .otp-box { width: 40px; height: 50px; font-size: 20px; border-radius: 10px; }

    /* ── Dashboard overview ── */
    .ov-hero { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 18px; }
    .ov-hero--customer { flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; overflow: hidden; }
    .ov-hero-left { gap: 14px; }
    .ov-hero-member-strip { max-width: none; width: 100%; box-sizing: border-box; }
    .ov-hero-member-strip--aside {
        margin-left: 0;
        flex: none;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .ov-hero-member-strip--aside .cust-dash-member-row {
        justify-content: flex-start;
    }
    .cust-member-id-pill { display: flex; width: 100%; box-sizing: border-box; flex-wrap: wrap; align-items: center; }
    .cust-member-id-value { white-space: normal; word-break: break-all; font-size: 15px; }
    .cust-dash-member-row { flex-direction: column; align-items: stretch; }
    .cust-qr-modal-btn { width: 100%; }
    .ov-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ov-stat-card { padding: 14px 12px; }
    .ov-two-col { grid-template-columns: 1fr; }
    .ov-quick-actions { flex-direction: column; gap: 10px; }
    .ov-quick-btn { min-width: unset; }
    .active-offers-head { flex-direction: column; }

    /* ── Dash nav ── */
    .dash-nav-wrap { top: 60px; }
    .dash-nav { gap: 0; }
    .dash-nav-tab { padding: 10px 14px; font-size: 13px; }

    /* ── Page header ── */
    .page-header { flex-direction: column; align-items: flex-start; gap: 10px; }

    /* ── Slide form ── */
    .slide-form-row { flex-direction: column; align-items: stretch; gap: 0; }
    .slide-form-actions { flex-direction: column; gap: 8px; }
    .slide-form-actions .btn-primary,
    .slide-form-actions .btn-secondary { width: 100%; justify-content: center; }

    /* ── Categories / data table ── */
    .table-wrap,
    .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .data-table,
    .table-wrap table { min-width: 520px; }
    .data-table th, .data-table td { padding: 10px 12px; font-size: 13px; }
    .td-actions { flex-wrap: wrap; gap: 5px; }

    /* ── Menu grid ── */
    .menu-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }

    /* ── Edit form ── */
    .edit-form-card { padding: 20px 16px; }

    /* ── Section card ── */
    .ov-section-card { padding: 18px; }
    .ov-qr-card { padding: 18px; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL PHONE  (≤ 480px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* ── OTP boxes: 6 × 36px + 5 × 6px gaps ≈ 246px — fits 320px+ ── */
    .otp-boxes { gap: 5px; }
    .otp-box { width: 36px; height: 46px; font-size: 18px; border-radius: 8px; }

    /* ── Stats: single column on very small screens ── */
    .ov-stats { grid-template-columns: 1fr 1fr; }
    .ov-stat-card { flex-direction: column; align-items: flex-start; gap: 6px; }
    .ov-stat-icon { font-size: 22px; }
    .ov-stat-num { font-size: 22px; }

    /* ── Hero avatar smaller ── */
    .ov-avatar { width: 46px; height: 46px; font-size: 18px; }
    .ov-name { font-size: 18px; }

    /* ── Menu grid: 1 column ── */
    .menu-grid { grid-template-columns: 1fr; }

    /* ── Auth type cards stack ── */
    .auth-type-group { flex-direction: column; }
    .auth-type-card { padding: 14px 12px; }

    /* ── QR buttons stack ── */
    .ov-qr-actions { flex-direction: column; }
    .ov-qr-btn { width: 100%; justify-content: center; }

    /* ── Quick actions ── */
    .ov-quick-btn { font-size: 14px; padding: 14px 16px; }

    /* ── Dash nav: already scrollable via .dash-nav, just ensure wrap clips ── */
    .dash-nav-wrap { overflow: hidden; }

    /* ── Forms ── */
    .form-actions { flex-direction: column; gap: 8px; }
    .form-actions .btn-primary,
    .form-actions .btn-secondary,
    .form-actions .btn-cancel,
    .form-actions .btn-submit { width: 100%; justify-content: center; text-align: center; }

    /* ── Edit form back button ── */
    .edit-form-card .form-actions { flex-direction: column-reverse; }

    /* ── Flash messages ── */
    .flash { font-size: 13px; padding: 10px 14px; }
}

/* Brand refresh for the public frontend — Bonocard Pink/Purple */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 2px solid #fce4ec;
    box-shadow: 0 4px 20px rgba(255, 78, 106, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.header-row {
    min-height: 76px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-mark,
.footer-logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(255, 78, 106, 0.35);
}
.logo-text {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #FF4E6A 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.business-logo-img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 78, 106, 0.2);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(255, 78, 106, 0.12);
}
.site-logo-img {
    height: 56px;
    width: auto;
    display: block;
}
.site-nav--business {
    gap: 24px;
}
.site-nav-icon { display: none; }
.site-nav-badge {
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 1;
    margin-left: 4px;
}
.site-nav a {
    text-decoration: none;
    color: #4b3a5e;
    font-weight: 600;
    transition: color 0.15s;
    position: relative;
}
.site-nav a.active {
    color: #FF4E6A;
}
.site-nav a.active::after {
    transform: scaleX(1);
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #FF4E6A, #7C3AED);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}
.site-nav a:hover {
    color: #FF4E6A;
}
.site-nav a:hover::after {
    transform: scaleX(1);
}
.nav-dropdown {
    position: relative;
    display: inline-flex;
}
.nav-dropdown__toggle {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: #4b3a5e;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}
.nav-dropdown__toggle:hover,
.nav-dropdown__toggle.active {
    color: #FF4E6A;
}
.nav-dropdown__caret {
    font-size: 10px;
    transition: transform 0.15s;
}
.nav-dropdown.open .nav-dropdown__caret {
    transform: rotate(180deg);
}
.nav-dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(124,58,237,0.13), 0 4px 12px rgba(255,78,106,0.08);
    padding: 6px;
    flex-direction: column;
    gap: 2px;
    z-index: 120;
}
.nav-dropdown.open .nav-dropdown__menu {
    display: flex;
}
.nav-dropdown__menu-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.nav-dropdown__menu a {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}
.nav-dropdown__menu a:hover {
    background: #fdf4ff;
}
.nav-dropdown__menu a:hover::after,
.nav-dropdown__menu a.active::after {
    display: none;
}
.nav-dropdown__menu a.active {
    background: linear-gradient(135deg, #fdf4ff, #fce4ec);
    color: #FF4E6A;
}
.header-signup-link {
    color: #7C3AED;
    font-weight: 700;
}
.header-signup-link:hover {
    color: #FF4E6A;
}
.login-link,
.hero-btn--primary,
.btn-submit,
.auth-btn,
.btn-primary,
.ov-qr-btn--download,
.cust-filter-btn--primary {
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 78, 106, 0.35);
}
.login-link:hover,
.hero-btn--primary:hover,
.btn-submit:hover,
.auth-btn:hover,
.btn-primary:hover,
.ov-qr-btn--download:hover,
.cust-filter-btn--primary:hover {
    background: linear-gradient(135deg, #C2185B, #6D28D9);
    box-shadow: 0 12px 28px rgba(255, 78, 106, 0.45);
    transform: translateY(-1px);
}
.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 72px;
    background: linear-gradient(135deg, #FF4E6A 0%, #9C27B0 50%, #7C3AED 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,0.12), transparent 28%),
        radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.18), transparent 28%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    z-index: 1;
    gap: 44px;
}
.hero-title,
.section-title,
.cms-page-hero h1,
.page-title {
    letter-spacing: -0.04em;
}
.hero-title {
    color: #ffffff;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    font-weight: 800;
}
.hero-title .accent { color: #F59E0B; }
.hero-text,
.section-text,
.business-page-text {
    color: var(--brand-muted);
}
.hero .hero-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
}
.hero-btn {
    border-radius: 999px;
    padding: 13px 28px;
    font-weight: 800;
    font-size: 15px;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.hero-btn--primary {
    background: #F59E0B;
    color: #1a0a2e;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}
.hero-btn--primary:hover {
    background: #D97706;
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.55);
    transform: translateY(-2px);
}
.hero-btn--secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
    box-shadow: none;
}
.hero-btn--secondary:hover {
    background: rgba(255,255,255,0.28);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}
.hero-card,
.frontend-section-card,
.business-page-card,
.cms-static-card,
.ov-section-card,
.auth-card,
.data-table-wrap,
.edit-form-card {
    border: 1px solid rgba(255, 78, 106, 0.12);
    box-shadow: 0 10px 32px rgba(124, 58, 237, 0.09);
}
.hero-card,
.business-page-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    padding: 34px;
    color: #fff;
}
.hero-card > *,
.business-page-card > * {
    position: relative;
}
.frontend-section-card {
    border-radius: 24px;
    padding: 34px;
    background: #ffffff;
}
.frontend-section-card--muted {
    background: linear-gradient(135deg, #ffffff, #fdf4ff);
}
.content-section {
    padding: 42px 0;
}
.business-page-card .section-title {
    max-width: 760px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}
.join-form-inner form {
    border-color: rgba(255, 78, 106, 0.12);
    box-shadow: 0 18px 50px rgba(124, 58, 237, 0.10);
}
.form-section-label {
    color: #FF4E6A;
    border-bottom-color: #fce4ec;
}
.form-group input,
.form-group textarea,
.form-group select,
.cust-filter-field input,
.cust-filter-field select {
    border-color: #d1d5db;
    background: #f9fafb;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.business-billing-settings__form-card input:focus,
.business-billing-settings__form-card select:focus,
.business-billing-settings__form-card textarea:focus,
.cust-filter-field input:focus,
.cust-filter-field select:focus {
    border-color: #FF4E6A;
    box-shadow: 0 0 0 4px rgba(255, 78, 106, 0.12);
}
.file-upload-box:hover {
    border-color: #FF4E6A;
    background: #fdf4ff;
}
.file-upload-text strong,
.cms-rich-block a,
.billing-hint a,
.business-billing-settings__aside-link,
.auth-back-link a,
.otp-resend-link,
.cust-loyalty-foot-link {
    color: #FF4E6A;
}
.site-footer {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%);
    color: #e8d5f5;
    padding: 32px 0;
    margin-top: 48px;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.footer-logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 17px;
    box-shadow: none;
}
.footer-nav a {
    color: #c4a8e0;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-nav a:hover {
    color: #F59E0B;
}
.auth-body {
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 78, 106, 0.14), transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.14), transparent 28%),
        #fdf4ff;
}
.auth-logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}
.dash-nav-tab:hover,
.dash-nav-tab.active {
    color: #FF4E6A;
    border-bottom-color: #FF4E6A;
}
@media (max-width: 768px) {
    .header-row {
        min-height: 64px;
    }
    .logo-mark {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        font-size: 20px;
    }
    .logo-text {
        font-size: 23px;
    }
    .business-logo-img {
        width: 58px;
        height: 58px;
    }
    .site-logo-img {
        height: 38px;
    }
    .header-right {
        border-color: #fce4ec;
        border-radius: 0 0 20px 20px;
    }
    .site-nav a::after {
        display: none;
    }
    .hero {
        padding: 54px 0 44px;
    }
    .hero-title {
        font-size: clamp(30px, 8vw, 42px);
    }
    .hero-card,
    .business-page-card,
    .frontend-section-card {
        border-radius: 20px;
        padding: 24px;
    }
}

/* No-blue palette overrides */
.site-nav a:hover,
.header-signup-link,
.header-signup-link:hover,
.cms-rich-block a,
.billing-hint a,
.business-billing-settings__aside-link,
.auth-back-link a,
.otp-resend-link,
.cust-loyalty-foot-link,
.menu-card-price,
.ov-quick-arrow,
.billing-summary-points,
.bill-total-points,
.loyalty-summary-value--balance,
.cust-statement-pagination a:hover {
    color: #FF4E6A;
}
.logo-text {
    background: linear-gradient(135deg, #FF4E6A 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.site-nav a::after {
    background: linear-gradient(90deg, #FF4E6A, #7C3AED);
}
.dash-nav-tab.active {
    border-bottom-color: #FF4E6A;
}
.hero-btn--primary,
.login-link,
.btn-submit,
.auth-btn,
.btn-primary,
.cust-filter-btn--primary,
.ov-qr-btn--download,
.cust-member-id-pill {
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    box-shadow: 0 8px 24px rgba(255, 78, 106, 0.32);
}
.hero-btn--primary:hover,
.login-link:hover,
.btn-submit:hover,
.auth-btn:hover,
.btn-primary:hover,
.cust-filter-btn--primary:hover,
.ov-qr-btn--download:hover {
    background: linear-gradient(135deg, #C2185B, #6D28D9);
    box-shadow: 0 12px 28px rgba(255, 78, 106, 0.45);
}
.hero-btn--secondary,
.cust-qr-modal-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}
.hero-btn--secondary:hover,
.cust-qr-modal-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.28);
    border-color: #fff;
}
.ov-hero {
    background:
        radial-gradient(circle at 88% 18%, rgba(245, 158, 11, 0.20), transparent 25%),
        linear-gradient(135deg, #1a0a2e 0%, #FF4E6A 50%, #7C3AED 100%);
}
.auth-type-card:hover,
.auth-type-card.selected,
.header-user-btn,
.ov-qr-box,
.menu-card-cat,
.cust-lp-tile--available {
    background: #fdf4ff;
    border-color: #F9A8D4;
}
.auth-type-card.selected,
.auth-input-wrap input:focus,
.otp-box:focus,
.cust-filter-field input:focus,
.cust-filter-field select:focus,
.inline-edit-input {
    border-color: #FF4E6A;
    box-shadow: 0 0 0 3px rgba(255, 78, 106, 0.12);
}
.auth-type-card:hover,
.dash-nav-tab:hover,
.dash-nav-tab.active,
.menu-card-cat,
.ov-qr-url-code,
.ov-info-val,
.header-user-name,
.header-user-chevron,
.cust-lp-tile--available .cust-lp-tile-value {
    color: #FF4E6A;
}
.ov-quick-btn:hover,
.cust-stat-tile--link:hover {
    border-color: #FF4E6A;
    box-shadow: 0 6px 20px rgba(255, 78, 106, 0.12);
    color: #FF4E6A;
}
.footer-nav a:hover {
    color: #F59E0B;
}
.header-user-btn {
    background: #fdf4ff;
    border-color: #F9A8D4;
}
.header-user-btn:hover {
    background: #FCE4EC;
    border-color: #FF4E6A;
}
.header-user-avatar {
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
}
.cms-page-hero {
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 60%, #fdf4ff 100%);
    border-bottom: 1px solid #f0e6f6;
}
.cms-page-hero h1 {
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.staff-tab:hover { color: #FF4E6A; }
.staff-tab.active { color: #FF4E6A; border-bottom-color: #FF4E6A; }


/* ══════════════════════════════════════════════════════════════
   STAFF MODULE
══════════════════════════════════════════════════════════════ */
.staff-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 24px;
}
.staff-tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s;
}
.staff-tab:hover { color: #880E4F; }
.staff-tab.active { color: #880E4F; border-bottom-color: #880E4F; }
.staff-tab-count {
    background: #e0e7ff;
    color: #3730a3;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
}
.staff-panel.hidden { display: none; }

/* Permissions Matrix */
.perm-matrix {
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.perm-row {
    display: grid;
    grid-template-columns: 1fr 100px 100px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
}
.perm-row:last-child { border-bottom: none; }
.perm-row--header {
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 16px;
}
.perm-module-col { font-size: 14px; font-weight: 600; color: #1e293b; }
.perm-action-col { display: flex; justify-content: center; }

/* Toggle switch */
.perm-toggle { position: relative; display: inline-block; width: 38px; height: 22px; cursor: pointer; }
.perm-toggle input { opacity: 0; width: 0; height: 0; }
.perm-toggle-slider {
    position: absolute; inset: 0;
    background: #d1d5db;
    border-radius: 22px;
    transition: background 0.2s;
}
.perm-toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    left: 3px; top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}
.perm-toggle input:checked + .perm-toggle-slider { background: #9333EA; }
.perm-toggle input:checked + .perm-toggle-slider::before { transform: translateX(16px); }

@media (max-width: 480px) {
    .perm-row {
        grid-template-columns: 1fr 72px 72px;
        padding: 10px 12px;
        gap: 4px;
    }
    .perm-row--header { padding: 8px 12px; }
    .perm-module-col { font-size: 13px; }
    .perm-action-col { font-size: 12px; }
    .perm-toggle { width: 34px; height: 20px; }
    .perm-toggle-slider::before { width: 14px; height: 14px; }
    .perm-toggle input:checked + .perm-toggle-slider::before { transform: translateX(14px); }
}

/* ── Settings nav ── */
.settings-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.settings-nav {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.settings-nav__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    font-family: inherit;
}
.settings-nav__item:hover {
    background: #fdf4ff;
    border-color: #FF4E6A;
}
.settings-nav__icon { font-size: 20px; flex-shrink: 0; }
.settings-nav__text { flex: 1; min-width: 0; }
.settings-nav__text strong { display: block; font-size: 13px; font-weight: 700; color: #0f172a; white-space: nowrap; }
.settings-nav__text small { display: none; }
.settings-nav__arrow { display: none; }
.settings-nav__item:hover .settings-nav__arrow { color: #FF4E6A; }

@media (max-width: 768px) {
    .settings-nav-header {
        flex-direction: column;
        align-items: stretch;
    }
    .settings-nav {
        flex-direction: column;
        gap: 8px;
    }
    .settings-nav__item {
        width: 100%;
        padding: 14px 16px;
        gap: 14px;
    }
    .settings-nav__icon { font-size: 22px; }
    .settings-nav__text strong { font-size: 14px; white-space: normal; }
    .settings-nav__text small {
        display: block;
        font-size: 12px;
        color: #64748b;
        margin-top: 2px;
        font-weight: 400;
    }
    .settings-nav__arrow {
        display: block;
        font-size: 20px;
        color: #cbd5e1;
        font-weight: 300;
        flex-shrink: 0;
    }
}

/* ── Staff mobile cards ── */
.staff-cards-mobile { display: none; flex-direction: column; gap: 12px; }
.staff-table-desktop { display: block; }

.staff-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.staff-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
}
.staff-card__avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.staff-card__info { flex: 1; min-width: 0; }
.staff-card__name { margin: 0; font-size: 14px; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.staff-card__email { margin: 2px 0 0; font-size: 12px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.staff-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    gap: 10px;
}
.staff-card__role {
    font-size: 12px;
    font-weight: 600;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.staff-card__actions { display: flex; gap: 10px; align-items: center; }
.staff-card__btn {
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
}
.staff-card__btn--edit { color: #2563eb; background: #eff6ff; }
.staff-card__btn--remove { color: #dc2626; background: #fef2f2; }

@media (max-width: 640px) {
    .staff-table-desktop { display: none !important; }
    .staff-cards-mobile { display: flex; }
}

/* Status toggle pill (staff table) */
.status-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 4px 8px;
    border-radius: 999px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
    white-space: nowrap;
}
.status-toggle:hover { opacity: 0.8; transform: scale(0.97); }
.status-toggle-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-toggle--active  { background: #dcfce7; color: #15803d; }
.status-toggle--active  .status-toggle-dot { background: #16a34a; }
.status-toggle--inactive { background: #f1f5f9; color: #64748b; }
.status-toggle--inactive .status-toggle-dot { background: #94a3b8; }

/* ============================================================
   HOME PAGE REDESIGN
   ============================================================ */

/* Hero */
.home-hero {
    background: linear-gradient(135deg, #FF4E6A 0%, #9C27B0 50%, #7C3AED 100%);
    padding: 80px 0 90px;
    overflow: hidden;
    position: relative;
}
.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 15%, rgba(245,158,11,0.20), transparent 28%),
        radial-gradient(circle at 8% 80%, rgba(255,255,255,0.08), transparent 28%);
    pointer-events: none;
}
.home-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 860px) {
    .home-hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .home-hero__visual { order: -1; max-width: 340px; margin: 0 auto; }
    .home-hero__badge { display: inline-block; }
    .home-hero__sub { max-width: 100%; }
    .home-hero__actions { justify-content: center; }
    .home-hero__actions .hh-btn { flex: 1; min-width: 140px; justify-content: center; }
    .home-hero__trust { justify-content: center; gap: 12px; }
}
@media (max-width: 480px) {
    .home-hero__actions { flex-direction: column; align-items: stretch; }
    .home-hero__actions .hh-btn { width: 100%; white-space: normal; }
}
.home-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fbbf24;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}
.home-hero__title {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 18px;
}
.home-hero__sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 520px;
}
.home-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.home-hero__trust {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.70);
    font-weight: 500;
}
.hh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}
.hh-btn--gold { background: linear-gradient(135deg, #FF4E6A, #7C3AED); color: #fff; font-weight: 800; box-shadow: 0 8px 24px rgba(255,78,106,0.35); }
.hh-btn--gold:hover { background: linear-gradient(135deg, #C2185B, #6D28D9); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,78,106,0.45); }
.hh-btn--outline { border: 2px solid rgba(255,255,255,0.55); color: #fff; background: rgba(255,255,255,0.10); backdrop-filter: blur(4px); }
.hh-btn--outline:hover { background: rgba(255,255,255,0.08); }
.hh-btn--outline-dark { border: 2px solid #FF4E6A; color: #FF4E6A; background: transparent; }
.hh-btn--outline-dark:hover { background: linear-gradient(135deg, #FF4E6A, #7C3AED); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,78,106,0.30); }

/* Hero visual card */
.home-hero__visual { position: relative; }
.hv-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px 24px 20px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.32);
    position: relative;
    z-index: 2;
}
.hv-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
/* Purple star icon circle */
.hv-icon-circle {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #fff; font-weight: 900;
    box-shadow: 0 4px 14px rgba(124,58,237,.35);
}
.hv-biz-name { font-size: 15px; font-weight: 800; color: #0b1220; }
.hv-biz-sub { font-size: 12px; color: #16a34a; margin-top: 2px; font-weight: 600; }
.hv-qr-box { text-align: center; margin-bottom: 18px; }
.hv-qr-inner {
    display: inline-block;
    padding: 18px;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}
.hv-qr-grid {
    display: grid;
    grid-template-columns: repeat(9, 12px);
    gap: 3px;
}
.hv-qr-cell {
    width: 12px; height: 12px;
    border-radius: 2px;
    background: #e2e8f0;
}
.hv-qr-cell.dark { background: #0b1220; }
.hv-qr-label { font-size: 12px; color: #64748b; margin: 10px 0 0; font-weight: 500; }
.hv-stats-row {
    display: flex;
    justify-content: space-around;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.hv-stat { text-align: center; }
.hv-stat__num { display: block; font-size: 20px; font-weight: 800; color: #0b1220; }
.hv-stat__label { display: block; font-size: 11px; color: #64748b; margin-top: 2px; }
/* Notification badges */
.hv-notif {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.16);
    font-size: 13px;
    color: #0b1220;
    z-index: 3;
    white-space: nowrap;
    animation: hv-float 3s ease-in-out infinite alternate;
}
.hv-notif strong { display: block; font-size: 13px; font-weight: 700; }
.hv-notif small { color: #64748b; font-size: 11px; }
/* Star badge (top-right) */
.hv-notif__star {
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg,#fbbf24,#f59e0b);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(245,158,11,.35);
}
/* Plus badge (bottom-left) */
.hv-notif__plus {
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg,#FF4E6A,#7C3AED);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff; font-weight: 900; line-height: 1;
    box-shadow: 0 3px 10px rgba(124,58,237,.35);
}
.hv-notif--1 { bottom: -20px; left: -24px; animation-delay: 0s; }
.hv-notif--2 { top: 12px; right: -24px; animation-delay: 1.5s; }
@keyframes hv-float { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@media (max-width: 600px) { .hv-notif { display: none; } }

/* Stats bar */
.home-stats {
    background: #fff;
    border-bottom: 2px solid #fce4ec;
    padding: 28px 0;
}
.home-stats__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.home-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 40px;
    text-align: center;
}
.home-stat-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}
.home-stat__num { font-size: 28px; font-weight: 800; color: #0b1220; }
.home-stat__label { font-size: 13px; color: #64748b; margin-top: 2px; font-weight: 500; }
@media (max-width: 600px) {
    .home-stat-item { padding: 8px 20px; }
    .home-stat__num { font-size: 22px; }
}

/* Section head */
.home-section-head {
    text-align: center;
    margin-bottom: 48px;
}
.home-section-head h2 {
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 800;
    color: #0b1220;
    margin: 8px 0 12px;
}
.home-section-head p { font-size: 16px; color: #64748b; margin: 0; }
.home-section-head--light h2 { color: #fff; }
.home-section-head--light p  { color: rgba(255,255,255,0.75); }
.home-section-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 78, 106, 0.10);
    border: 1px solid rgba(255, 78, 106, 0.25);
    color: #FF4E6A;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.home-section-tag--light {
    background: rgba(245,158,11,0.18);
    color: #fbbf24;
}

/* How it works */
.home-hiw {
    padding: 90px 0;
    background: #fdf4ff;
}
.home-hiw__grid {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.home-hiw__step {
    flex: 1 1 220px;
    max-width: 280px;
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.home-hiw__step:hover { box-shadow: 0 12px 36px rgba(255, 78, 106, 0.12); transform: translateY(-4px); border-color: #F9A8D4; }
.home-hiw__num {
    font-size: 42px;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1;
    margin-bottom: 8px;
}
.home-hiw__icon { font-size: 38px; margin-bottom: 14px; }
.home-hiw__step h3 { font-size: 17px; font-weight: 700; color: #0b1220; margin: 0 0 10px; }
.home-hiw__step p  { font-size: 14px; color: #64748b; margin: 0; line-height: 1.65; }
.home-hiw__connector {
    padding: 0 8px;
    flex-shrink: 0;
}
.hiw-line {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #FF4E6A, #e2e8f0);
}
@media (max-width: 740px) { .home-hiw__connector { display: none; } }

/* Features */
.home-features { padding: 90px 0; background: #fff; }
.home-feat__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.home-feat__card {
    padding: 30px 26px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    transition: all 0.2s;
    background: #fff;
}
.home-feat__card:hover { box-shadow: 0 10px 32px rgba(11,18,32,0.08); border-color: #F5D0FE; transform: translateY(-3px); }
.home-feat__card--highlight { background: linear-gradient(135deg, #fdf4ff, #fff); border-color: #F5D0FE; }
.home-feat__icon { font-size: 36px; margin-bottom: 14px; display: block; }
.home-feat__card h3 { font-size: 17px; font-weight: 700; color: #0b1220; margin: 0 0 10px; }
.home-feat__card p  { font-size: 14px; color: #64748b; margin: 0; line-height: 1.65; }

/* Who is it for */
.home-for { padding: 70px 0; background: #fdf4ff; }
.home-for__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}
.home-for__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    transition: all 0.2s;
}
.home-for__item span { font-size: 32px; }
.home-for__item:hover { box-shadow: 0 6px 20px rgba(255, 78, 106, 0.12); border-color: #F9A8D4; transform: translateY(-3px); }

/* Pricing teaser */
.home-pricing-teaser {
    padding: 90px 0;
    background: linear-gradient(135deg, #FF4E6A 0%, #9C27B0 50%, #7C3AED 100%);
}
.hpt-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}
.hpt-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 28px 24px;
    color: #fff;
    position: relative;
    transition: all 0.2s;
}
.hpt-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.hpt-card--golden { border-color: rgba(255,78,106,0.5); background: rgba(255,78,106,0.10); }
.hpt-popular {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 14px;
    border-radius: 999px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hpt-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.hpt-badge--free   { background: rgba(255,255,255,0.12); color: #cbd5e1; }
.hpt-badge--silver { background: rgba(148,163,184,0.2); color: #e2e8f0; }
.hpt-badge--golden { background: rgba(255,255,255,0.20); color: #fff; }
.hpt-price { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.hpt-price span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.65); }
.hpt-desc { font-size: 13px; color: rgba(255,255,255,0.70); margin-bottom: 16px; }
.hpt-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.hpt-list li { font-size: 13px; color: rgba(255,255,255,0.80); }

/* About strip */
.home-about-strip { padding: 90px 0; background: #fdf4ff; }
.home-about-strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 760px) { .home-about-strip__inner { grid-template-columns: 1fr; gap: 36px; } }
.home-about-strip__text .home-section-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 78, 106, 0.10);
    border: 1px solid rgba(255, 78, 106, 0.25);
    color: #FF4E6A;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.home-about-strip__text h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: #0b1220; margin: 0 0 14px; }
.home-about-strip__text p  { font-size: 15px; color: #64748b; line-height: 1.7; margin: 0 0 24px; }
.home-about-strip__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.has-item {
    background: linear-gradient(135deg, #fce4ec, #fdf4ff);
    border: 1px solid rgba(255, 78, 106, 0.15);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
}
.has-num { display: block; font-size: 30px; font-weight: 800; color: #0b1220; }
.has-label { display: block; font-size: 13px; color: #64748b; margin-top: 4px; }

/* Final CTA */
.home-cta {
    padding: 90px 0;
    background: linear-gradient(135deg, #FF4E6A 0%, #9C27B0 50%, #7C3AED 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.home-cta__inner h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 800; color: #fff; margin: 0 0 14px; }
.home-cta__inner p  { font-size: 16px; color: rgba(255,255,255,0.85); margin: 0 0 36px; line-height: 1.65; }
.home-cta__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.home-cta .hh-btn--gold { background: #fff; color: #FF4E6A; font-weight: 800; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.home-cta .hh-btn--gold:hover { background: #fdf4ff; color: #C2185B; transform: translateY(-2px); }
.home-cta .hh-btn--outline { border: 2px solid rgba(255,255,255,0.60); color: #fff; background: rgba(255,255,255,0.12); backdrop-filter: blur(4px); }
.home-cta .hh-btn--outline:hover { background: rgba(255,255,255,0.25); border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   PRICING PAGE
   ============================================================ */

/* FAQ Page */
.faq-category { margin-bottom: 48px; }
.faq-cat-title {
    font-size: 18px;
    font-weight: 800;
    color: #0b1220;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}
.faq-cta {
    text-align: center;
    margin-top: 48px;
    padding: 40px;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 78, 106, 0.15);
}
.faq-cta p { font-size: 18px; font-weight: 700; color: #FF4E6A; margin: 0 0 16px; }

/* Registration form section */
.reg-form-section { background: #fdf4ff; padding: 0; }
.reg-form-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.reg-form-wrap.open { max-height: 2000px; padding: 40px 0; }
.reg-form-inner {
    background: #fff;
    border-radius: 20px;
    padding: 36px 40px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(11,18,32,0.08);
    max-width: 780px;
    margin: 0 auto;
}
@media (max-width: 600px) { .reg-form-inner { padding: 24px 18px; } }
.reg-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 16px;
}
.reg-close-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    width: 36px; height: 36px;
    font-size: 16px;
    cursor: pointer;
    color: #64748b;
    flex-shrink: 0;
    transition: background 0.15s;
}
.reg-close-btn:hover { background: #e2e8f0; color: #0b1220; }

/* Hero */
.pricing-hero {
    padding: 80px 0 70px;
    text-align: center;
    background: linear-gradient(135deg, #FF4E6A 0%, #9C27B0 50%, #7C3AED 100%);
    color: #fff;
}
.pricing-hero__badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.40);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.pricing-hero__title {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 18px;
    color: #fff;
}
.pricing-hero__sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* Section common */
.section-title {
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 800;
    color: #0b1220;
    text-align: center;
    margin: 0 0 10px;
}
.section-sub {
    font-size: 16px;
    color: #6b5b7b;
    text-align: center;
    margin: 0 auto 44px;
    max-width: 560px;
    line-height: 1.65;
}

/* How It Works */
.hiw-section { padding: 80px 0; background: #fdf4ff; }
.hiw-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}
.hiw-card {
    background: #fff;
    border: 1px solid #f0e6f6;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    flex: 1;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06);
}
.hiw-card:hover { box-shadow: 0 8px 28px rgba(255, 78, 106, 0.14); transform: translateY(-3px); transition: all 0.2s; border-color: #F9A8D4; }
.hiw-icon { font-size: 42px; margin-bottom: 12px; }
.hiw-step { font-size: 12px; font-weight: 700; color: #FF4E6A; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.hiw-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: #0b1220; }
.hiw-card p { font-size: 14px; color: #64748b; margin: 0; line-height: 1.6; }
.hiw-arrow {
    font-size: 28px;
    color: #cbd5e1;
    padding: 0 8px;
    align-self: center;
    flex-shrink: 0;
}
@media (max-width: 700px) {
    .hiw-arrow { display: none; }
    .hiw-grid {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    .hiw-card {
        flex: none;
        width: 100%;
        padding: 22px 20px;
    }
}

/* Earn points */
.earn-section { padding: 64px 0; background: #fdf4ff; }
.earn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.earn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    transition: box-shadow 0.2s;
}
.earn-item:hover { box-shadow: 0 6px 20px rgba(11,18,32,0.08); }
.earn-icon { font-size: 30px; }

/* Plans section */
.plans-section { padding: 80px 0; background: #fdf4ff; }

/* Duration tabs */
.duration-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.dur-tab {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dur-tab:hover { border-color: #FF4E6A; color: #FF4E6A; }
.dur-tab.active { background: #FF4E6A; border-color: #FF4E6A; color: #fff; }
.dur-save {
    font-size: 11px;
    font-weight: 700;
    background: rgba(255,255,255,0.25);
    padding: 2px 7px;
    border-radius: 999px;
}
.dur-tab:not(.active) .dur-save {
    background: rgba(255, 78, 106, 0.10);
    color: #FF4E6A;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    margin-left: 6px;
}

/* Plans grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
    align-items: start;
}

/* Single plan — centered hero layout */
.plans-grid--single {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
}
.plans-grid--single .plan-card {
    border-width: 2px;
    border-color: #FF4E6A;
    background: linear-gradient(160deg, #fce4ec 0%, #fff 55%);
    box-shadow: 0 20px 60px rgba(255, 78, 106, 0.18);
    padding: 40px 48px;
    text-align: center;
}
.plans-grid--single .plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(255, 78, 106, 0.26);
}
.plans-grid--single .plan-features {
    text-align: left;
    max-width: 340px;
    margin: 0 auto 28px;
}
.plans-grid--single .plan-cta,
.plans-grid--single .open-form-btn {
    max-width: 320px;
    margin: 0 auto;
    display: block;
}
.plan-card {
    background: #fff;
    border: 1.5px solid #f0e6f6;
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    transition: all 0.22s;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06);
}
.plan-card:hover { box-shadow: 0 14px 40px rgba(255, 78, 106, 0.15); transform: translateY(-4px); border-color: #F9A8D4; }
.plan-card--silver { border-color: #94a3b8; }
.plan-card--golden { border-color: #FF4E6A; background: linear-gradient(160deg, #fce4ec 0%, #fff 60%); }
.plan-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 18px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.plan-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.plan-badge--free   { background: #f1f5f9; color: #475569; }
.plan-badge--silver { background: #e2e8f0; color: #1e293b; }
.plan-badge--golden { background: #fce4ec; color: #FF4E6A; }
.plan-name { font-size: 22px; font-weight: 800; margin: 0 0 12px; color: #0b1220; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.plan-price__amount { font-size: 36px; font-weight: 800; color: #0b1220; }
.plan-price__period { font-size: 14px; color: #64748b; font-weight: 500; }
.plan-tagline { font-size: 13px; color: #64748b; margin: 0 0 24px; }
.plan-free-note { font-size: 13px; font-weight: 700; color: #16a34a; margin: 0 0 6px; }
.plan-free-note:last-of-type { margin-bottom: 24px; }

/* Paid / Enterprise — same visual style as the Free plan card, matched height */
.plans-grid--extra { max-width: 900px; margin: 0 auto; align-items: stretch; }
.plans-grid--extra .plan-card { display: flex; flex-direction: column; height: 100%; }
.plan-card--accent {
    border-width: 2px;
    border-color: #FF4E6A;
    background: linear-gradient(160deg, #fce4ec 0%, #fff 55%);
    text-align: center;
    justify-content: center;
}
.plan-card--accent .plan-cta {
    max-width: 220px;
    margin: 24px auto 0;
}
.need-more-options { display: flex; flex-direction: column; gap: 16px; text-align: left; max-width: 320px; margin: 0 auto; }
.need-more-option .feat { margin: 0 0 4px; }
.need-more-desc { font-size: 13px; color: #64748b; margin: 0; line-height: 1.5; padding-left: 28px; }
@media (max-width: 640px) {
    .plans-grid--extra { grid-template-columns: 1fr !important; }
}
.plan-features { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feat { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #374151; }
.feat::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.feat--yes::before { content: '✓'; background: #dcfce7; color: #16a34a; font-weight: 800; }
.feat--no { color: #94a3b8; }
.feat--no::before { content: '✕'; background: #f1f5f9; color: #cbd5e1; font-weight: 800; }
.plan-cta {
    display: block;
    text-align: center;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
}
.plan-cta--outline { border: 2px solid #FF4E6A; color: #FF4E6A; background: transparent; }
.plan-cta--outline:hover { background: linear-gradient(135deg, #FF4E6A, #7C3AED); color: #fff; border-color: transparent; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,78,106,0.28); }
.plan-cta--silver { background: linear-gradient(135deg, #FF4E6A, #7C3AED); color: #fff; box-shadow: 0 6px 20px rgba(255,78,106,0.28); }
.plan-cta--silver:hover { background: linear-gradient(135deg, #C2185B, #6D28D9); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255,78,106,0.38); }
.plan-cta--golden { background: linear-gradient(135deg, #FF4E6A, #7C3AED); color: #fff; font-weight: 800; box-shadow: 0 6px 20px rgba(255,78,106,0.35); }
.plan-cta--golden:hover { background: linear-gradient(135deg, #C2185B, #6D28D9); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,78,106,0.45); }
.plans-note { text-align: center; color: #94a3b8; font-size: 13px; margin-top: 32px; }
.plans-note a { color: #FF4E6A; }

/* ── Plans responsive ── */
@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .plan-card {
        padding: 28px 22px;
    }
    .duration-tabs {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    .dur-tab {
        flex: 0 0 auto;
    }
}

/* Compare table */
.compare-section { padding: 80px 0; background: #fdf4ff; }
.compare-wrap { overflow-x: auto; }
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11,18,32,0.07);
    font-size: 14px;
}
.compare-table th,
.compare-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}
.compare-table th:first-child,
.compare-table td:first-child { text-align: left; font-weight: 600; color: #374151; }
.compare-table thead th { background: linear-gradient(135deg, #FF4E6A, #7C3AED); color: #fff; font-size: 13px; font-weight: 700; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: #f8fafc; }
.ct-badge { padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.ct-badge--free   { background: #f1f5f9; color: #475569; }
.ct-badge--silver { background: #e2e8f0; color: #1e293b; }
.ct-badge--golden { background: #fce4ec; color: #FF4E6A; }

/* FAQ */
.faq-section { padding: 80px 0; background: #fdf4ff; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid #f0e6f6; border-radius: 14px; overflow: hidden; background: #fff; }
.faq-q {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #1a0a2e;
    font-family: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color 0.15s;
}
.faq-q::after { content: '+'; font-size: 22px; font-weight: 400; color: #94a3b8; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
    display: none;
    padding: 0 22px 18px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}
.faq-a a { color: #FF4E6A; }
.faq-item.open .faq-a { display: block; }

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #FF4E6A 0%, #9C27B0 50%, #7C3AED 100%);
    text-align: center;
    color: #fff;
}
.cta-banner__inner h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 800; margin: 0 0 14px; color: #fff; }
.cta-banner__inner p  { font-size: 16px; color: rgba(255,255,255,0.80); margin: 0 0 32px; }
.cta-banner__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero buttons (shared) */
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
}
.hero-btn--primary  { background: linear-gradient(135deg, #FF4E6A, #7C3AED); color: #fff; box-shadow: 0 6px 20px rgba(255,78,106,0.35); }
.hero-btn--primary:hover  { background: linear-gradient(135deg, #C2185B, #6D28D9); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255,78,106,0.45); }
.hero-btn--secondary { border: 2px solid rgba(255,255,255,0.3); color: #fff; }
.hero-btn--secondary:hover { background: rgba(255,255,255,0.1); }

/* ── Partner Customers List ── */
.page-count-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    align-self: center;
}
.cust-name { font-weight: 600; font-size: 14px; color: #0f172a; }
.cust-email { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.member-code { font-size: 12px; background: #f8fafc; border: 1px solid #e2e8f0; padding: 2px 7px; border-radius: 6px; letter-spacing: 0.5px; }
.pts-earned { color: #16a34a; font-weight: 700; }
.pts-used   { color: #dc2626; font-weight: 700; }
.pts-net-pos { color: #FF4E6A; font-weight: 700; }
.td-muted   { color: #94a3b8; font-size: 13px; }
.pagination-wrap { margin-top: 24px; }

/* ── Customer Detail Page ── */
.back-link { display: inline-flex; align-items: center; gap: 6px; color: #64748b; font-size: 14px; text-decoration: none; margin-bottom: 20px; }
.back-link:hover { color: #0f172a; }
.cust-detail-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.cust-detail-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF4E6A, #7c3aed);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cust-detail-info { flex: 1; min-width: 180px; }
.cust-detail-name { font-size: 20px; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.cust-detail-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #64748b; }
.cust-detail-meta code { font-size: 12px; background: #f1f5f9; padding: 2px 7px; border-radius: 6px; }
.cust-detail-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.cust-stat { text-align: center; min-width: 72px; }
.cust-stat-val { display: block; font-size: 22px; font-weight: 800; line-height: 1; }
.cust-stat-lbl { display: block; font-size: 11px; color: #94a3b8; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.4px; }
.section-heading { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 12px; }

/* source badges */
.source-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.source-billing      { background: #FCE4EC; color: #C2185B; }
.source-offer_redeem { background: #fef3c7; color: #92400e; }
.source-business      { background: #dcfce7; color: #15803d; }
.source-login        { background: #f3e8ff; color: #7e22ce; }

/* ═══════════════════════════════════════════════════════════════
   CLAIM REQUESTS
   ═══════════════════════════════════════════════════════════════ */
.cr-page-head-row { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.cr-new-btn { white-space:nowrap; }

/* Status badges */
.cr-badge { display:inline-block; padding:2px 10px; border-radius:20px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.cr-badge--pending  { background:#fef3c7; color:#92400e; }
.cr-badge--approved { background:#d1fae5; color:#065f46; }
.cr-badge--rejected { background:#fee2e2; color:#991b1b; }

/* Table extras */
.cr-reason-cell { max-width:160px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:13px; color:#6b7280; }
.cr-reason-pill { font-size:12px; color:#6b7280; background:#f3f4f6; border-radius:6px; padding:2px 8px; cursor:default; }
.cr-bill-link { color:#7c3aed; font-weight:600; font-size:13px; text-decoration:none; }
.cr-bill-link:hover { text-decoration:underline; }

/* Action buttons in table */
.cr-action-btns { display:flex; gap:6px; }
.cr-btn-sm { padding:5px 12px; border-radius:7px; font-size:12px; font-weight:700; cursor:pointer; border:none; font-family:inherit; }
.cr-btn-sm--approve { background:#059669; color:#fff; }
.cr-btn-sm--approve:hover { background:#047857; }
.cr-btn-sm--reject  { background:#ef4444; color:#fff; }
.cr-btn-sm--reject:hover  { background:#dc2626; }

/* Modal */
.cr-modal { display:none; position:fixed; inset:0; z-index:1000; background:rgba(0,0,0,.45); align-items:center; justify-content:center; padding:16px; }
.cr-modal--open { display:flex; }
.cr-modal-box { background:#fff; border-radius:16px; width:100%; max-width:480px; max-height:92vh; overflow-y:auto; padding:28px 28px 24px; box-shadow:0 20px 60px rgba(0,0,0,.2); }
.cr-modal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.cr-modal-title { margin:0; font-size:18px; font-weight:700; color:#111827; }
.cr-modal-close { background:none; border:none; cursor:pointer; font-size:24px; color:#6b7280; line-height:1; padding:2px 6px; border-radius:6px; }
.cr-modal-close:hover { background:#f3f4f6; color:#1f2937; }
.cr-form { display:flex; flex-direction:column; gap:16px; }

/* Searchable select */
.cr-s2-wrap { position:relative; }
.cr-s2-display { width:100%; padding:10px 12px; border:1.5px solid #e5e7eb; border-radius:10px; font-size:14px; color:#1f2937; background:#fff; cursor:pointer; user-select:none; }
.cr-s2-wrap.open .cr-s2-display { border-color:#7c3aed; box-shadow:0 0 0 3px rgba(124,58,237,.12); }
.cr-s2-dropdown { display:none; position:absolute; top:calc(100% + 4px); left:0; right:0; background:#fff; border:1.5px solid #e5e7eb; border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,.12); z-index:200; overflow:hidden; }
.cr-s2-wrap.open .cr-s2-dropdown { display:block; }
.cr-s2-search { width:100%; padding:9px 12px; border:none; border-bottom:1px solid #f3f4f6; font-size:13px; font-family:inherit; outline:none; box-sizing:border-box; }
.cr-s2-list { list-style:none; margin:0; padding:4px 0; max-height:180px; overflow-y:auto; }
.cr-s2-list li { padding:8px 14px; font-size:14px; cursor:pointer; color:#1f2937; }
.cr-s2-list li:hover { background:#f5f3ff; color:#7c3aed; }

/* Desktop/Mobile visibility */
.cr-desktop-only { display:block; }
.cr-mobile-only  { display:none; }

/* Mobile cards */
.cr-card { background:#fff; border-radius:14px; padding:16px; box-shadow:0 1px 4px rgba(0,0,0,.08); margin-bottom:12px; border:1px solid #f3f4f6; }
.cr-card-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.cr-card-biz { font-weight:700; font-size:15px; color:#111827; }
.cr-card-row { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; padding:5px 0; border-bottom:1px solid #f9fafb; font-size:14px; }
.cr-card-row:last-of-type { border-bottom:none; }
.cr-card-lbl { color:#6b7280; font-weight:500; flex-shrink:0; }
.cr-card-date { font-size:12px; color:#9ca3af; margin-top:8px; }
.cr-card-actions { margin-top:12px; }
.cr-reason-txt { color:#6b7280; font-size:13px; text-align:right; }
.cr-empty-card { color:#6b7280; text-align:center; padding:24px; background:#fff; border-radius:14px; border:1px solid #f3f4f6; }

@media (max-width:700px) {
    .cr-desktop-only { display:none; }
    .cr-mobile-only  { display:block; }
    .cr-page-head-row { flex-direction:column; }
    .cr-new-btn { width:100%; }
    .cr-modal-box { padding:20px 16px; }
}

/* ── Claim Requests Filters ───────────────────────────── */
.cr-filter-card { margin-bottom: 20px; }
.cr-filter-form { }
.cr-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    align-items: flex-end;
}
.cr-filter-field { display: flex; flex-direction: column; gap: 6px; }
.cr-filter-label { font-size: 13px; font-weight: 600; color: #374151; }
.cr-filter-select {
    padding: 9px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    color: #1f2937;
    background: #fff;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s;
}
.cr-filter-select:focus { outline: none; border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.cr-filter-actions { display: flex; gap: 8px; align-items: flex-end; }
.cr-filter-btn { padding: 9px 20px; font-size: 14px; white-space: nowrap; }

@media (max-width: 600px) {
    .cr-filter-grid { grid-template-columns: 1fr; }
    .cr-filter-actions { flex-direction: row; }
    .cr-filter-btn { flex: 1; justify-content: center; }
}

.cr-filter-grid--3 { grid-template-columns: 1fr 1.5fr auto; }
@media (max-width: 600px) { .cr-filter-grid--3 { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   DASHBOARD — Business / Staff
══════════════════════════════════════════════════════════════ */
.biz-stat-strip{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px;}
.biz-stat-card{flex:1;min-width:200px;background:#fff;border:1.5px solid #e2e8f0;border-radius:14px;padding:18px 20px;display:flex;align-items:center;gap:16px;}
.biz-stat-icon{width:44px;height:44px;border-radius:12px;background:#ecfdf5;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;}
.biz-stat-body{flex:1;min-width:0;}
.biz-stat-value{font-size:28px;font-weight:800;color:#0f172a;line-height:1;}
.biz-stat-label{font-size:12px;color:#64748b;margin-top:3px;font-weight:500;}
.biz-stat-link{font-size:12px;color:#059669;font-weight:600;text-decoration:none;white-space:nowrap;}
.biz-stat-link:hover{text-decoration:underline;}

.biz-dash-main-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}
.biz-stat-col { display: flex; flex-direction: column; gap: 12px; }
.biz-qr-inner { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; padding: 24px; }
.biz-qr-img-wrap { flex-shrink: 0; background: linear-gradient(135deg,#f0fdf4,#ecfdf5); border: 1px solid #bbf7d0; border-radius: 14px; padding: 14px; display: flex; align-items: center; justify-content: center; }
.biz-qr-info { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 768px) {
    .biz-dash-main-grid { grid-template-columns: 1fr; }
    .biz-stat-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .biz-qr-inner { flex-direction: column; align-items: center; padding: 18px; gap: 18px; }
    .biz-qr-img-wrap { width: 100%; justify-content: center; }
    .biz-qr-info { min-width: 0; width: 100%; }
}
@media (max-width: 480px) {
    .biz-stat-col { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   DASHBOARD — Customer
══════════════════════════════════════════════════════════════ */

/* Full-screen QR modal */
.qr-fs-modal{display:none;position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.82);align-items:center;justify-content:center;padding:20px;}
.qr-fs-inner{background:#fff;border-radius:16px;padding:32px 28px 24px;display:flex;flex-direction:column;align-items:center;gap:12px;max-width:380px;width:100%;position:relative;box-shadow:0 24px 60px rgba(0,0,0,.4);}
.qr-fs-close{position:absolute;top:12px;right:14px;background:none;border:none;font-size:22px;cursor:pointer;color:#64748b;line-height:1;}
.qr-fs-close:hover{color:#0f172a;}
.qr-fs-img{width:260px;height:260px;object-fit:contain;border-radius:10px;}
.qr-fs-caption{font-size:13px;color:#64748b;font-family:monospace;letter-spacing:.06em;}
.qr-fs-name{font-size:15px;font-weight:700;color:#0f172a;margin-top:4px;}
.ov-qr-btn--fullscreen{background:#f1f5f9;color:#334155;border:1.5px solid #cbd5e1;}
.ov-qr-btn--fullscreen:hover{background:#e2e8f0;}

/* Per-business breakdown */
.biz-breakdown-list{display:flex;flex-direction:column;gap:10px;margin-top:12px;}
.biz-breakdown-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#f8fafc;border-radius:10px;flex-wrap:wrap;}
.biz-breakdown-name{font-size:14px;font-weight:600;color:#1e293b;flex:1;min-width:0;}
.biz-breakdown-stats{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.biz-bd-pill{font-size:12px;padding:3px 10px;border-radius:20px;white-space:nowrap;font-weight:500;}
.biz-bd-pill--earned{background:#dcfce7;color:#166534;}
.biz-bd-pill--used{background:#fee2e2;color:#991b1b;}

/* ATM Loyalty Card */
.lc-section-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#9ca3af;margin-bottom:12px;}
.lc-card{
    width:100%;max-width:420px;
    aspect-ratio:85.6/54;
    background:linear-gradient(135deg,#FF4E6A 0%,#9C27B0 48%,#7C3AED 100%);
    border-radius:16px;
    position:relative;overflow:hidden;
    padding:20px 20px 18px;
    box-sizing:border-box;
    display:block;
    box-shadow:0 20px 50px rgba(124,58,237,0.35),0 6px 18px rgba(255,78,106,0.2);
    color:#fff;
    font-family:'Inter',system-ui,sans-serif;
}
.lc-card::before{content:'';position:absolute;top:-40px;right:-30px;width:180px;height:180px;background:rgba(255,255,255,0.07);border-radius:50%;}
.lc-card::after{content:'';position:absolute;bottom:-50px;left:-25px;width:150px;height:150px;background:rgba(255,255,255,0.05);border-radius:50%;}
.lc-shine{position:absolute;top:0;left:0;right:0;height:55%;background:linear-gradient(180deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,0) 100%);border-radius:16px 16px 0 0;pointer-events:none;}
.lc-inner{display:flex;gap:0;height:100%;position:relative;z-index:1;min-width:0;}
.lc-left{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-start;padding-right:10px;overflow:hidden;}
.lc-top{display:flex;align-items:flex-start;}
.lc-brand{font-size:18px;font-weight:800;letter-spacing:.3px;display:flex;align-items:center;gap:6px;}
.lc-brand-dot{width:10px;height:10px;background:#F59E0B;border-radius:50%;display:inline-block;box-shadow:0 0 6px rgba(245,158,11,.7);}
.lc-brand-sub{font-size:9px;font-weight:600;color:rgba(255,255,255,.65);text-transform:uppercase;letter-spacing:1px;margin-top:2px;}
.lc-middle{margin-top:auto;margin-bottom:0;}
.lc-num-label{font-size:9px;color:rgba(255,255,255,.65);text-transform:uppercase;letter-spacing:1.5px;margin-bottom:4px;}
.lc-num{font-size:13px;font-weight:700;letter-spacing:2px;font-family:'Courier New',monospace;text-shadow:0 1px 4px rgba(0,0,0,.3);word-spacing:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.lc-bottom{margin-top:6px;}
.lc-holder-label{font-size:9px;color:rgba(255,255,255,.65);text-transform:uppercase;letter-spacing:1px;margin-bottom:3px;}
.lc-holder-name{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.lc-right{flex-shrink:0;width:110px;display:flex;align-items:flex-start;justify-content:flex-end;}
.lc-qr-box{background:#fff;border-radius:10px;padding:5px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,0.18);}
.lc-qr-box img{width:98px;height:98px;object-fit:contain;display:block;}
.lc-qr-na{width:98px;height:98px;background:rgba(255,255,255,.15);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:9px;color:rgba(255,255,255,.6);text-align:center;}

/* Card action buttons */
.lc-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap;}
.lc-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:10px;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer;border:none;transition:all .18s;}
.lc-btn--primary{background:linear-gradient(135deg,#FF4E6A,#7C3AED);color:#fff;box-shadow:0 4px 14px rgba(124,58,237,.3);}
.lc-btn--primary:hover{box-shadow:0 6px 20px rgba(124,58,237,.45);transform:translateY(-1px);}
.lc-btn--ghost{background:#fff;color:#7C3AED;border:1.5px solid #ddd6fe;}
.lc-btn--ghost:hover{background:#f5f3ff;border-color:#7C3AED;}
.lc-btn--outline{background:#fff;color:#475569;border:1.5px solid #e2e8f0;}
.lc-btn--outline:hover{background:#f8fafc;}

/* Customer dashboard grid */
.cust-dash-new-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px;align-items:start;}
.cust-pts-col{display:flex;flex-direction:column;gap:14px;}
.cust-pts-header{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.cust-pts-big-tile{background:linear-gradient(135deg,#fdf4ff 0%,#fce4ec 100%);border:1.5px solid #f0e6f6;border-radius:16px;padding:22px 24px;display:flex;align-items:center;gap:18px;box-sizing:border-box;width:100%;}
.cust-pts-sub-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}

@media(max-width:860px){
    .cust-dash-new-grid{grid-template-columns:1fr;}
    .cust-lc-section{padding:20px !important;}
}
@media(max-width:640px){
    .ov-hero--customer{display:flex !important;flex-direction:column !important;align-items:stretch !important;justify-content:flex-start !important;padding:16px !important;gap:10px !important;overflow:hidden !important;box-sizing:border-box !important;}
    .ov-hero--customer .ov-hero-left{min-width:0 !important;flex:none !important;width:100% !important;}
    .ov-hero-member-strip--aside{flex:none !important;width:100% !important;max-width:100% !important;margin:0 !important;box-sizing:border-box !important;padding:10px 14px !important;}
    .cust-member-id-pill{display:flex !important;flex-wrap:wrap !important;width:100% !important;box-sizing:border-box !important;align-items:center !important;gap:6px !important;}
    .cust-member-id-value{white-space:normal !important;word-break:break-all !important;font-size:14px !important;letter-spacing:0.06em !important;flex:1 !important;min-width:0 !important;}
    .cust-lc-section{padding:16px !important;}
    .cust-pts-header{flex-wrap:wrap;}
    .cust-pts-big-tile{padding:16px !important;gap:14px !important;}
    .cust-pts-sub-grid{grid-template-columns:1fr 1fr !important;}
}
@media(max-width:480px){
    .cust-lc-section{padding:12px !important;}
    .lc-card{border-radius:12px;padding:12px 12px 10px;}
    .lc-brand{font-size:14px;}
    .lc-num{font-size:11px;letter-spacing:1px;word-spacing:2px;}
    .lc-holder-name{font-size:10px;}
    .lc-right{width:72px;}
    .lc-qr-box img{width:60px;height:60px;}
    .lc-qr-na{width:60px;height:60px;}
    .lc-actions{flex-direction:column;}
    .lc-btn{width:100%;justify-content:center;}
    .cust-pts-big-tile{padding:14px !important;gap:12px !important;}
}


/* ══════════════════════════════════════════════════════════════
   CUSTOMER NOTIFICATION / INBOX POPUP
══════════════════════════════════════════════════════════════ */
/* Two instances: --fixed (mobile only, in header-row) and --desktop (inside header-right) */
.cust-notif-wrap { position: relative; }

/* Mobile-only icon: hidden on desktop */
.cust-notif-wrap--fixed { display: none; }

/* Desktop icon: always visible inside header-right */
.cust-notif-wrap--desktop { display: flex; align-items: center; }

@media (max-width: 1280px) {
    /* Show mobile icon in header-row: logo | [space] | notif-icon | hamburger */
    .cust-notif-wrap--fixed {
        display: flex;
        align-items: center;
        margin-left: auto;  /* push everything right */
    }
    /* Desktop icon hidden (header-right is hidden anyway, but be explicit) */
    .cust-notif-wrap--desktop { display: none; }

    /* Dropdown opens downward, aligned right */
    .cust-notif-wrap--fixed .cust-notif-dropdown {
        right: 0;
        left: auto;
        width: 290px;
    }
}

.cust-notif-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fdf4ff;
    border: 1.5px solid #f0e6f6;
    color: #7C3AED;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
}
.cust-notif-btn:hover { background: #f3e5f5; border-color: #FF4E6A; }

.cust-notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    border: 2px solid #fff;
}

.cust-notif-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid #f0e6f6;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(124,58,237,0.13), 0 2px 8px rgba(0,0,0,0.06);
    z-index: 9999;
    overflow: hidden;
}
.cust-notif-dropdown.open { display: block; }

.cust-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #f5f0fc;
    background: linear-gradient(135deg, #fdf4ff, #fce4ec 100%);
}
.cust-notif-title {
    font-size: 16px;
    font-weight: 800;
    color: #1a0a2e;
    margin: 0;
}

.cust-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid #faf7ff;
    text-decoration: none;
    transition: background 0.12s;
    cursor: pointer;
}
.cust-notif-item:hover { background: #fdf4ff; }
.cust-notif-item--points { background: #fafeff; }
.cust-notif-item--points:hover { background: #f3e5f5; }

.cni-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.cni-icon--purple { background: #ede9fe; color: #7C3AED; }
.cni-icon--pink   { background: #fce4ec; color: #FF4E6A; }

.cni-body { flex: 1; min-width: 0; }
.cni-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a0a2e;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cni-sub {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 2px;
}
.cni-earned { color: #059669; font-weight: 700; }
.cni-used   { color: #FF4E6A; font-weight: 600; }
.cni-date   { font-size: 11px; color: #9ca3af; margin: 0; }

.cni-arrow {
    font-size: 18px;
    color: #d1d5db;
    font-weight: 300;
    align-self: center;
    flex-shrink: 0;
}

.cust-notif-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    padding: 10px 18px 6px;
    background: #fafafa;
    border-bottom: 1px solid #f5f0fc;
}

.cni-empty {
    padding: 14px 18px;
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
}

.cust-notif-footer {
    display: block;
    text-align: center;
    padding: 11px 18px;
    font-size: 12px;
    font-weight: 700;
    color: #7C3AED;
    text-decoration: none;
    border-top: 1px solid #f5f0fc;
    background: #fafeff;
    transition: background 0.12s;
}
.cust-notif-footer:hover { background: #f3e5f5; color: #FF4E6A; }

@media (max-width: 640px) {
    .cust-notif-dropdown { width: 290px; right: -8px; }
}





/* ══════════════════════════════════════════════════════════════
   HOME PAGE — NEW SECTIONS (Problem, Why, Benefits, Pricing, FAQ)
══════════════════════════════════════════════════════════════ */

/* FOLD 2 – Problem */
.home-problem { padding: 72px 0; background: #fff; }
.home-problem .home-section-head p { max-width: 680px; margin: 0 auto; font-size: 16px; line-height: 1.7; color: #4b5563; }

/* FOLD 4 – Why Bonocard */
.home-why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    max-width: 820px;
    margin: 0 auto 8px;
}
.home-why__item {
    background: #fff;
    border: 1.5px solid #f0e6f6;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #1a0a2e;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* FOLD 7 – Benefits */
.home-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.home-benefit__item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}
.home-benefit__icon { font-size: 20px; flex-shrink: 0; }

/* FOLD 9 – Pricing Teaser */
.home-plans-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 560px;
    margin: 0 auto;
}
.home-plan-card {
    position: relative;
    background: #fff;
    border: 1.5px solid #e9d5ff;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow .2s, transform .2s;
}
.home-plan-card:hover { box-shadow: 0 8px 28px rgba(124,58,237,.12); transform: translateY(-3px); }
.home-plan-card--featured { border-color: #FF4E6A; box-shadow: 0 4px 20px rgba(255,78,106,.12); }
.home-plan-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 99px;
    white-space: nowrap;
}
.home-plan-card__icon { font-size: 32px; margin-bottom: 10px; }
.home-plan-card h3 { font-size: 18px; font-weight: 800; color: #1a0a2e; margin: 0 0 8px; }
.home-plan-card p { font-size: 13px; color: #6b7280; margin: 0; line-height: 1.5; }

/* FOLD 10 – FAQ */
.home-faq__list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.home-faq__item {
    background: #fff;
    border: 1.5px solid #e9d5ff;
    border-radius: 12px;
    overflow: hidden;
}
.home-faq__item summary {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #1a0a2e;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
}
.home-faq__item summary::-webkit-details-marker { display: none; }
.home-faq__item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: #7C3AED;
    flex-shrink: 0;
    transition: transform .2s;
}
.home-faq__item[open] summary::after { transform: rotate(45deg); }
.home-faq__item[open] summary { color: #FF4E6A; border-bottom: 1px solid #f0e6f6; }
.home-faq__item p {
    padding: 14px 20px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .home-plans-row { grid-template-columns: 1fr; max-width: 360px; }
    .home-why__grid { grid-template-columns: 1fr 1fr; }
    .home-benefits__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   HOME — CUSTOMER REVIEWS SECTION
══════════════════════════════════════════════════════════════ */
.home-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.home-review-card {
    background: #fff;
    border: 1.5px solid #f0e6f6;
    border-radius: 16px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(124,58,237,.05);
    transition: box-shadow .2s, transform .2s;
}
.home-review-card:hover { box-shadow: 0 8px 28px rgba(124,58,237,.12); transform: translateY(-3px); }
.home-review-card__stars { color: #F59E0B; font-size: 16px; letter-spacing: 2px; }
.home-review-card__text {
    font-size: 14px;
    color: #374151;
    line-height: 1.65;
    margin: 0;
    flex: 1;
    font-style: italic;
}
.home-review-card__top { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
.home-review-card__biz-tag { font-size:11px; font-weight:700; color:#7C3AED; background:#f3e8ff; border-radius:20px; padding:3px 10px; white-space:nowrap; max-width:140px; overflow:hidden; text-overflow:ellipsis; }
.home-review-card__footer { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.home-review-card__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF4E6A, #7C3AED);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-review-card__name { font-size: 13px; font-weight: 700; color: #1a0a2e; margin: 0 0 2px; }
.home-review-card__biz  { font-size: 11px; color: #9ca3af; margin: 0; }

@media (max-width: 860px) { .home-reviews__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .home-reviews__grid { grid-template-columns: 1fr; } }
