.customer-area {
    min-height: 72vh;
    padding: 128px 0 84px;
    background:
        radial-gradient(circle at 8% 8%, rgba(92, 157, 245, 0.17), transparent 30%),
        radial-gradient(circle at 88% 92%, rgba(200, 243, 241, 0.4), transparent 34%),
        linear-gradient(180deg, #f8fcff 0%, #f4f8ff 100%);
}

.customer-area-wrap {
    position: relative;
    max-width: 100%;
    --bs-gutter-x: 2rem;
}

.customer-area-wrap > .row > *,
.customer-content-surface > * {
    min-width: 0;
    max-width: 100%;
}

.customer-content-surface {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.customer-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.customer-alert i {
    font-size: 1.08rem;
}

.customer-alert-success {
    color: #0f5132;
    background: rgba(35, 192, 131, 0.16);
    border: 1px solid rgba(35, 192, 131, 0.28);
}

.customer-alert-error {
    color: #9b2c2c;
    background: rgba(243, 108, 120, 0.14);
    border: 1px solid rgba(243, 108, 120, 0.24);
}

.customer-sidebar {
    position: sticky;
    top: 108px;
    border: 1px solid rgba(92, 157, 245, 0.15);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(15, 39, 74, 0.09);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.customer-sidebar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(92, 157, 245, 0.14);
}

.customer-sidebar-head strong {
    display: block;
    color: #303047;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
}

.customer-sidebar-head small {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
}

.customer-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(92, 157, 245, 0.2);
    border-radius: 10px;
    color: var(--cln-primary);
    background: #f8fcff;
    font-size: 1.2rem;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.customer-sidebar-toggle[aria-expanded="true"] {
    color: #ffffff;
    background: var(--cln-primary);
}

.customer-sidebar-nav {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.customer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #344155;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.customer-link span:not(.customer-menu-badge) {
    min-width: 0;
}

.customer-menu-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-left: auto;
    padding: 0 8px;
    border-radius: 999px;
    color: #ffffff;
    background: #f36c78;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(243, 108, 120, 0.22);
}

.customer-link.active .customer-menu-badge {
    color: var(--cln-primary);
    background: #ffffff;
    box-shadow: none;
}

.customer-link i {
    font-size: 1rem;
}

.customer-link:hover {
    color: var(--cln-primary);
    background: rgba(92, 157, 245, 0.12);
    transform: translateY(-1px);
}

.customer-link.active {
    color: #ffffff;
    background: linear-gradient(140deg, #1B466D 0%, #112F4E 58%, #0A2138 100%);
    box-shadow: 0 14px 28px rgba(47, 128, 237, 0.28);
}

.customer-link.active i {
    color: #ffffff;
}

.customer-logout-form {
    padding: 0 14px 14px;
}

.customer-logout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(243, 108, 120, 0.3);
    border-radius: 12px;
    color: #c53949;
    background: rgba(243, 108, 120, 0.1);
    font-size: 0.92rem;
    font-weight: 900;
    transition: transform 180ms ease, background 180ms ease;
}

.customer-logout-button:hover {
    transform: translateY(-1px);
    background: rgba(243, 108, 120, 0.16);
}

.customer-hero-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    border-radius: 24px;
    color: #ffffff;
    background: linear-gradient(140deg, #1B466D 0%, #112F4E 58%, #0A2138 100%);
    box-shadow: 0 24px 52px rgba(47, 128, 237, 0.24);
}

.customer-hero-eyebrow {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.customer-hero-card h2,
.customer-points-hero h2 {
    margin: 14px 0 0;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.12;
}

.customer-hero-card p,
.customer-points-hero p {
    max-width: 620px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    line-height: 1.56;
}

.customer-points-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.customer-points-pill i {
    font-size: 1.25rem;
}

.customer-points-pill small {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
}

.customer-points-pill strong {
    display: block;
    margin-top: 2px;
    color: #ffffff;
    font-size: 1.22rem;
    font-weight: 900;
}

.customer-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.customer-metric-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(92, 157, 245, 0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 39, 74, 0.06);
}

.customer-metric-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--cln-primary);
    background: rgba(92, 157, 245, 0.14);
    font-size: 1.18rem;
}

.customer-metric-card strong {
    display: block;
    color: #2f3447;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.1;
}

.customer-metric-card small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 700;
}

.customer-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.customer-quick-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 122px;
    padding: 18px;
    border: 1px solid rgba(92, 157, 245, 0.15);
    border-radius: 18px;
    color: #2f3447;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(15, 39, 74, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.customer-quick-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--cln-primary);
    background: rgba(92, 157, 245, 0.14);
    font-size: 1.05rem;
}

.customer-quick-card strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    line-height: 1.2;
}

.customer-quick-card .customer-menu-badge {
    margin-left: 0;
}

.customer-quick-card p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.5;
}

.customer-quick-card:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 128, 237, 0.34);
    box-shadow: 0 20px 34px rgba(15, 39, 74, 0.09);
}

.customer-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.customer-panel-card {
    min-width: 0;
    max-width: 100%;
    padding: 24px;
    border: 1px solid rgba(92, 157, 245, 0.14);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 39, 74, 0.06);
}

.customer-referral-card {
    display: grid;
    gap: 16px;
}

.customer-referral-code-box {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border: 1px solid rgba(92, 157, 245, 0.16);
    border-radius: 16px;
    background: #f8fcff;
}

.customer-referral-code-box span,
.customer-referral-stats span {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 800;
}

.customer-referral-code-box strong {
    color: #1f2a3d;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    word-break: break-word;
}

.customer-referral-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.customer-referral-feedback {
    min-height: 20px;
    color: #6b7280;
    font-size: 0.84rem;
    font-weight: 800;
}

.customer-referral-feedback.is-success {
    color: #0f8a5b;
}

.customer-referral-feedback.is-error {
    color: #c53949;
}

.customer-referral-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.customer-referral-stats article {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(92, 157, 245, 0.14);
    border-radius: 14px;
    background: #ffffff;
}

.customer-referral-stats strong {
    color: #2f3447;
    font-size: 1.1rem;
    font-weight: 900;
}

.customer-panel-card > header h3,
.customer-panel-head h3 {
    margin: 0;
    color: #303047;
    font-size: 1.2rem;
    font-weight: 900;
}

.customer-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.customer-panel-head p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 700;
}

.customer-panel-head-stack {
    align-items: flex-start;
}

.customer-panel-head a {
    color: var(--cln-primary);
    font-size: 0.88rem;
    font-weight: 900;
    text-decoration: none;
}

.customer-next-service strong,
.customer-default-address strong {
    display: block;
    color: #303047;
    font-size: 1.03rem;
    font-weight: 900;
}

.customer-next-service p,
.customer-default-address p {
    margin: 8px 0 0;
    color: #6b7280;
    font-weight: 700;
    line-height: 1.5;
}

.customer-default-address small {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 700;
}

.customer-default-address a {
    display: inline-flex;
    margin-top: 10px;
    color: var(--cln-primary);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.customer-history-list {
    display: grid;
    gap: 10px;
}

.customer-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(92, 157, 245, 0.12);
    border-radius: 14px;
    background: #f8fcff;
}

.customer-history-item strong {
    color: #303047;
    font-weight: 900;
}

.customer-history-item p {
    margin: 5px 0 0;
    color: #6b7280;
    font-size: 0.86rem;
    font-weight: 700;
}

.customer-history-meta {
    display: grid;
    justify-items: end;
    gap: 7px;
}

.customer-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.customer-table {
    width: 100%;
    min-width: 640px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.customer-table th,
.customer-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(92, 157, 245, 0.12);
    color: #374151;
    font-size: 0.9rem;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.customer-table .customer-status-badge,
.customer-table .customer-service-action {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

.customer-table th {
    color: #4b5563;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.customer-table td strong {
    color: #2f3447;
    font-weight: 900;
}

.customer-table td small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 700;
}

.customer-table td small.customer-record-mobile-only {
    display: none;
}

.customer-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-pending {
    color: #925b00;
    background: rgba(255, 183, 43, 0.2);
}

.status-confirmed,
.status-in_process {
    color: #0d3f88;
    background: rgba(92, 157, 245, 0.22);
}

.status-completed {
    color: #0f5132;
    background: rgba(35, 192, 131, 0.18);
}

.status-cancelled {
    color: #9b2c2c;
    background: rgba(243, 108, 120, 0.2);
}

.payment-pending,
.payment-pending_deposit {
    color: #925b00;
    background: rgba(255, 183, 43, 0.2);
}

.payment-partial,
.payment-deposit_submitted,
.payment-deposit_pending_review,
.payment-deposit_paid {
    color: #145a73;
    background: rgba(92, 157, 245, 0.18);
}

.payment-paid,
.payment-completed {
    color: #0f5132;
    background: rgba(35, 192, 131, 0.18);
}

.payment-failed {
    color: #9b2c2c;
    background: rgba(243, 108, 120, 0.2);
}

.customer-inline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(92, 157, 245, 0.24);
    border-radius: 999px;
    color: var(--cln-primary);
    background: #f8fcff;
    font-size: 0.8rem;
    font-weight: 900;
    transition: transform 180ms ease, background 180ms ease;
}

.customer-inline-button:hover {
    transform: translateY(-1px);
    background: rgba(92, 157, 245, 0.14);
}

.customer-inline-button.danger {
    border-color: rgba(243, 108, 120, 0.26);
    color: #c53949;
    background: rgba(243, 108, 120, 0.1);
}

.customer-inline-button.danger:hover {
    background: rgba(243, 108, 120, 0.16);
}

.customer-points-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    border-radius: 22px;
    color: #ffffff;
    background: linear-gradient(145deg, #5c9df5 0%, var(--cln-primary) 50%, #1d5fbd 100%);
    box-shadow: 0 24px 50px rgba(47, 128, 237, 0.23);
}

.customer-points-hero > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    font-size: 2rem;
}

.customer-redemptions-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.customer-redemptions-hero-links a,
.customer-redemptions-hero-links span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
}

.customer-redemptions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.customer-reward-card {
    display: grid;
    gap: 16px;
    min-width: 0;
    max-width: 100%;
    padding: 22px;
    border: 1px solid rgba(92, 157, 245, 0.14);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 39, 74, 0.06);
}

.customer-reward-card.is-locked {
    opacity: 0.72;
}

.customer-reward-head {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.customer-reward-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.customer-reward-copy,
.customer-reward-body,
.customer-reward-actions {
    min-width: 0;
    max-width: 100%;
}

.customer-reward-head strong {
    display: block;
    color: #303047;
    font-size: 1.05rem;
    font-weight: 900;
}

.customer-reward-head p,
.customer-reward-body p,
.customer-reward-body small {
    margin: 6px 0 0;
    color: #6b7280;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.customer-reward-points {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--cln-primary);
    background: rgba(92, 157, 245, 0.14);
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.customer-reward-progress-copy {
    display: grid;
    gap: 6px;
    margin-top: 14px;
}

.customer-reward-progress-copy strong,
.customer-reward-progress-copy span {
    color: #344155;
    font-size: 0.85rem;
    font-weight: 800;
}

.customer-reward-progress {
    width: 100%;
    height: 10px;
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(92, 157, 245, 0.12);
    overflow: hidden;
}

.customer-reward-progress span {
    display: block;
    max-width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1B466D 0%, #5c9df5 100%);
}

.customer-reward-actions .frontend-btn-primary[disabled] {
    opacity: 1;
    color: #6b7280;
    border-color: #edf2f7;
}

.customer-reward-modal-summary strong {
    display: block;
    margin-bottom: 12px;
    color: #303047;
    font-size: 1.05rem;
    font-weight: 900;
}

.customer-reward-modal-summary dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.customer-reward-modal-summary dt {
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 900;
}

.customer-reward-modal-summary dd {
    margin: 4px 0 0;
    color: #2f3447;
    font-size: 0.92rem;
    font-weight: 800;
}

.cln-booking-reward-banner {
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(92, 157, 245, 0.16);
    border-radius: 16px;
    background: #f8fcff;
}

.cln-booking-reward-banner strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f2a3d;
    font-weight: 900;
}

.cln-booking-reward-banner p {
    margin: 8px 0 0;
    color: #526071;
    font-size: 0.88rem;
    font-weight: 700;
}

.customer-positive {
    color: #0f8a5b;
    font-weight: 900;
}

.customer-negative {
    color: #c53949;
    font-weight: 900;
}

/* Premium rewards journey */
.customer-redemptions-hero { margin-bottom: 28px; }
.customer-redemptions-hero-links i { margin-right: 4px; }
.customer-redemption-section { margin-top: 28px; padding: 24px; border: 1px solid rgba(92, 157, 245, .14); border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(15, 39, 74, .055); }
.customer-redemption-section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 18px; }
.customer-redemption-section-head h3 { margin: 3px 0; color: #303047; font-size: 1.28rem; font-weight: 900; }
.customer-redemption-section-head p { margin: 0; color: #667085; font-weight: 650; }
.customer-section-count { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; color: var(--cln-primary); background: rgba(92, 157, 245, .12); font-size: .78rem; font-weight: 900; }
.customer-active-redemptions { display: grid; gap: 14px; }
.customer-active-redemption { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 20px; border: 1px solid rgba(92, 157, 245, .18); border-radius: 18px; background: linear-gradient(135deg, #f8fbff, #fff); }
.customer-active-redemption-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: #fff; background: var(--cln-primary); font-size: 1.35rem; box-shadow: 0 10px 22px rgba(27, 70, 109, .18); }
.customer-active-redemption-copy h4 { margin: 8px 0 2px; color: #303047; font-weight: 900; }
.customer-active-redemption-copy > p { margin: 0 0 12px; color: #667085; font-weight: 700; }
.customer-active-redemption-actions { align-self: center; }
.customer-redemption-code-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 13px; background: #fff; border: 1px dashed rgba(27, 70, 109, .26); }
.customer-redemption-code-row > span { color: #667085; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.customer-redemption-code-row strong { color: #1b466d; letter-spacing: .08em; }
.customer-redemption-code-row button, .customer-success-code button { border: 0; margin-left: auto; padding: 5px 7px; color: var(--cln-primary); background: transparent; font-weight: 850; }
.customer-redemption-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; }
.customer-redemption-meta div { min-width: 0; }
.customer-redemption-meta dt { color: #7a8494; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.customer-redemption-meta dd { margin: 2px 0 0; color: #344155; font-size: .84rem; font-weight: 750; white-space: normal; overflow-wrap: anywhere; }
.customer-reward-terms { margin-top: 10px; color: #526071; font-size: .82rem; font-weight: 700; }
.customer-reward-terms summary { cursor: pointer; color: var(--cln-primary); font-weight: 900; }
.customer-redemption-empty { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: #f8fbff; color: #627084; }
.customer-redemption-empty > i { font-size: 1.5rem; color: var(--cln-primary); }
.customer-redemption-empty strong, .customer-redemption-empty span { display: block; }
.customer-redemption-empty strong { color: #344155; font-weight: 900; }
.customer-redemption-empty-wide { grid-column: 1 / -1; }
.customer-reward-card .customer-status-badge { margin-bottom: 0; }
.customer-reward-body h5 { margin: 12px 0 2px; color: #344155; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.customer-reward-actions { display: flex; align-items: end; }
.customer-reward-actions .frontend-btn-primary { width: 100%; justify-content: center; }
.customer-reward-actions .frontend-btn-primary { max-width: 100%; min-height: 46px; white-space: normal; }
.customer-active-redemption-copy, .customer-redemption-section-head > div { min-width: 0; }
.customer-active-redemption-copy h4, .customer-active-redemption-copy > p, .customer-redemption-code-row strong { overflow-wrap: anywhere; }
.customer-redemption-history { display: grid; }
.customer-redemption-history article { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(92, 157, 245, .12); }
.customer-redemption-history article:last-child { border-bottom: 0; }
.customer-history-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #526071; background: #eef3f8; }
.customer-history-icon.is-redeemed { color: #fff; background: var(--cln-primary); display: flex;justify-content: center;align-items: center;}
.customer-redemption-history strong, .customer-redemption-history span, .customer-redemption-history a { display: block; }
.customer-redemption-history strong { color: #303047; font-weight: 900; }
.customer-redemption-history span { color: #667085; font-size: .82rem; font-weight: 700; }
.customer-redemption-history a { color: var(--cln-primary); font-size: .8rem; font-weight: 850; }
.customer-redemption-history article > b { color: #344155; white-space: nowrap; }
.customer-reward-modal { overflow: hidden; border: 0; border-radius: 24px; box-shadow: 0 30px 90px rgba(15, 39, 74, .24); }
.customer-reward-modal .modal-header { align-items: start; padding: 22px 24px 12px; border: 0; }
.customer-reward-modal .modal-body { padding: 12px 24px 22px; }
.customer-reward-modal .modal-footer { gap: 10px; padding: 16px 24px 22px; border: 0; background: #f8fbff; }
.customer-reward-modal-hero { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 18px; }
.customer-reward-modal-hero > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: var(--cln-primary); font-size: 1.35rem; }
.customer-reward-modal-hero strong { display: block; color: #303047; font-size: 1.08rem; font-weight: 900; }
.customer-reward-modal-hero p { margin: 2px 0 0; color: #667085; font-size: .84rem; font-weight: 700; }
.customer-reward-modal-hero > b { padding: 7px 10px; border-radius: 999px; color: var(--cln-primary); background: rgba(92, 157, 245, .12); font-size: .8rem; white-space: nowrap; }
.customer-reward-modal-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.customer-reward-modal-columns section { padding: 14px; border-radius: 14px; background: #f8fbff; border: 1px solid rgba(92, 157, 245, .12); }
.customer-reward-modal-columns h4 { margin: 0 0 6px; color: #344155; font-size: .8rem; font-weight: 900; }
.customer-reward-modal-columns p { margin: 0; color: #667085; font-size: .84rem; font-weight: 700; }
.customer-reward-balance-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding: 14px; border-radius: 15px; background: #1b466d; color: #fff; }
.customer-reward-balance-summary span, .customer-reward-balance-summary strong { display: block; }
.customer-reward-balance-summary span { color: rgba(255,255,255,.72); font-size: .7rem; font-weight: 800; }
.customer-reward-balance-summary strong { margin-top: 2px; font-size: .92rem; }
.customer-reward-balance-summary .is-negative { color: #ffc56e; }
.customer-reward-modal-notice { display: flex; gap: 10px; margin-top: 14px; padding: 13px; border-radius: 14px; color: #4c5668; background: #fff8ec; }
.customer-reward-modal-notice i { color: #ca7a05; }
.customer-reward-modal-notice p, .customer-reward-modal-terms { margin: 0; font-size: .82rem; font-weight: 700; }
.customer-reward-modal-terms { margin-top: 10px; color: #667085; }
.customer-success-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; color: #fff; background: var(--cln-primary); font-size: 2rem; box-shadow: 0 14px 30px rgba(27, 70, 109, .2); }
.customer-reward-success-modal h3 { margin: 8px 0; color: #303047; font-weight: 900; }
.customer-reward-success-modal .modal-body > p { color: #667085; font-weight: 700; }
.customer-success-code { display: grid; gap: 5px; margin-top: 18px; padding: 16px; border: 1px dashed rgba(27,70,109,.28); border-radius: 15px; background: #f8fbff; }
.customer-success-code span { color: #667085; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.customer-success-code strong { color: #1b466d; font-size: 1.2rem; letter-spacing: .1em; }
.customer-success-code button { margin: 0 auto; }
.customer-success-includes { display: grid; gap: 4px; margin-top: 14px; color: #526071; font-size: .84rem; }
.customer-success-includes strong { color: #344155; }

@media (max-width: 767.98px) {
    .customer-panel-head { align-items: stretch; flex-direction: column; }
    .customer-panel-head > a { width: 100%; min-height: 44px; justify-content: center; text-align: center; }
    .customer-record-list { overflow: visible; }
    .customer-record-table, .customer-record-table tbody, .customer-record-table tr, .customer-record-table td { display: block; width: 100%; max-width: 100%; }
    .customer-record-table { min-width: 0; border-spacing: 0; }
    .customer-record-table thead { display: none; }
    .customer-record-table tbody { display: grid; gap: 14px; }
    .customer-record-table tr { padding: 18px; border: 1px solid rgba(92, 157, 245, .16); border-radius: 16px; background: #fff; box-shadow: 0 12px 28px rgba(15, 39, 74, .07); }
    .customer-record-table td { display: grid; grid-template-columns: minmax(94px, .42fr) minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; padding: 10px 0; border-bottom: 1px solid rgba(92, 157, 245, .1); overflow-wrap: anywhere; }
    .customer-record-table td::before { content: attr(data-label); color: #6b7280; font-size: .75rem; font-weight: 900; line-height: 1.3; text-transform: uppercase; }
    .customer-record-table td.customer-record-primary { display: block; padding: 0 0 14px; }
    .customer-record-table td.customer-record-primary::before { display: none; }
    .customer-record-table td.customer-record-primary strong { display: block; font-size: 1.02rem; }
    .customer-record-table td.customer-record-primary small { margin-top: 5px; }
    .customer-record-table td.customer-record-primary small.customer-record-mobile-only { display: block; }
    .customer-record-table td.customer-record-secondary-code,
    .customer-record-table td.customer-record-actions.is-empty { display: none; }
    .customer-record-table td:last-child { padding-bottom: 0; border-bottom: 0; }
    .customer-record-table .customer-status-badge { justify-self: end; max-width: 100%; white-space: normal; text-align: center; }
    .customer-record-table .customer-review-mini-state { width: 100%; }
    .customer-record-table .customer-record-actions .customer-review-mini-state { grid-column: 2; }
    .customer-record-table .customer-record-actions .customer-service-action { width: 100%; min-height: 44px; white-space: normal; text-align: center; }
    .customer-record-table .customer-record-actions .customer-review-mini-state .customer-status-badge { justify-self: stretch; }
    .customer-redemption-section { padding: 18px; border-radius: 18px; }
    .customer-redemption-section-head { align-items: start; flex-direction: column; }
    .customer-active-redemption { grid-template-columns: 44px minmax(0, 1fr); padding: 16px; }
    .customer-active-redemption-icon { width: 44px; height: 44px; }
    .customer-active-redemption-actions { grid-column: 1 / -1; width: 100%; }
    .customer-active-redemption-actions .frontend-btn-primary { width: 100%; justify-content: center; }
    .customer-redemption-meta, .customer-reward-modal-columns { grid-template-columns: 1fr; }
    .customer-reward-modal .modal-dialog { margin: 10px; }
    .customer-reward-modal .modal-footer { flex-direction: column-reverse; }
    .customer-reward-modal .modal-footer > * { width: 100%; justify-content: center; margin: 0; }
}

@media (max-width: 576px) {
    .customer-points-hero { padding: 20px; }
    .customer-points-hero > span { display: none; }
    .customer-redemptions-grid { grid-template-columns: 1fr; }
    .customer-reward-card { padding: 20px; }
    .customer-reward-topline .customer-status-badge { max-width: 100%; white-space: normal; text-align: left; }
    .customer-reward-modal-hero { grid-template-columns: 44px minmax(0, 1fr); }
    .customer-reward-modal-hero > b { grid-column: 1 / -1; justify-self: start; }
    .customer-reward-balance-summary { grid-template-columns: 1fr; }
    .customer-redemption-history article { grid-template-columns: 34px minmax(0, 1fr); }
    .customer-redemption-history article > b { grid-column: 2; }
}

.customer-empty-state {
    display: grid;
    justify-items: center;
    gap: 10px;
    min-height: 220px;
    padding: 30px 20px;
    border: 1px dashed rgba(92, 157, 245, 0.26);
    border-radius: 18px;
    background: #f8fcff;
    text-align: center;
}

.customer-empty-state > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 16px;
    color: var(--cln-primary);
    background: rgba(92, 157, 245, 0.14);
    font-size: 1.6rem;
}

.customer-empty-state h3 {
    margin: 0;
    color: #303047;
    font-size: 1.06rem;
    font-weight: 900;
}

.customer-empty-state p {
    max-width: 480px;
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.55;
}

.customer-empty-state-compact {
    min-height: 0;
    padding: 20px 18px;
}

.customer-address-form {
    display: grid;
    gap: 18px;
}

.customer-address-collapse {
    margin-top: 6px;
}

.customer-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.customer-form-field {
    display: grid;
    gap: 7px;
}

.customer-form-field-wide {
    grid-column: 1 / -1;
}

.customer-form-field label,
.customer-checkbox span {
    color: #3b4557;
    font-size: 0.86rem;
    font-weight: 900;
}

.customer-form-field input,
.customer-form-field select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid rgba(92, 157, 245, 0.24);
    border-radius: 12px;
    color: #2f3447;
    background: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.customer-form-field .bootstrap-select,
.customer-form-field .bootstrap-select > .dropdown-toggle {
    width: 100% !important;
}

.customer-form-field .bootstrap-select > .dropdown-toggle {
    min-height: 48px;
    border: 1px solid rgba(92, 157, 245, 0.24);
    border-radius: 12px;
    color: #2f3447;
    background: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
}

.customer-form-field .bootstrap-select > .dropdown-toggle .filter-option {
    padding: 11px 10px;
}

.customer-form-field .bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
    color: #2f3447;
    font-size: 0.92rem;
    font-weight: 700;
}

.customer-form-field .bootstrap-select .dropdown-menu {
    border: 1px solid rgba(92, 157, 245, 0.18);
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(15, 39, 74, 0.12);
    overflow: hidden;
}

.customer-form-field .bootstrap-select .bs-searchbox input {
    border: 1px solid rgba(92, 157, 245, 0.24);
    border-radius: 10px;
}

.customer-form-field .bootstrap-select .dropdown-item {
    color: #344155;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 10px 12px;
}

.customer-form-field .bootstrap-select .dropdown-item.active,
.customer-form-field .bootstrap-select .dropdown-item:active {
    color: #ffffff;
    background: linear-gradient(140deg, #1B466D 0%, #112F4E 58%, #0A2138 100%);
}

.customer-form-field .bootstrap-select .dropdown-item:hover {
    color: var(--cln-primary);
    background: rgba(92, 157, 245, 0.12);
}

.customer-form-field .bootstrap-select.disabled > .dropdown-toggle,
.customer-form-field .bootstrap-select > .dropdown-toggle[disabled] {
    background: rgba(248, 252, 255, 0.9);
    cursor: not-allowed;
}

.customer-premium-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #5c9df5 50%),
        linear-gradient(135deg, #5c9df5 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px !important;
}

.customer-form-field select.customer-address-select {
    appearance: none;
    width: 100%;
    min-height: 48px;
    padding: 11px 34px 11px 14px;
    border: 1px solid rgba(92, 157, 245, 0.24);
    border-radius: 12px;
    color: #2f3447;
    background-color: #ffffff;
    background-image:
        linear-gradient(45deg, transparent 50%, #5c9df5 50%),
        linear-gradient(135deg, #5c9df5 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    font-size: 0.92rem;
    font-weight: 700;
}

.customer-form-field .bootstrap-select.customer-address-select {
    width: 100% !important;
}

.customer-form-field .bootstrap-select.customer-address-select > select {
    display: none !important;
}

body > .bootstrap-select .dropdown-menu,
.bootstrap-select .dropdown-menu.show {
    z-index: 2070;
}

.customer-coverage-feedback {
    display: none;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 11px;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.45;
}

.customer-coverage-feedback.is-visible {
    display: block;
}

.customer-coverage-feedback.is-success {
    color: #0f5132;
    background: rgba(35, 192, 131, 0.18);
}

.customer-coverage-feedback.is-error {
    color: #9b2c2c;
    background: rgba(243, 108, 120, 0.2);
}

.customer-form-field input:focus,
.customer-form-field select:focus {
    border-color: rgba(47, 128, 237, 0.54);
    box-shadow: 0 0 0 3px rgba(92, 157, 245, 0.14);
}

.customer-form-field .bootstrap-select > .dropdown-toggle:focus,
.customer-form-field .bootstrap-select.show > .dropdown-toggle {
    border-color: rgba(47, 128, 237, 0.54);
    box-shadow: 0 0 0 3px rgba(92, 157, 245, 0.14);
}

.customer-map-card {
    display: grid;
    gap: 13px;
    padding: 16px;
    border: 1px solid rgba(92, 157, 245, 0.2);
    border-radius: 16px;
    background: #f8fcff;
}

.customer-map-head strong {
    display: block;
    color: #303047;
    font-size: 0.96rem;
    font-weight: 900;
}

.customer-map-head small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 700;
}

.customer-map-surface {
    width: 100%;
    min-height: 330px;
    border-radius: 14px;
    border: 1px solid rgba(92, 157, 245, 0.2);
    overflow: hidden;
}

.customer-map-surface .leaflet-control-zoom a {
    color: var(--cln-primary);
}

.customer-map-microcopy {
    margin: 0;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
}

.customer-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.customer-map-feedback {
    display: none;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 11px;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.45;
}

.customer-map-feedback.is-visible {
    display: block;
}

.customer-map-feedback.is-success {
    color: #0f5132;
    background: rgba(35, 192, 131, 0.18);
}

.customer-map-feedback.is-error {
    color: #9b2c2c;
    background: rgba(243, 108, 120, 0.2);
}

.customer-map-feedback.is-info {
    color: #0d3f88;
    background: rgba(92, 157, 245, 0.18);
}

.customer-map-feedback.is-loading {
    color: #0d3f88;
    background: rgba(92, 157, 245, 0.2);
}

.customer-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.customer-checkbox input {
    margin-top: 3px;
}

.customer-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.customer-form-actions .cln-btn-primary,
.customer-form-actions .cln-btn-light {
    min-height: 44px;
    padding: 12px 18px;
}

.customer-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.customer-address-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(92, 157, 245, 0.16);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 39, 74, 0.05);
}

.customer-address-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.customer-address-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.customer-address-head strong {
    color: #303047;
    font-size: 1rem;
    font-weight: 900;
}

.customer-address-card p {
    margin: 0;
    color: #4b5563;
    font-weight: 700;
    line-height: 1.5;
}

.customer-address-card small {
    display: block;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
}

.customer-address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 3px;
}

.customer-address-actions form {
    margin: 0;
}

.customer-address-maps {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.customer-address-maps a {
    color: var(--cln-primary);
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

.customer-support-shell {
    overflow: hidden;
}

.customer-support-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
    min-height: 640px;
    border: 1px solid rgba(92, 157, 245, 0.14);
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
}

.customer-support-list-panel {
    border-right: 1px solid rgba(92, 157, 245, 0.14);
    background: linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.customer-support-tools {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid rgba(92, 157, 245, 0.12);
}

.customer-support-tools input,
.customer-support-filter,
.customer-support-modal-card select,
.customer-support-modal-card textarea,
.customer-support-modal-card input,
.customer-support-reply textarea,
.customer-support-reply input[type="file"] {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid rgba(92, 157, 245, 0.22);
    border-radius: 12px;
    color: #2f3447;
    background: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    outline: none;
}

.customer-support-ticket-list {
    max-height: 560px;
    overflow: auto;
}

.customer-support-ticket-item {
    display: grid;
    gap: 7px;
    width: 100%;
    padding: 14px;
    border: 0;
    border-bottom: 1px solid rgba(92, 157, 245, 0.12);
    color: #303047;
    background: transparent;
    text-align: left;
    transition: background 180ms ease, transform 180ms ease;
}

.customer-support-ticket-item:hover,
.customer-support-ticket-item.active {
    background: rgba(92, 157, 245, 0.12);
}

.customer-support-ticket-item.active {
    box-shadow: inset 4px 0 0 var(--cln-primary);
}

.customer-support-ticket-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.customer-support-ticket-badges {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.customer-support-unread {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #5c9df5 0%, var(--cln-primary) 100%);
    font-size: 0.72rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(47, 128, 237, 0.24);
}

.customer-support-ticket-top strong,
.customer-support-ticket-title {
    font-weight: 900;
}

.customer-support-ticket-title {
    overflow: hidden;
    color: #303047;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-support-ticket-meta {
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.45;
}

.customer-support-no-results,
.customer-support-loading,
.customer-support-empty-messages {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 24px;
    color: #6b7280;
    font-weight: 800;
    text-align: center;
}

.customer-support-empty-messages.is-error {
    color: #c53949;
}

.customer-support-conversation-panel {
    min-width: 0;
    background: #ffffff;
}

.customer-support-empty {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 640px;
    padding: 32px;
    text-align: center;
}

.customer-support-empty span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    color: var(--cln-primary);
    background: rgba(92, 157, 245, 0.14);
    font-size: 2rem;
}

.customer-support-empty h3 {
    margin: 14px 0 0;
    color: #303047;
    font-weight: 900;
}

.customer-support-empty p {
    margin: 8px 0 0;
    color: #6b7280;
    font-weight: 700;
}

.customer-support-conversation {
    display: flex;
    flex-direction: column;
    min-height: 640px;
}

.customer-support-conversation-head {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(92, 157, 245, 0.14);
    background: linear-gradient(135deg, rgba(92, 157, 245, 0.12), rgba(200, 243, 241, 0.22));
}

.customer-support-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.customer-support-conversation-head h4 {
    margin: 0;
    color: #303047;
    font-size: 1.04rem;
    font-weight: 900;
}

.customer-support-conversation-head p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 0.84rem;
    font-weight: 700;
}

.customer-support-messages {
    flex: 1 1 auto;
    height: 420px;
    min-height: 420px;
    padding: 18px;
    overflow: auto;
    background:
        radial-gradient(circle at 12px 12px, rgba(92, 157, 245, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, #f8fcff 0%, #f3f8ff 100%);
    background-size: 28px 28px, auto;
}

.customer-support-typing {
    padding: 8px 18px 12px;
    color: #6b7280;
    background: #f3f8ff;
    border-top: 1px solid rgba(92, 157, 245, 0.1);
    font-size: 0.8rem;
    font-weight: 800;
}

.customer-support-typing[hidden] {
    display: none;
}

.customer-support-typing > span:first-child {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

.customer-support-typing-dots {
    display: inline-flex;
    gap: 3px;
}

.customer-support-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--cln-primary);
    animation: customerSupportTypingDot 1s infinite ease-in-out;
}

.customer-support-typing-dots span:nth-child(2) {
    animation-delay: 120ms;
}

.customer-support-typing-dots span:nth-child(3) {
    animation-delay: 240ms;
}

.customer-support-closed-notice {
    padding: 12px 14px;
    color: #925b00;
    background: rgba(255, 183, 43, 0.18);
    border-top: 1px solid rgba(255, 183, 43, 0.22);
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1.45;
}

.customer-support-closed-notice[hidden] {
    display: none;
}

.customer-support-message {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 12px;
}

.customer-support-message.mine {
    flex-direction: row-reverse;
}

.customer-support-message.is-new {
    animation: customerSupportMessageIn 200ms ease-out both;
}

.customer-support-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: var(--cln-primary);
    background: #ffffff;
    border: 1px solid rgba(92, 157, 245, 0.22);
    font-size: 0.72rem;
    font-weight: 900;
}

.customer-support-bubble {
    max-width: min(76%, 680px);
    padding: 12px 14px;
    border: 1px solid rgba(92, 157, 245, 0.14);
    border-radius: 16px 16px 16px 6px;
    color: #374151;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 39, 74, 0.08);
}

.customer-support-message.mine .customer-support-bubble {
    border-color: transparent;
    border-radius: 16px 16px 6px 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #5c9df5 0%, var(--cln-primary) 100%);
}

.customer-support-message-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.customer-support-message-head strong {
    color: inherit;
    font-size: 0.82rem;
    font-weight: 900;
}

.customer-support-message-head span {
    padding: 3px 7px;
    border-radius: 999px;
    color: var(--cln-primary);
    background: rgba(92, 157, 245, 0.12);
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.customer-support-message.mine .customer-support-message-head span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.customer-support-bubble p {
    margin: 7px 0 0;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.5;
}

.customer-support-bubble small {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: right;
}

.customer-support-message.mine .customer-support-bubble small {
    color: rgba(255, 255, 255, 0.76);
}

.customer-support-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 9px;
}

.customer-support-attachment {
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    max-width: 100%;
    border-radius: 14px;
    color: var(--cln-primary);
    background: rgba(92, 157, 245, 0.12);
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.customer-support-attachment span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.customer-support-attachment small {
    display: block;
    margin-top: 2px;
    color: #6b7280;
    font-size: 0.68rem;
    line-height: 1.2;
    text-align: left;
}

.customer-support-message.mine .customer-support-attachment {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.customer-support-message.mine .customer-support-attachment small {
    color: rgba(255, 255, 255, 0.76);
}

.customer-support-reply {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid rgba(92, 157, 245, 0.14);
    background: #ffffff;
}

.customer-support-modal-card textarea {
    resize: vertical;
}

.customer-support-upload {
    align-items: center;
    background: rgba(48, 142, 235, 0.055);
    border: 1px dashed rgba(48, 142, 235, 0.42);
    border-radius: 14px;
    color: #52647d;
    cursor: pointer;
    display: flex;
    gap: 10px;
    padding: 9px 11px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.customer-support-upload.is-dragover {
    background: rgba(48, 142, 235, 0.12);
    border-color: var(--cln-primary);
}

.customer-support-upload input {
    display: none;
}

.customer-support-upload > span {
    font-size: 0.76rem;
    font-weight: 700;
}

.customer-support-attach-button {
    align-items: center;
    background: #eef4fb;
    border: 0;
    border-radius: 10px;
    color: var(--cln-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 7px;
    padding: 9px 12px;
}

.customer-support-upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.customer-support-upload-preview[hidden] {
    display: none;
}

.customer-support-upload-chip {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(92, 157, 245, 0.2);
    border-radius: 13px;
    box-shadow: 0 7px 18px rgba(15, 39, 74, 0.07);
    display: inline-flex;
    gap: 8px;
    max-width: 270px;
    padding: 7px 8px;
}

.customer-support-upload-chip > i {
    color: var(--cln-primary);
    font-size: 1.05rem;
}

.customer-support-upload-chip > span {
    display: grid;
    min-width: 0;
}

.customer-support-upload-chip strong,
.customer-support-upload-chip small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-support-upload-chip strong {
    color: #152c49;
    font-size: 0.74rem;
    font-weight: 850;
}

.customer-support-upload-chip small {
    color: #6b7280;
    font-size: 0.67rem;
    font-weight: 700;
}

.customer-support-upload-chip button {
    align-items: center;
    background: rgba(243, 108, 120, 0.13);
    border: 0;
    border-radius: 50%;
    color: #cf4050;
    display: inline-flex;
    flex: 0 0 auto;
    height: 24px;
    justify-content: center;
    padding: 0;
    width: 24px;
}

.customer-support-composer {
    align-items: flex-end;
    border: 1px solid rgba(92, 157, 245, 0.25);
    border-radius: 15px;
    display: flex;
    gap: 10px;
    padding: 7px;
}

.customer-support-composer textarea {
    background: transparent;
    border: 0;
    box-shadow: none;
    flex: 1 1 auto;
    max-height: 140px;
    min-height: 42px;
    overflow-y: auto;
    resize: none;
}

.customer-support-composer textarea:focus {
    border: 0;
    box-shadow: none;
    outline: 0;
}

.customer-support-composer button {
    flex: 0 0 auto;
    min-height: 42px;
}

.customer-support-modal-card small {
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 700;
}

.customer-support-form-error {
    padding: 10px 12px;
    border: 1px solid rgba(243, 108, 120, 0.24);
    border-radius: 12px;
    color: #9b2c2c;
    background: rgba(243, 108, 120, 0.14);
    font-size: 0.84rem;
    font-weight: 800;
}

.customer-support-modal[hidden],
.customer-support-conversation[hidden],
.customer-support-empty[hidden] {
    display: none;
}

.customer-support-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: grid;
    place-items: center;
    padding: 24px;
}

.customer-support-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 39, 74, 0.42);
    backdrop-filter: blur(6px);
}

.customer-support-modal-card {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 22px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 26px 80px rgba(15, 39, 74, 0.26);
}

.customer-support-modal-card header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.customer-support-modal-card h3 {
    margin: 0;
    color: #303047;
    font-size: 1.18rem;
    font-weight: 900;
}

.customer-support-modal-card p {
    margin: 7px 0 0;
    color: #6b7280;
    font-weight: 700;
}

.customer-support-modal-open {
    overflow: hidden;
}

@keyframes customerSupportMessageIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes customerSupportTypingDot {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

@media (max-width: 1199.98px) {
    .customer-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-quick-grid {
        grid-template-columns: 1fr;
    }

    .customer-address-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .customer-area {
        padding-top: 108px;
    }

    .customer-sidebar {
        position: static;
        top: auto;
    }

    .customer-sidebar-head {
        align-items: center;
    }

    .customer-panel-grid,
    .customer-form-grid {
        grid-template-columns: 1fr;
    }

    .customer-support-layout {
        grid-template-columns: 1fr;
    }

    .customer-support-list-panel {
        border-right: 0;
        border-bottom: 1px solid rgba(92, 157, 245, 0.14);
    }

    .customer-support-ticket-list {
        max-height: 340px;
    }

    .customer-support-conversation,
    .customer-support-empty {
        min-height: 560px;
    }

    .customer-hero-card,
    .customer-points-hero,
    .customer-history-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .customer-history-meta {
        width: 100%;
        justify-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .customer-area {
        padding-bottom: 66px;
    }

    .customer-panel-card {
        padding: 18px;
        border-radius: 16px;
    }

    .customer-map-surface {
        min-height: 276px;
    }

    .customer-map-actions {
        flex-direction: column;
    }

    .customer-map-actions .cln-btn-primary,
    .customer-map-actions .cln-btn-light,
    .customer-map-actions .customer-inline-button,
    .customer-form-actions .cln-btn-primary,
    .customer-form-actions .cln-btn-light,
    .customer-support-reply .cln-btn-primary {
        width: 100%;
    }

    .customer-support-bubble {
        max-width: 88%;
    }

    .customer-support-upload,
    .customer-support-composer {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-support-upload-chip {
        max-width: 100%;
    }

    .customer-support-modal {
        padding: 12px;
    }

    .customer-support-modal-card {
        max-height: calc(100vh - 24px);
        padding: 18px;
    }

    .customer-support-modal-card header {
        flex-direction: column;
    }
}

.customer-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--cln-primary);
    font-size: 0.88rem;
    font-weight: 900;
    text-decoration: none;
}

.customer-review-layout {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 22px;
}

.customer-review-summary,
.customer-review-card {
    border: 1px solid rgba(92, 157, 245, 0.15);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 39, 74, 0.06);
}

.customer-review-summary {
    overflow: hidden;
}

.customer-review-image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #eef6ff;
}

.customer-review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-review-image i {
    color: var(--cln-primary);
    font-size: 2rem;
}

.public-review-area .customer-area-wrap {
    max-width: 980px;
}

.public-review-card {
    margin: 0 auto;
}

.public-review-state {
    align-items: center;
    min-height: 280px;
    padding: 48px 24px;
    text-align: center;
}

.public-review-state > i {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--cln-primary);
    background: rgba(47, 128, 237, 0.1);
    font-size: 2rem;
}

.customer-review-summary > div:not(.customer-review-image) {
    padding: 18px;
}

.customer-review-summary span,
.customer-review-summary small {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 900;
}

.customer-review-summary h4 {
    margin: 8px 0;
    color: #2f3447;
    font-size: 1.1rem;
    font-weight: 900;
}

.customer-review-summary p {
    margin: 0 0 8px;
    color: #4b5563;
    font-weight: 700;
    line-height: 1.45;
}

.customer-review-card {
    padding: 24px;
}

.customer-star-field {
    margin: 0;
    padding: 0;
    border: 0;
}

.customer-star-field legend,
.customer-review-comment span {
    display: block;
    margin-bottom: 12px;
    color: #2f3447;
    font-weight: 900;
}

.customer-star-picker {
    display: inline-flex;
    gap: 8px;
}

.customer-star-picker input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.customer-star-picker label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(47, 128, 237, 0.15);
    border-radius: 14px;
    color: #c7d2e4;
    background: #f8fbff;
    cursor: pointer;
    font-size: 1.45rem;
    transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.customer-star-picker label.is-active,
.customer-star-picker label.is-preview {
    color: #f7b731;
    border-color: rgba(247, 183, 49, 0.32);
    background: #fff8e7;
    transform: translateY(-1px);
}

.customer-star-picker input:focus-visible + label {
    outline: 3px solid rgba(47, 128, 237, 0.24);
    outline-offset: 3px;
}

.customer-rating-label {
    display: block;
    min-height: 24px;
    margin-top: 12px;
    color: var(--cln-primary);
    font-weight: 900;
}

.customer-review-comment {
    display: block;
    margin-top: 24px;
}

.customer-review-comment textarea {
    width: 100%;
    min-height: 180px;
    padding: 16px;
    border: 1px solid rgba(92, 157, 245, 0.2);
    border-radius: 16px;
    color: #273247;
    background: #fbfdff;
    font: inherit;
    font-weight: 700;
    resize: vertical;
}

.customer-review-comment textarea:focus {
    border-color: var(--cln-primary);
    box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.12);
    outline: 0;
}

.customer-review-comment small {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-weight: 800;
    text-align: right;
}

.customer-review-comment small.is-limit {
    color: #9b5b00;
}

.customer-review-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.customer-review-actions .cln-btn-primary,
.customer-review-actions .cln-btn-light,
.customer-review-card > .cln-btn-light {
    min-height: 46px;
}

.customer-review-stars {
    display: flex;
    gap: 5px;
    color: #f7b731;
    font-size: 1.3rem;
}

.customer-review-state {
    display: grid;
    gap: 12px;
}

.customer-review-state strong {
    color: #2f3447;
    font-size: 1.22rem;
    font-weight: 900;
}

.customer-review-state p {
    margin: 0;
    color: #4b5563;
    font-weight: 700;
    line-height: 1.65;
}

.customer-review-state p.muted,
.customer-review-state small {
    color: #6b7280;
}

.customer-status-badge.review-pending,
.customer-status-badge.review-approved,
.customer-status-badge.review-rejected {
    width: fit-content;
}

.customer-status-badge.review-pending {
    color: #8a5a00;
    background: #fff5d6;
}

.customer-status-badge.review-approved {
    color: #0f6848;
    background: #dcfce7;
}

.customer-status-badge.review-rejected {
    color: #8f3d46;
    background: #ffe4e8;
}

.customer-service-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--cln-primary);
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.customer-service-action.secondary {
    color: var(--cln-primary);
    background: rgba(47, 128, 237, 0.1);
}

.customer-review-mini-state {
    display: grid;
    gap: 6px;
}

.customer-service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 18px;
}

.customer-service-detail-card {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
}

.customer-service-detail-card h4 {
    margin: 14px 0 16px;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 800;
}

.customer-service-detail-card dl {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
}

.customer-service-detail-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    padding-bottom: 10px;
}

.customer-service-detail-card dt {
    color: #64748b;
    font-weight: 700;
}

.customer-service-detail-card dd {
    margin: 0;
    color: #111827;
    font-weight: 800;
    text-align: right;
}

.customer-invoice-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.customer-invoice-head > i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 1.35rem;
}

.customer-invoice-head h4 {
    margin: 0 0 5px;
}

.customer-invoice-head p {
    margin: 0 0 16px;
    color: #64748b;
}

@media (max-width: 991.98px) {
    .customer-review-layout {
        grid-template-columns: 1fr;
    }

    .customer-service-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .customer-review-card {
        padding: 18px;
    }

    .customer-star-picker {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        width: 100%;
    }

    .customer-star-picker label {
        width: 100%;
    }

    .customer-review-actions .cln-btn-primary,
    .customer-review-actions .cln-btn-light {
        width: 100%;
    }
}
span.customer-history-icon.is-expired {
    display: flex;
    align-items: center;
    justify-content: center;
}
