.buyer-auth,
.buyer-account {
    background: #f6f7fb;
    min-height: 65vh;
}

.buyer-auth-card,
.buyer-panel,
.buyer-stat {
    background: #fff;
    border: 1px solid #e9ebf2;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(23, 35, 79, .06);
}

.buyer-auth-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px;
}

.buyer-sidebar {
    background: #182039;
    border-radius: 14px;
    padding: 22px 14px;
    color: #fff;
}

.buyer-sidebar a {
    align-items: center;
    border-radius: 9px;
    color: rgba(255, 255, 255, .82);
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
    padding: 11px 13px;
}

.buyer-sidebar a:hover,
.buyer-sidebar a.active {
    background: #fff;
    color: #182039;
}

.buyer-sidebar .buyer-logout {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, .82);
    padding: 11px 13px;
    text-align: left;
    width: 100%;
}

.buyer-panel {
    padding: 24px;
}

.buyer-stat {
    height: 100%;
    padding: 20px;
}

.buyer-stat .value {
    color: #182039;
    font-size: 28px;
    font-weight: 700;
}

.buyer-table th {
    color: #687086;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.buyer-badge {
    border-radius: 20px;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    text-transform: capitalize;
}

.buyer-badge.pending,
.buyer-badge.unpaid {
    background: #fff3cd;
    color: #7a5a00;
}

.buyer-badge.confirmed,
.buyer-badge.packed,
.buyer-badge.partial,
.buyer-badge.shipped {
    background: #dbeafe;
    color: #1d4ed8;
}

.buyer-badge.delivered,
.buyer-badge.completed,
.buyer-badge.paid {
    background: #dcfce7;
    color: #15803d;
}

.buyer-badge.cancelled,
.buyer-badge.void {
    background: #fee2e2;
    color: #b91c1c;
}

@media print {
    header,
    nav,
    footer,
    .footer-nav,
    .buyer-sidebar,
    .invoice-actions {
        display: none !important;
    }

    .buyer-account {
        background: #fff;
        padding: 0 !important;
    }

    .buyer-panel {
        border: 0;
        box-shadow: none;
    }

    .buyer-account .col-lg-9 {
        width: 100%;
    }
}
