body {
    background-color: #f5f7fb;
}

.auth-card {
    max-width: 460px;
    border-radius: 16px;
}

.auth-brand {
    font-weight: 700;
    letter-spacing: 0.08em;
}

.auth-muted {
    color: #6c757d;
}

.admin-wrapper {
    min-height: 100vh;
    background: #f5f7fb;
}

.admin-sidebar {
    min-width: 260px;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

.admin-sidebar .nav-link {
    color: #d0d5dd;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover {
    background: rgba(99, 102, 241, 0.18);
    color: #fff;
}

.admin-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e4e7ec;
}

.stat-card {
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(16, 24, 40, 0.06);
}

.card-soft {
    background: #f8f9fc;
}

.auth-hero {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff;
}

.sidebar-brand .sidebar-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #6366f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.sidebar-muted {
    font-size: 0.75rem;
    color: #94a3b8;
}

.sidebar-section {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}

.admin-metric {
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.admin-metric .metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.metric-blue {
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
}

.metric-green {
    background: linear-gradient(135deg, #16a34a 0%, #4ade80 100%);
}

.metric-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #c4b5fd 100%);
}

.metric-title {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
}

.invoice-shell {
    max-width: 980px;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

.invoice-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.invoice-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.invoice-logo {
    height: 56px;
    width: auto;
}

.invoice-brand-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.invoice-brand-subtitle {
    color: #64748b;
    font-size: 0.9rem;
}

.invoice-banner {
    min-width: 260px;
    background: linear-gradient(135deg, #3b82f6 0%, #60dbff 100%);
    color: #fff;
    border-radius: 24px;
    padding: 20px 24px;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.3);
}

.invoice-banner-title {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.invoice-banner-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-top: 6px;
}

.invoice-banner-amount {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 12px;
}

.invoice-banner-meta {
    margin-left: auto;
    max-width: 320px;
    margin-top: -4px;
    margin-bottom: 16px;
}

.invoice-section {
    margin-top: 24px;
}

.invoice-section-title {
    color: #3b82f6;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.invoice-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef2ff;
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.invoice-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 20px 0;
}

.invoice-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    align-items: start;
}

.invoice-line {
    color: #475569;
    font-size: 0.92rem;
}

.invoice-line-strong {
    font-weight: 600;
    color: #0f172a;
}

.invoice-from-card {
    border-radius: 20px;
    padding: 20px 22px;
    justify-self: end;
    max-width: 320px;
}

.invoice-table thead th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    border-top: 1px solid #e2e8f0;
}

.invoice-table tbody td {
    color: #334155;
}

.invoice-footer {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.invoice-total {
    font-weight: 600;
    color: #0f172a;
}

.invoice-total-amount {
    font-size: 1.4rem;
}

.invoice-pay-button {
    border-radius: 999px;
    padding: 12px 28px;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.invoice-meta {
    display: grid;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
}

.invoice-meta strong {
    color: #0f172a;
}

.invoice-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0f172a;
}

.invoice-icon {
    width: 18px;
    height: 18px;
    color: #2563eb;
}
