/* User Profile Styles */
.profile-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding-top: 4rem;
    padding-bottom: 6rem;
    position: relative;
    margin-bottom: 4rem;
}

.profile-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.profile-card {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-top: -5rem;
    position: relative;
    z-index: 2;
}

[data-bs-theme="dark"] .profile-card {
    background: #1e1e1e;
    border-color: #2c2c2c;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--card-bg, #fff);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    margin-top: -5rem;
    margin-bottom: 1rem;
    background: #fff;
}

[data-bs-theme="dark"] .profile-avatar {
    border-color: #1e1e1e;
    background: #1e1e1e;
}

.stat-box {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.05);
    border: 1px solid rgba(13, 110, 253, 0.1);
    transition: transform 0.2s;
}

.stat-box:hover {
    transform: translateY(-3px);
    background: rgba(13, 110, 253, 0.1);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d6efd;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted, #6c757d);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-muted, #6c757d);
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-tabs .nav-link:hover {
    color: #0d6efd;
    background: transparent;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    background: transparent;
    border-bottom-color: #0d6efd;
}
