/**
 * LearnDash Stats Pro v2.0 - Modern Design
 * Diseño moderno tipo app móvil con animaciones fluidas
 */

/* === VARIABLES CSS === */
:root {
    --lds-primary: #667eea;
    --lds-primary-dark: #5568d3;
    --lds-secondary: #764ba2;
    --lds-success: #4CAF50;
    --lds-warning: #ff9800;
    --lds-danger: #f5576c;
    --lds-info: #4facfe;
    
    --lds-bg: #f5f7fa;
    --lds-card-bg: #ffffff;
    --lds-text: #2c3e50;
    --lds-text-muted: #6c757d;
    --lds-border: #e9ecef;
    
    --lds-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --lds-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --lds-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    --lds-radius-sm: 8px;
    --lds-radius-md: 12px;
    --lds-radius-lg: 16px;
    --lds-radius-xl: 24px;
    
    --lds-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
.lds-modern-dashboard * {
    box-sizing: border-box;
}

.lds-modern-dashboard {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--lds-bg);
    padding: 20px;
    min-height: 100vh;
    color: var(--lds-text);
}

/* === LOADING SPINNER === */
.lds-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--lds-border);
    border-top-color: var(--lds-primary);
    border-radius: 50%;
    animation: lds-spin 0.8s linear infinite;
    margin: 20px auto;
}

@keyframes lds-spin {
    to { transform: rotate(360deg); }
}

/* === HEADER DEL DASHBOARD === */
.lds-dashboard-header {
    background: var(--lds-card-bg);
    border-radius: var(--lds-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--lds-shadow-md);
    animation: lds-fadeSlideDown 0.5s ease-out;
}

.lds-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.lds-user-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lds-user-avatar {
    position: relative;
}

.lds-user-avatar img {
    border-radius: 50%;
    border: 3px solid var(--lds-primary);
    animation: lds-pulse 2s ease-in-out infinite;
}

.lds-status-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: var(--lds-success);
    border: 3px solid var(--lds-card-bg);
    border-radius: 50%;
    animation: lds-pulse 2s ease-in-out infinite;
}

.lds-user-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 4px 0;
    background: linear-gradient(135deg, var(--lds-primary) 0%, var(--lds-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lds-subtitle {
    margin: 0;
    color: var(--lds-text-muted);
    font-size: 14px;
}

.lds-header-actions {
    display: flex;
    gap: 8px;
}

/* === BOTONES === */
.lds-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--lds-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--lds-transition);
    background: var(--lds-primary);
    color: white;
}

.lds-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--lds-shadow-md);
}

.lds-btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lds-bg);
    color: var(--lds-text);
}

.lds-btn-icon:hover {
    background: var(--lds-primary);
    color: white;
}

.lds-btn-small {
    padding: 6px 12px;
    font-size: 12px;
    background: var(--lds-bg);
    color: var(--lds-text);
    border: 2px solid transparent;
}

.lds-btn-small.active {
    background: var(--lds-primary);
    color: white;
    border-color: var(--lds-primary);
}

/* === WIDGETS DE ESTADÍSTICAS === */
.lds-stats-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.lds-widget {
    background: var(--lds-card-bg);
    border-radius: var(--lds-radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--lds-shadow-sm);
    cursor: pointer;
    transition: var(--lds-transition);
    position: relative;
    overflow: hidden;
    animation: lds-fadeSlideUp 0.5s ease-out;
}

.lds-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0;
    transition: var(--lds-transition);
}

.lds-widget:hover {
    transform: translateY(-4px);
    box-shadow: var(--lds-shadow-lg);
}

.lds-widget:hover::before {
    opacity: 0.1;
}

.lds-widget-gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.lds-widget-gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.lds-widget-gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.lds-widget-gradient-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.lds-widget-icon {
    font-size: 48px;
    line-height: 1;
    animation: lds-float 3s ease-in-out infinite;
}

.lds-widget-content {
    flex: 1;
}

.lds-widget-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.lds-widget-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.lds-widget-trend {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* === GRID DEL DASHBOARD === */
.lds-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.lds-card {
    background: var(--lds-card-bg);
    border-radius: var(--lds-radius-lg);
    box-shadow: var(--lds-shadow-sm);
    overflow: hidden;
    transition: var(--lds-transition);
    animation: lds-fadeSlideUp 0.6s ease-out;
}

.lds-card:hover {
    box-shadow: var(--lds-shadow-md);
}

.lds-card-full {
    grid-column: 1 / -1;
}

.lds-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--lds-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lds-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--lds-text);
}

.lds-card-body {
    padding: 24px;
}

.lds-scrollable {
    max-height: 400px;
    overflow-y: auto;
}

.lds-scrollable::-webkit-scrollbar {
    width: 8px;
}

.lds-scrollable::-webkit-scrollbar-track {
    background: var(--lds-bg);
    border-radius: 4px;
}

.lds-scrollable::-webkit-scrollbar-thumb {
    background: var(--lds-border);
    border-radius: 4px;
}

.lds-scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--lds-text-muted);
}

/* === HEATMAP === */
.lds-heatmap-container {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lds-heatmap-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--lds-text-muted);
}

.lds-legend-boxes {
    display: flex;
    gap: 3px;
}

.lds-legend-box {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* === BADGES === */
.lds-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.lds-badge-info {
    background: rgba(79, 172, 254, 0.1);
    color: var(--lds-info);
}

/* === TOOLTIPS === */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: var(--lds-text);
    color: white;
    font-size: 12px;
    border-radius: var(--lds-radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--lds-transition);
    z-index: 1000;
}

[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--lds-text);
    opacity: 0;
    pointer-events: none;
    transition: var(--lds-transition);
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
}

/* === ACTIVIDAD RECIENTE === */
.lds-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--lds-radius-sm);
    transition: var(--lds-transition);
    cursor: pointer;
}

.lds-activity-item:hover {
    background: var(--lds-bg);
}

.lds-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.lds-activity-icon.success {
    background: rgba(76, 175, 80, 0.1);
}

.lds-activity-icon.error {
    background: rgba(245, 87, 108, 0.1);
}

.lds-activity-content {
    flex: 1;
}

.lds-activity-title {
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 4px 0;
}

.lds-activity-meta {
    font-size: 12px;
    color: var(--lds-text-muted);
}

.lds-activity-score {
    font-size: 18px;
    font-weight: 700;
}

.lds-activity-score.success {
    color: var(--lds-success);
}

.lds-activity-score.error {
    color: var(--lds-danger);
}

/* === ANÁLISIS DE PATRONES === */
.lds-pattern-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--lds-bg);
    border-radius: var(--lds-radius-sm);
    border-left: 4px solid var(--lds-primary);
}

.lds-pattern-label {
    font-weight: 600;
    font-size: 14px;
}

.lds-pattern-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--lds-primary);
}

/* === PREDICCIÓN IA === */
.lds-prediction-card {
    text-align: center;
    padding: 24px;
}

.lds-prediction-score {
    font-size: 64px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--lds-primary) 0%, var(--lds-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 16px 0;
    animation: lds-scaleIn 0.5s ease-out;
}

.lds-prediction-label {
    font-size: 14px;
    color: var(--lds-text-muted);
    margin-bottom: 8px;
}

.lds-prediction-trend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.lds-prediction-trend.up {
    background: rgba(76, 175, 80, 0.1);
    color: var(--lds-success);
}

.lds-prediction-trend.down {
    background: rgba(245, 87, 108, 0.1);
    color: var(--lds-danger);
}

.lds-prediction-trend.stable {
    background: rgba(108, 117, 125, 0.1);
    color: var(--lds-text-muted);
}

/* === ANIMACIONES === */
@keyframes lds-fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes lds-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes lds-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes lds-scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* === MODO PANTALLA COMPLETA === */
.lds-modern-dashboard.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
    padding: 40px;
    background: var(--lds-bg);
}

/* === RESPONSIVO === */
@media (max-width: 1024px) {
    .lds-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .lds-modern-dashboard {
        padding: 12px;
    }
    
    .lds-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lds-user-info h1 {
        font-size: 24px;
    }
    
    .lds-stats-widgets {
        grid-template-columns: 1fr;
    }
    
    .lds-widget {
        padding: 20px;
    }
    
    .lds-widget-icon {
        font-size: 36px;
    }
    
    .lds-widget-value {
        font-size: 28px;
    }
    
    .lds-dashboard-grid {
        gap: 16px;
    }
    
    .lds-card-body {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .lds-user-avatar img {
        width: 48px;
        height: 48px;
    }
    
    .lds-user-info h1 {
        font-size: 20px;
    }
    
    .lds-widget {
        flex-direction: column;
        text-align: center;
    }
    
    .lds-prediction-score {
        font-size: 48px;
    }
}

/* === CHARTS IMPROVEMENTS === */
canvas {
    max-height: 300px;
}

.lds-chart-controls {
    display: flex;
    gap: 8px;
}

/* === WIDGET COMPACTO PARA HOMEPAGE === */
.lds-compact-widget {
    max-width: 100%;
    margin: 20px auto;
}

.lds-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.lds-compact-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lds-compact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    z-index: 0;
}

.lds-compact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Gradientes específicos para cada tarjeta */
.lds-compact-card.lds-gradient-1::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.lds-compact-card.lds-gradient-2::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.lds-compact-card.lds-gradient-3::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.lds-compact-card.lds-gradient-4::before {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.lds-compact-icon {
    font-size: 56px;
    line-height: 1;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.25);
    padding: 15px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.lds-compact-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.lds-compact-value {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lds-compact-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.3px;
}

.lds-widget-login-msg {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    color: #6c757d;
    font-size: 16px;
}

/* Animación de entrada */
.lds-compact-card {
    animation: lds-compactFadeIn 0.6s ease-out;
}

.lds-compact-card:nth-child(1) {
    animation-delay: 0s;
}

.lds-compact-card:nth-child(2) {
    animation-delay: 0.1s;
}

.lds-compact-card:nth-child(3) {
    animation-delay: 0.2s;
}

.lds-compact-card:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes lds-compactFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo para widget compacto */
@media (max-width: 1024px) {
    .lds-compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lds-compact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .lds-compact-card {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .lds-compact-icon {
        font-size: 48px;
        padding: 12px;
    }
    
    .lds-compact-value {
        font-size: 40px;
    }
    
    .lds-compact-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .lds-compact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .lds-compact-card {
        padding: 20px;
    }
    
    .lds-compact-value {
        font-size: 36px;
    }
}

/* === QUIZ PERFORMANCE ELEGANTE === */

.lds-quiz-performance-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Elegante */
.lds-elegant-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25);
}

.lds-header-content-elegant {
    max-width: 800px;
}

.lds-elegant-title {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.lds-elegant-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

/* Filtros Elegantes */
.lds-quiz-filters-elegant {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.lds-filter-btn-elegant {
    padding: 12px 28px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lds-filter-btn-elegant:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.lds-filter-btn-elegant.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

/* Grid de Tarjetas */
.lds-quiz-grid-elegant {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

/* Tarjeta de Quiz */
.lds-quiz-card-elegant {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lds-quiz-card-elegant:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.lds-quiz-card-elegant.passed {
    border-color: #4CAF50;
}

.lds-quiz-card-elegant.failed {
    border-color: #f5576c;
}

/* Header de la Tarjeta */
.lds-quiz-card-header-elegant {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f8f9fa;
}

.lds-quiz-title-elegant {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.lds-quiz-course-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Estadísticas en Grid */
.lds-quiz-stats-elegant {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.lds-stat-elegant {
    text-align: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.lds-stat-label-elegant {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 600;
}

.lds-stat-value-elegant {
    font-size: 28px;
    font-weight: 800;
    color: #2c3e50;
}

/* Detalles */
.lds-quiz-details-elegant {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.lds-detail-row-elegant {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.lds-detail-row-elegant span {
    color: #6c757d;
}

.lds-detail-row-elegant strong {
    color: #2c3e50;
    font-weight: 700;
}

.lds-positive-elegant {
    color: #4CAF50 !important;
}

/* Gráfico */
.lds-quiz-chart-elegant {
    height: 150px;
    margin-bottom: 16px;
}

.lds-mini-chart-elegant {
    max-height: 150px;
}

/* Estado */
.lds-quiz-status-elegant {
    text-align: center;
}

.lds-badge-elegant {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
}

.lds-badge-passed {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.lds-badge-failed {
    background: rgba(245, 87, 108, 0.1);
    color: #f5576c;
}

/* Empty State */
.lds-empty-state-elegant {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.lds-empty-icon-elegant {
    font-size: 64px;
    margin-bottom: 20px;
}

.lds-empty-state-elegant h3 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.lds-empty-state-elegant p {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .lds-elegant-header {
        padding: 30px 20px;
    }
    
    .lds-elegant-title {
        font-size: 24px;
    }
    
    .lds-quiz-grid-elegant {
        grid-template-columns: 1fr;
    }
    
    .lds-quiz-stats-elegant {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .lds-quiz-performance-wrapper {
        padding: 12px;
    }
    
    .lds-quiz-card-elegant {
        padding: 20px;
    }
    
    .lds-filter-btn-elegant {
        flex: 1;
        min-width: 100px;
    }
}
