/**
 * Account & Auth CSS
 * Paris Grandes Cuisines — Premium Dark Theme
 * =============================================
 * Cinematic auth pages with gold accents, motion-ready
 */

/* ═══════════════════════════════════════
   AUTH SECTION — Full Viewport
   ═══════════════════════════════════════ */

.auth-section {
    position: relative;
    padding: 50px 0 80px;
    min-height: 70vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.auth-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════
   AUTH CARD — Glass Morphism
   ═══════════════════════════════════════ */

.auth-card {
    position: relative;
    z-index: 1;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(165deg, 
        rgba(17, 24, 39, 0.85) 0%, 
        rgba(13, 17, 23, 0.95) 100%);
    border: 1px solid rgba(201, 162, 39, 0.18);
    border-radius: 20px;
    padding: 0 40px 40px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(201, 162, 39, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.4), transparent);
}

/* ═══════════════════════════════════════
   TABS BAR
   ═══════════════════════════════════════ */

.auth-tabs-bar {
    display: flex;
    position: relative;
    margin: 0 -40px 32px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    padding-top: 8px;
}

.auth-tab-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 16px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px 16px 0 0;
    position: relative;
}

.auth-tab-item:hover {
    color: #e2c55e;
    background: rgba(201, 162, 39, 0.04);
}

.auth-tab-item.active {
    color: #e2c55e;
}

.auth-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a227, transparent);
    border-radius: 2px;
}

.auth-tab-item i {
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════
   HERO ICON (animated ring)
   ═══════════════════════════════════════ */

.auth-hero-icon {
    text-align: center;
    margin: 8px 0 20px;
}

.auth-icon-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(201, 162, 39, 0.04));
    border: 2px solid rgba(201, 162, 39, 0.25);
    color: #c9a227;
    font-size: 1.6rem;
    box-shadow: 
        0 0 20px rgba(201, 162, 39, 0.15),
        0 0 40px rgba(201, 162, 39, 0.05);
    transition: all 0.4s ease;
}

.auth-hero-icon--success .auth-icon-ring {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */

.auth-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 6px;
    letter-spacing: 0.3px;
}

.auth-subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0 0 28px;
    line-height: 1.5;
}

.auth-hint {
    text-align: center;
    color: #64748b;
    font-size: 0.82rem;
    margin: 0 0 20px;
    line-height: 1.5;
}

.auth-hint i {
    color: #c9a227;
    margin-right: 4px;
}

/* ═══════════════════════════════════════
   FORM ELEMENTS
   ═══════════════════════════════════════ */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Input group with icon */
.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    color: #64748b;
    font-size: 0.85rem;
    z-index: 2;
    pointer-events: none;
    transition: all 0.3s ease;
}

.auth-input {
    width: 100%;
    padding: 14px 14px 14px 42px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 162, 39, 0.12);
    border-radius: 12px;
    color: #f1f5f9;
    font-size: 0.92rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.auth-input::placeholder {
    color: #4b5563;
    font-weight: 400;
}

.auth-input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: 
        0 0 0 3px rgba(201, 162, 39, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-input:focus + .auth-input-icon,
.auth-input:focus ~ .auth-input-icon {
    color: #c9a227;
}

/* Eye toggle */
.auth-eye-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #4b5563;
    cursor: pointer;
    padding: 8px;
    font-size: 0.88rem;
    transition: color 0.2s;
    z-index: 2;
}

.auth-eye-btn:hover {
    color: #c9a227;
}

/* ═══════════════════════════════════════
   PASSWORD STRENGTH METER
   ═══════════════════════════════════════ */

.auth-pw-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -4px 0 2px;
    padding: 0 2px;
}

.auth-pw-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.auth-pw-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: all 0.4s ease;
}

.auth-pw-strength span {
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    min-width: 75px;
    text-align: right;
    transition: color 0.3s;
}

/* ═══════════════════════════════════════
   CHECKBOX (Custom)
   ═══════════════════════════════════════ */

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 4px 0;
}

.auth-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.auth-check-mark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(201, 162, 39, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    margin-top: 1px;
}

.auth-check-mark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: #0d1117;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.auth-checkbox input:checked + .auth-check-mark {
    background: linear-gradient(135deg, #c9a227, #e2c55e);
    border-color: #c9a227;
}

.auth-checkbox input:checked + .auth-check-mark::after {
    opacity: 1;
    transform: scale(1);
}

.auth-check-label {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
}

.auth-check-label a {
    color: #e2c55e;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.auth-check-label a:hover {
    border-bottom-color: #e2c55e;
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.auth-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.auth-btn:hover::before {
    opacity: 1;
}

.auth-btn-primary {
    background: linear-gradient(135deg, #c9a227 0%, #e2c55e 100%);
    color: #0d1117;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.25);
    letter-spacing: 0.3px;
}

.auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.35);
}

.auth-btn-primary:active {
    transform: translateY(0);
}

.auth-btn-secondary {
    background: rgba(201, 162, 39, 0.1);
    color: #e2c55e;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.auth-btn-secondary:hover {
    background: rgba(201, 162, 39, 0.18);
    border-color: rgba(201, 162, 39, 0.35);
}

.auth-btn-icon {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.auth-btn:hover .auth-btn-icon {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════
   FORGOT PASSWORD LINK
   ═══════════════════════════════════════ */

.auth-forgot-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: #e2c55e;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.auth-forgot-link i {
    margin-right: 5px;
    font-size: 0.82rem;
}

.auth-forgot-link:hover {
    color: #f5d86e;
    text-shadow: 0 0 12px rgba(201, 162, 39, 0.3);
}

/* ═══════════════════════════════════════
   INFO BOX
   ═══════════════════════════════════════ */

.auth-info-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    padding: 16px 18px;
    background: rgba(201, 162, 39, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.12);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.auth-info-box:hover {
    border-color: rgba(201, 162, 39, 0.22);
    background: rgba(201, 162, 39, 0.07);
}

.auth-info-box > i {
    color: #c9a227;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.auth-info-box strong {
    display: block;
    color: #e2e8f0;
    font-size: 0.82rem;
    margin-bottom: 3px;
}

.auth-info-box span {
    color: #94a3b8;
    font-size: 0.78rem;
    line-height: 1.5;
}

.auth-info-box a {
    color: #e2c55e;
    text-decoration: none;
    font-weight: 600;
}

.auth-info-box a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════ */

.auth-alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.86rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.auth-alert > i {
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 1rem;
}

.auth-alert a {
    font-weight: 600;
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.auth-alert-error a {
    color: #fca5a5;
}

.auth-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.auth-alert-success a {
    color: #6ee7b7;
}

/* ═══════════════════════════════════════
   BOTTOM SWITCHER
   ═══════════════════════════════════════ */

.auth-bottom-switch {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 162, 39, 0.08);
    font-size: 0.85rem;
    color: #64748b;
}

.auth-bottom-switch a {
    color: #e2c55e;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
}

.auth-bottom-switch a:hover {
    color: #f5d86e;
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.2);
}

/* Footer link (back to login) */
.auth-footer-link {
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(201, 162, 39, 0.08);
}

.auth-footer-link a {
    color: #e2c55e;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s;
}

.auth-footer-link a:hover {
    color: #f5d86e;
}

.auth-footer-link a i {
    margin-right: 5px;
    transition: transform 0.25s;
}

.auth-footer-link a:hover i {
    transform: translateX(-3px);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 600px) {
    .auth-card {
        margin: 0 12px;
        padding: 0 20px 28px;
        border-radius: 16px;
    }
    
    .auth-tabs-bar {
        margin: 0 -20px 24px;
    }
    
    .auth-tab-item {
        padding: 14px 10px;
        font-size: 0.84rem;
        gap: 6px;
    }
    
    .auth-row {
        grid-template-columns: 1fr;
    }
    
    .auth-title {
        font-size: 1.3rem;
    }
    
    .auth-input {
        padding: 12px 12px 12px 38px;
        font-size: 0.88rem;
    }
    
    .auth-icon-ring {
        width: 60px;
        height: 60px;
        font-size: 1.35rem;
    }
}


/* ═══════════════════════════════════════
   ACCOUNT LAYOUT
   ═══════════════════════════════════════ */

.acc-section {
    padding: 40px 0 80px;
    min-height: 70vh;
}

.acc-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

/* ── Sidebar ── */
.acc-sidebar {
    background: rgba(20, 27, 45, 0.6);
    border: 1px solid rgba(201, 162, 39, 0.12);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    position: sticky;
    top: 90px;
}

.acc-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    background: rgba(201, 162, 39, 0.04);
}

.acc-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a227, #e2c55e);
    color: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.acc-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.acc-user-info strong {
    color: #f1f5f9;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acc-user-info small {
    color: #64748b;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acc-client-num {
    color: #c9a227 !important;
    font-family: monospace;
    font-size: 0.72rem !important;
}

/* ── Nav ── */
.acc-nav {
    padding: 8px 0;
}

.acc-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
}

.acc-nav-link:hover {
    color: #e2c55e;
    background: rgba(201, 162, 39, 0.06);
}

.acc-nav-link.active {
    color: #c9a227;
    background: rgba(201, 162, 39, 0.1);
}

.acc-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #c9a227;
}

.acc-nav-link i {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
}

.acc-nav-badge {
    margin-left: auto;
    background: #c9a227;
    color: #0d1117;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
}

.acc-nav-divider {
    height: 1px;
    background: rgba(201, 162, 39, 0.1);
    margin: 6px 16px;
}

.acc-nav-logout {
    color: #ef4444 !important;
}

.acc-nav-logout:hover {
    color: #f87171 !important;
    background: rgba(239, 68, 68, 0.08) !important;
}


/* ═══════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════ */

.acc-main {
    min-width: 0;
}

.acc-welcome {
    margin-bottom: 28px;
}

.acc-welcome h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.acc-welcome p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Stats */
.acc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.acc-stat-card {
    background: rgba(20, 27, 45, 0.6);
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s;
}

.acc-stat-card:hover {
    border-color: rgba(201, 162, 39, 0.25);
}

.acc-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.acc-stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.2;
}

.acc-stat-label {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

/* Quick Actions */
.acc-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.acc-action-card {
    background: rgba(20, 27, 45, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.acc-action-card:hover {
    border-color: #c9a227;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.1);
}

.acc-action-card i {
    font-size: 1.4rem;
    color: #c9a227;
    display: block;
    margin-bottom: 10px;
}

.acc-action-card span {
    display: block;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.acc-action-card small {
    color: #64748b;
    font-size: 0.75rem;
}

/* Recent orders */
.acc-recent h3 {
    font-size: 1.05rem;
    color: #e2c55e;
    margin-bottom: 14px;
}

.acc-recent h3 i {
    margin-right: 6px;
}


/* ═══════════════════════════════════════
   ORDERS LIST
   ═══════════════════════════════════════ */

.acc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.acc-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #f1f5f9;
}

.acc-section-header h2 i {
    color: #c9a227;
    margin-right: 8px;
}

.acc-section-actions {
    display: flex;
    gap: 8px;
}

.acc-orders-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acc-order-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(20, 27, 45, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.acc-order-row:hover {
    border-color: rgba(201, 162, 39, 0.25);
    background: rgba(201, 162, 39, 0.04);
    transform: translateX(4px);
}

.acc-order-num {
    min-width: 130px;
}

.acc-order-num strong {
    display: block;
    color: #f1f5f9;
    font-size: 0.9rem;
}

.acc-order-num small {
    color: #64748b;
    font-size: 0.78rem;
}

.acc-order-meta {
    color: #94a3b8;
    font-size: 0.82rem;
    min-width: 80px;
}

.acc-order-status {
    flex: 1;
}

.acc-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.acc-order-total {
    font-weight: 700;
    color: #c9a227;
    font-size: 0.95rem;
    min-width: 90px;
    text-align: right;
}

.acc-order-row > .fa-chevron-right {
    color: #475569;
    font-size: 0.75rem;
    transition: color 0.2s;
}

.acc-order-row:hover > .fa-chevron-right {
    color: #c9a227;
}

/* Empty state */
.acc-empty {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.acc-empty i {
    font-size: 3rem;
    color: #475569;
    margin-bottom: 16px;
    display: block;
}

.acc-empty p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}


/* ═══════════════════════════════════════
   ORDER DETAIL
   ═══════════════════════════════════════ */

.acc-order-detail {
    background: rgba(20, 27, 45, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.acc-order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.acc-info-block {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.08);
}

.acc-info-block:first-child {
    border-right: 1px solid rgba(201, 162, 39, 0.08);
}

.acc-info-block h4 {
    color: #c9a227;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.acc-info-block p {
    color: #cbd5e1;
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.acc-info-block p strong {
    color: #94a3b8;
}

/* Line items */
.acc-order-items {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.08);
}

.acc-order-items h4 {
    color: #c9a227;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.acc-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.acc-item-row:last-child {
    border-bottom: none;
}

.acc-item-info {
    flex: 1;
}

.acc-item-info strong {
    color: #f1f5f9;
    font-size: 0.88rem;
    display: block;
}

.acc-item-info small {
    color: #64748b;
    font-size: 0.78rem;
}

.acc-item-qty {
    color: #94a3b8;
    font-size: 0.85rem;
    min-width: 40px;
}

.acc-item-price {
    color: #94a3b8;
    font-size: 0.85rem;
    min-width: 90px;
    text-align: right;
}

.acc-item-total {
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 100px;
    text-align: right;
}

.acc-order-total-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: rgba(201, 162, 39, 0.06);
}

.acc-order-total-bar span {
    color: #94a3b8;
    font-size: 0.92rem;
    font-weight: 500;
}

.acc-order-total-bar strong {
    color: #c9a227;
    font-size: 1.2rem;
    font-weight: 700;
}

.acc-order-notes {
    padding: 18px 24px;
    border-top: 1px solid rgba(201, 162, 39, 0.08);
}

.acc-order-notes h4 {
    color: #c9a227;
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.acc-order-notes p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.6;
}


/* ═══════════════════════════════════════
   PROFILE FORM
   ═══════════════════════════════════════ */

.acc-form {
    background: rgba(20, 27, 45, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 14px;
    padding: 28px;
}

.acc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.acc-password-section {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.acc-password-section h3 {
    color: #e2c55e;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.acc-password-section h3 i {
    margin-right: 6px;
}


/* ═══════════════════════════════════════
   ADDRESSES
   ═══════════════════════════════════════ */

.acc-address-card {
    background: rgba(20, 27, 45, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 14px;
    padding: 24px;
    position: relative;
}

.acc-address-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #c9a227;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.acc-address-card p {
    color: #cbd5e1;
    font-size: 0.88rem;
    margin-bottom: 3px;
}

.acc-address-card p i {
    color: #64748b;
    margin-right: 6px;
    width: 14px;
}

.acc-address-form-wrapper h3 {
    color: #e2c55e;
    font-size: 1.05rem;
    margin-bottom: 16px;
}


/* ═══════════════════════════════════════
   INVOICE (printable)
   ═══════════════════════════════════════ */

.acc-invoice {
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
}

.acc-inv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 2px solid #c9a227;
}

.acc-inv-logo p {
    color: #333;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 8px;
}

.acc-inv-logo small {
    color: #666;
    font-size: 0.8rem;
}

.acc-inv-meta h3 {
    color: #c9a227;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: right;
    margin-bottom: 8px;
}

.acc-inv-meta p {
    color: #555;
    font-size: 0.85rem;
    text-align: right;
    margin-bottom: 3px;
}

.acc-inv-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.acc-inv-parties h4 {
    color: #c9a227;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.acc-inv-parties p {
    color: #444;
    font-size: 0.88rem;
    margin-bottom: 2px;
}

.acc-inv-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.acc-inv-table thead {
    background: #f5f5f5;
}

.acc-inv-table th {
    padding: 10px 14px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    text-align: left;
    border-bottom: 2px solid #e5e5e5;
}

.acc-inv-table th:last-child,
.acc-inv-table td:last-child {
    text-align: right;
}

.acc-inv-table th:nth-child(2),
.acc-inv-table td:nth-child(2),
.acc-inv-table th:nth-child(3),
.acc-inv-table td:nth-child(3) {
    text-align: center;
}

.acc-inv-table td {
    padding: 10px 14px;
    font-size: 0.88rem;
    color: #333;
    border-bottom: 1px solid #eee;
}

.acc-inv-table td small {
    color: #888;
    font-size: 0.78rem;
}

.acc-inv-totals {
    margin-left: auto;
    width: 260px;
}

.acc-inv-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.88rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.acc-inv-total-ttc {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a1a;
    border-bottom: 2px solid #c9a227;
    padding-top: 10px;
    margin-top: 4px;
}

.acc-inv-footer {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.82rem;
}


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 900px) {
    .acc-layout {
        grid-template-columns: 1fr;
    }

    .acc-sidebar {
        position: static;
    }

    .acc-user-card {
        padding: 16px;
    }

    .acc-nav {
        display: flex;
        overflow-x: auto;
        padding: 6px 8px;
        gap: 2px;
        -webkit-overflow-scrolling: touch;
    }

    .acc-nav-link {
        white-space: nowrap;
        padding: 10px 14px;
        border-radius: 8px;
        font-size: 0.82rem;
    }

    .acc-nav-link.active::before {
        display: none;
    }

    .acc-nav-link.active {
        background: rgba(201, 162, 39, 0.15);
        border-radius: 8px;
    }

    .acc-nav-divider {
        display: none;
    }

    .acc-stats {
        grid-template-columns: 1fr 1fr;
    }

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

    .acc-order-info-grid {
        grid-template-columns: 1fr;
    }

    .acc-info-block:first-child {
        border-right: none;
    }

    .acc-form-grid {
        grid-template-columns: 1fr;
    }

    .acc-inv-parties {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .auth-card {
        padding: 28px 20px;
        border-radius: 12px;
        margin: 0 4px;
    }

    .auth-tabs {
        margin: -28px -20px 24px;
    }

    .acc-stats {
        grid-template-columns: 1fr;
    }

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

    .acc-order-row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px 16px;
    }

    .acc-order-num {
        min-width: auto;
    }

    .acc-order-meta {
        display: none;
    }

    .acc-order-total {
        min-width: auto;
    }

    .acc-order-row > .fa-chevron-right {
        display: none;
    }

    .acc-item-row {
        flex-wrap: wrap;
    }

    .acc-item-price {
        display: none;
    }

    .acc-invoice {
        padding: 20px 16px;
    }

    .acc-inv-header {
        flex-direction: column;
        gap: 16px;
    }

    .acc-inv-meta {
        text-align: left !important;
    }

    .acc-inv-meta h3,
    .acc-inv-meta p {
        text-align: left !important;
    }

    .acc-inv-totals {
        width: 100%;
    }

    .acc-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ═══════════════════════════════════════
   PRINT STYLES (Invoice)
   ═══════════════════════════════════════ */

@media print {
    body * {
        visibility: hidden;
    }

    .acc-invoice,
    .acc-invoice * {
        visibility: visible !important;
    }

    .acc-invoice {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 30px;
        box-shadow: none;
        border-radius: 0;
    }

    .site-header,
    .acc-sidebar,
    .acc-section-header,
    .mobile-bottom-nav,
    .back-to-top,
    .scroll-progress,
    .cursor-follower,
    .wa-fab,
    .wachat-widget,
    .page-header-motion {
        display: none !important;
    }
}
