﻿/* ============================================================
   BILLING HISTORY PAGE
   Uses global theme tokens from themes.css
   ============================================================ */

/* ------------------------------------------------------------
   Card
   ------------------------------------------------------------ */
.billing-history-card {
    background: var(--color-primary-light, #FAFAF9);
    border-radius: 12px;
    border: 1px solid rgba(69, 85, 108, 0.16);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(29, 41, 61, 0.08);
}

/* ------------------------------------------------------------
   Table
   ------------------------------------------------------------ */
.billing-table {
    table-layout: fixed;
    width: 100%;
}

    .billing-table thead th {
        background-color: rgba(116, 212, 255, 0.18);
        font-weight: 700;
        border-bottom: 1px solid rgba(69, 85, 108, 0.16);
        color: var(--text-dark, #1D293D);
    }

    .billing-table tbody tr {
        border-bottom: 1px solid rgba(69, 85, 108, 0.12);
    }

        .billing-table tbody tr:hover {
            background-color: rgba(69, 85, 108, 0.05);
        }

    .billing-table th,
    .billing-table td {
        vertical-align: middle;
        text-align: center;
        color: var(--text-dark, #1D293D);
    }

/* ------------------------------------------------------------
   Status colors
   ------------------------------------------------------------ */
.billing-text-success {
    color: var(--state-success, #9AE630);
    font-weight: 700;
}

.billing-text-danger {
    color: var(--state-danger, #FF2056);
    font-weight: 700;
}

/* ------------------------------------------------------------
   Billing heading
   ------------------------------------------------------------ */
.billing-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-primary-dark, #1D293D);
    margin-bottom: 1rem;
}

/* ------------------------------------------------------------
   Billing table
   ------------------------------------------------------------ */

.billing-table {
    background: var(--color-primary-light);
}

    .billing-table thead th {
        background: rgba(76, 74, 79, 0.08);
        color: var(--text-dark);
        border-bottom: 1px solid rgba(76, 74, 79, 0.15);
    }

    .billing-table tbody td {
        color: var(--text-dark);
    }

    .billing-table tbody tr {
        border-bottom: 1px solid rgba(76, 74, 79, 0.12);
    }

        .billing-table tbody tr:hover {
            background: rgba(76, 74, 79, 0.05);
        }