/* ========================================
   BOCHABERY BEAUTY - ACCOUNT STYLES
   ======================================== */

/* ---------- ACCOUNT HERO ---------- */
.account-hero {
    padding: 140px 40px 60px;
    background: linear-gradient(135deg, #1A1018 0%, #3A1F30 40%, #5A2A40 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.account-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(232, 200, 184, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

.account-hero-content {
    position: relative;
    z-index: 2;
}

.account-hero-tag {
    display: inline-block;
    padding: 8px 28px;
    border: 1px solid rgba(232, 200, 184, 0.25);
    border-radius: 50px;
    color: #E8C8B8;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: rgba(26, 16, 24, 0.3);
    backdrop-filter: blur(10px);
}

.account-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    color: #F8F0F0;
    line-height: 1.1;
}

.account-hero h1 span {
    background: linear-gradient(135deg, #E8C8B8, #F0DCD8, #E8C8B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.account-hero p {
    font-size: 18px;
    color: rgba(248, 240, 240, 0.5);
    font-weight: 300;
    margin-top: 8px;
}

/* ---------- ACCOUNT SECTION ---------- */
.account-section {
    padding: 60px 40px 100px;
    background: #F8F0F0;
}

.account-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ---------- AUTH TOGGLE ---------- */
.auth-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
}

.auth-btn {
    padding: 12px 40px;
    background: transparent;
    border: 2px solid rgba(26, 16, 24, 0.06);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn.active {
    background: linear-gradient(135deg, #E8C8B8, #D4A88A);
    color: #1A1018;
    border-color: #E8C8B8;
    box-shadow: 0 4px 20px rgba(232, 200, 184, 0.3);
}

.auth-btn:hover {
    transform: translateY(-2px);
}

/* ---------- AUTH FORMS ---------- */
.auth-form {
    display: none;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 16, 24, 0.04);
    max-width: 450px;
    margin: 0 auto;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    color: #1A1018;
    margin-bottom: 4px;
}

.auth-form p {
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
}

.auth-input-group {
    margin-bottom: 16px;
}

.auth-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1A1018;
    margin-bottom: 4px;
}

.auth-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(26, 16, 24, 0.06);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    background: #F8F0F0;
}

.auth-input-group input:focus {
    border-color: #C47A8A;
}

.auth-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #E8C8B8, #D4A88A);
    color: #1A1018;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.auth-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(232, 200, 184, 0.3);
}

.auth-switch {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #999;
}

.auth-switch span {
    color: #C47A8A;
    font-weight: 600;
    cursor: pointer;
}

.auth-switch span:hover {
    text-decoration: underline;
}

/* ---------- DASHBOARD ---------- */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.user-welcome h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: #1A1018;
}

.user-welcome h2 span {
    color: #C47A8A;
}

.user-welcome p {
    color: #999;
    font-size: 14px;
}

.logout-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(198, 40, 40, 0.2);
    color: #c62828;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #c62828;
    color: #fff;
}

/* ---------- ACCOUNT STATS ---------- */
.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(26, 16, 24, 0.04);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #C47A8A;
}

.stat-label {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

/* ---------- PROFILE SECTION ---------- */
.profile-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(26, 16, 24, 0.04);
    margin-bottom: 30px;
}

.profile-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1A1018;
    margin-bottom: 16px;
}

.profile-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 30px;
}

.profile-info p {
    font-size: 14px;
    color: #555;
    padding: 6px 0;
}

.profile-info strong {
    color: #1A1018;
}

/* ---------- ORDERS SECTION ---------- */
.orders-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(26, 16, 24, 0.04);
}

.orders-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1A1018;
    margin-bottom: 16px;
}

.no-orders {
    text-align: center;
    color: #999;
    padding: 30px 0;
    font-size: 15px;
}

.no-orders a {
    color: #C47A8A;
    font-weight: 600;
}

/* ---------- ORDER CARD ---------- */
.order-card {
    border: 1px solid rgba(26, 16, 24, 0.04);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 4px 20px rgba(26, 16, 24, 0.04);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.order-number {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: #1A1018;
}

.order-status {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.order-status.pending {
    background: rgba(255, 152, 0, 0.08);
    color: #e65100;
}

.order-status.confirmed {
    background: rgba(46, 125, 50, 0.08);
    color: #2e7d32;
}

.order-status.processing {
    background: rgba(33, 150, 243, 0.08);
    color: #0d47a1;
}

.order-status.shipped {
    background: rgba(156, 39, 176, 0.08);
    color: #6a1b9a;
}

.order-status.delivered {
    background: rgba(46, 125, 50, 0.08);
    color: #2e7d32;
}

.order-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.order-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.order-items span {
    font-size: 13px;
    color: #555;
    background: #F8F0F0;
    padding: 4px 12px;
    border-radius: 20px;
}

.order-total {
    font-size: 15px;
    font-weight: 600;
    color: #1A1018;
}

.order-tracking {
    font-size: 13px;
    color: #C47A8A;
    margin-top: 4px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .account-hero {
        padding: 110px 20px 40px;
    }
    .account-hero h1 {
        font-size: 34px;
    }
    .account-section {
        padding: 40px 16px 60px;
    }
    .auth-form {
        padding: 24px 20px;
    }
    .account-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .profile-info {
        grid-template-columns: 1fr;
    }
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .account-stats {
        grid-template-columns: 1fr;
    }
    .auth-toggle {
        flex-direction: column;
        align-items: center;
    }
    .auth-btn {
        width: 100%;
        text-align: center;
    }
    .auth-form {
        padding: 20px 16px;
    }
    .auth-form h2 {
        font-size: 24px;
    }
}