/* ========================================
   MODERN USER CENTER - JEWELRY BRAND THEME
   ======================================== */

/* Container */
.user-center-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Header Section */
.user-center-header {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.user-center-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.user-welcome {
    position: relative;
    z-index: 1;
}

.user-welcome h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.user-welcome .user-email {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-welcome .user-email i {
    font-size: 18px;
}

/* Quick Stats */
.user-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
    border-color: #D4AF37;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.stat-card .stat-icon i {
    font-size: 24px;
    color: #fff;
}

.stat-card .stat-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

/* Navigation Menu */
.user-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.menu-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #D4AF37 0%, #B8860B 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
}

.menu-card:hover::before {
    transform: scaleY(1);
}

.menu-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(184, 134, 11, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.menu-card:hover .menu-card-icon {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
}

.menu-card-icon i {
    font-size: 28px;
    color: #D4AF37;
    transition: color 0.3s ease;
}

.menu-card:hover .menu-card-icon i {
    color: #fff;
}

.menu-card-content {
    flex: 1;
}

.menu-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
    transition: color 0.3s ease;
}

.menu-card:hover .menu-card-title {
    color: #D4AF37;
}

.menu-card-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.menu-card-arrow {
    font-size: 20px;
    color: #ccc;
    transition: all 0.3s ease;
}

.menu-card:hover .menu-card-arrow {
    color: #D4AF37;
    transform: translateX(4px);
}

/* Sign Out Button in Header */
.btn-signout-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.btn-signout-header:hover {
    background: #fff;
    border-color: #fff;
    color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-signout-header i {
    font-size: 18px;
}

/* Old Sign Out Section - Remove */
.user-signout-section {
    display: none;
}

.btn-signout {
    display: none;
}

/* VIP Badge */
.vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 12px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.vip-badge i {
    font-size: 14px;
}

/* Breadcrumb Override */
.user-center-wrapper .mbx {
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.user-center-wrapper .mbx .bx {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.user-center-wrapper .mbx .bx span {
    color: #666;
}

.user-center-wrapper .mbx .bx a {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.user-center-wrapper .mbx .bx a:hover {
    color: #B8860B;
}

.user-center-wrapper .mbx .bx i {
    color: #ccc;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .user-center-wrapper {
        padding: 20px 15px 60px;
    }

    .user-center-header {
        padding: 30px 20px;
        border-radius: 12px;
        margin-bottom: 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .btn-signout-header {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 16px;
    }

    .user-welcome h1 {
        font-size: 24px;
    }

    .user-welcome .user-email {
        font-size: 14px;
    }

    .user-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-card .stat-icon i {
        font-size: 20px;
    }

    .stat-card .stat-value {
        font-size: 24px;
    }

    .user-menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .menu-card {
        padding: 20px;
    }

    .menu-card-icon {
        width: 48px;
        height: 48px;
    }

    .menu-card-icon i {
        font-size: 24px;
    }

    .menu-card-title {
        font-size: 16px;
    }

    .menu-card-desc {
        font-size: 13px;
    }

    .vip-badge {
        margin-left: 0;
        margin-top: 8px;
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .user-stats {
        grid-template-columns: 1fr;
    }

    .stat-card .stat-value {
        font-size: 22px;
    }
}
