.account-page-wrap {
    background: linear-gradient(180deg, #f6f7f9 0%, #fffaf4 100%);
    min-height: 70vh;
}

.account-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.account-card,
.account-shell {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 45px -34px rgba(15, 23, 42, 0.35);
}

.account-kicker,
.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff1e8;
    color: #e85d04;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-title {
    margin: 16px 0 10px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #111827;
}

.account-title.small-title,
.mini-title {
    font-size: 24px;
}

.account-subtitle {
    color: #6b7280;
    margin-bottom: 0;
}

.account-header-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.account-user-chip {
    background: #111827;
    color: #fff;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 700;
}

.account-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.account-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    min-width: 136px;
    background: #f7f7f8;
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: #111827;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 26px -22px rgba(15, 23, 42, 0.45);
    transition: all .2s ease;
}

.account-tab.active {
    background: linear-gradient(135deg, #ff7a18, #ff4d00);
    border-color: transparent;
    color: #fff;
}

.account-tab:hover {
    transform: translateY(-1px);
    color: #111827;
}

.account-tab.active:hover {
    color: #fff;
}

.account-auth-grid.single-card {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
}

.account-text-link {
    color: #e85d04;
    font-weight: 800;
    text-decoration: none;
}

.account-text-link:hover {
    color: #c84d03;
    text-decoration: underline;
}

.account-table thead th {
    border-bottom-width: 1px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
}

.account-status,
.saved-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff1e8;
    color: #e85d04;
    font-size: 12px;
    font-weight: 700;
}

.account-empty-state {
    text-align: center;
    padding: 36px 20px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.offer-card,
.saved-card-option {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    padding: 18px;
    background: #fff;
}

.offer-card h3 {
    margin: 14px 0 10px;
    font-size: 24px;
}

.offer-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
}

.saved-card-list.compact {
    display: grid;
    gap: 12px;
}

.saved-card-option {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.account-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    border: 2px solid #e85d04;
    background: #fff;
    color: #e85d04;
    font-weight: 800;
    transition: all .2s ease;
}

.account-outline-btn:hover {
    background: #e85d04;
    color: #fff;
    transform: translateY(-1px);
}

.order-details-row td {
    background: #fffaf5;
}

.order-receipt-card {
    border: 1px solid rgba(232, 93, 4, 0.18);
    border-radius: 20px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 18px 40px -34px rgba(15, 23, 42, 0.45);
}

.order-receipt-head,
.receipt-item-row,
.receipt-summary-grid > div,
.receipt-tax-numbers {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.order-receipt-head {
    margin-bottom: 18px;
}

.order-receipt-head h3 {
    margin: 10px 0 0;
    font-weight: 800;
}

.receipt-total-chip {
    padding: 12px 16px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 800;
}

.receipt-items-list {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.receipt-item-row {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.receipt-summary-grid {
    display: grid;
    gap: 8px;
    max-width: 420px;
    margin-left: auto;
}

.receipt-summary-grid > div {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.receipt-grand-total {
    font-size: 18px;
    font-weight: 900;
}

.receipt-tax-numbers {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed rgba(17, 24, 39, 0.18);
    color: #6b7280;
    font-size: 13px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .account-auth-grid {
        grid-template-columns: 1fr;
    }

    .account-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-receipt-head,
    .receipt-item-row,
    .receipt-summary-grid > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .receipt-summary-grid {
        max-width: none;
        margin-left: 0;
    }
}

/* Dark website skin for account and settings pages */
.account-page-wrap {
    background: radial-gradient(circle at top, rgba(255, 122, 24, 0.10), transparent 34%), #08111f;
    color: #eef5ff;
}

.account-card,
.account-shell,
.offer-card,
.saved-card-option,
.order-receipt-card {
    background: #0f1c2e;
    color: #eef5ff;
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.account-title,
.account-title.small-title,
.mini-title,
.offer-card h3,
.order-receipt-head h3,
.account-table,
.account-table td {
    color: #eef5ff;
}

.account-subtitle,
.offer-meta,
.account-table thead th,
.receipt-tax-numbers {
    color: #9fb0c7;
}

.account-tab {
    background: #132238;
    border-color: rgba(148, 163, 184, 0.18);
    color: #eef5ff;
    box-shadow: none;
}

.account-tab:hover {
    color: #fff;
    background: rgba(255, 122, 24, 0.14);
}

.account-user-chip,
.receipt-total-chip {
    background: #132238;
    color: #eef5ff;
}

.account-kicker,
.offer-badge,
.account-status,
.saved-card-badge {
    background: rgba(255, 122, 24, 0.14);
    color: #ff9a47;
}

.account-outline-btn {
    background: transparent;
    color: #ff9a47;
    border-color: #ff7a18;
}

.account-outline-btn:hover {
    background: #ff7a18;
    color: #fff;
}

.order-details-row td {
    background: rgba(255, 122, 24, 0.08);
}

.receipt-item-row,
.receipt-summary-grid > div {
    border-bottom-color: rgba(148, 163, 184, 0.18);
}

.receipt-tax-numbers {
    border-top-color: rgba(148, 163, 184, 0.28);
}
