/* quiz/static/quiz/css/profile_modal.css */

#profileModal .modal-content {
    border-radius: 24px;
    background: var(--quiz-card-bg, #ffffff);
    overflow: hidden;
}

#profileModal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
}

#profileModal .modal-footer {
    border-top: none;
    padding: 0.5rem 1.5rem 1.5rem;
}

#profileModal .modal-body {
    padding: 1.5rem;
}

.profile-avatar {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.stat-card {
    transition: transform 0.2s ease;
    background: var(--bs-tertiary-bg) !important;
    border-radius: 12px !important;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-card .d-block {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-bs-theme="dark"] .stat-card {
    background: rgba(255,255,255,0.05) !important;
}

[data-bs-theme="dark"] .badge.bg-light {
    background: rgba(255,255,255,0.08) !important;
}

.profile-clickable {
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.profile-clickable:hover {
    background-color: rgba(13, 110, 253, 0.05) !important;
}

[data-bs-theme="dark"] .profile-clickable:hover {
    background-color: rgba(13, 110, 253, 0.15) !important;
}

#profileContent {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
    .profile-avatar {
        width: 100px !important;
        height: 100px !important;
    }
    .stat-card .fw-bold {
        font-size: 1rem;
    }
    #profileModal .modal-body {
        padding: 1rem;
    }
}