/* Стили для дашборда статистики StudentGroup */

.student-group-statistics-dashboard .dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.student-group-statistics-dashboard .dashboard-header {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 10px 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.student-group-statistics-dashboard .dashboard-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.student-group-statistics-dashboard .dashboard-stats {
    display: flex;
    gap: 30px;
    align-items: center;
}

.student-group-statistics-dashboard .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.student-group-statistics-dashboard .stat-label {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.student-group-statistics-dashboard .stat-value {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-primary);
}

.student-group-statistics-dashboard .dashboard-controls {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 15px 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.student-group-statistics-dashboard .btn-refresh {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary);
    color: var(--color-white);
}

.student-group-statistics-dashboard .btn-refresh:hover {
    background: #1976D2;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.student-group-statistics-dashboard .btn-refresh .icon {
    font-size: 18px;
    display: inline-block;
    transition: transform 0.5s ease;
}

.student-group-statistics-dashboard .btn-refresh:hover .icon {
    transform: rotate(360deg);
}

.student-group-statistics-dashboard .parallels-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.student-group-statistics-dashboard .parallel-row {
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.student-group-statistics-dashboard .parallel-row:hover {
    box-shadow: var(--shadow-md);
}

.student-group-statistics-dashboard .parallel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-bottom: 1px solid #e0e0e0;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.student-group-statistics-dashboard .parallel-info {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.student-group-statistics-dashboard .parallel-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    min-width: 120px;
}

.student-group-statistics-dashboard .parallel-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.student-group-statistics-dashboard .parallel-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.student-group-statistics-dashboard .parallel-stat strong {
    color: var(--color-text);
    font-weight: 600;
}

.student-group-statistics-dashboard .parallel-content {
    padding: 10px;
    background: #FAFAFA;
}

.student-group-statistics-dashboard .parallel-classes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.student-group-statistics-dashboard .class-card-compact {
    background: var(--color-white);
    border-radius: 6px;
    padding: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: var(--transition);
    border-left: 3px solid transparent;
    cursor: pointer;
}

.student-group-statistics-dashboard .class-card-compact:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.student-group-statistics-dashboard .class-card-compact.status-full {
    border-left-color: var(--color-success);
    background: rgba(76, 175, 80, 0.03);
}

.student-group-statistics-dashboard .class-card-compact.status-partial {
    border-left-color: var(--color-warning);
    background: rgba(255, 193, 7, 0.03);
}

.student-group-statistics-dashboard .class-card-compact.status-low {
    border-left-color: var(--color-neutral);
    background: rgba(158, 158, 158, 0.03);
}

.student-group-statistics-dashboard .class-card-compact.status-critical {
    border-left-color: var(--color-danger);
    background: rgba(244, 67, 54, 0.03);
}

.student-group-statistics-dashboard .compact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.student-group-statistics-dashboard .compact-class-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.student-group-statistics-dashboard .compact-progress {
    display: flex;
    align-items: center;
    gap: 6px;
}

.student-group-statistics-dashboard .compact-progress-bar {
    width: 50px;
    height: 4px;
    background: #E0E0E0;
    border-radius: 2px;
    overflow: hidden;
}

.student-group-statistics-dashboard .compact-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
}

.student-group-statistics-dashboard .compact-progress-text {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-secondary);
    min-width: 35px;
    text-align: right;
}

.student-group-statistics-dashboard .compact-stats {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    font-size: 12px;
    margin-bottom: 8px;
}

.student-group-statistics-dashboard .compact-stat {
    display: flex;
    align-items: center;
    gap: 3px;
}

.student-group-statistics-dashboard .compact-stat-icon {
    font-size: 11px;
}

.student-group-statistics-dashboard .compact-stat.not-distributed .compact-stat-icon {
    color: var(--color-danger);
}

.student-group-statistics-dashboard .compact-stat.without-teacher .compact-stat-icon {
    color: var(--color-warning);
}

.student-group-statistics-dashboard .compact-stat.with-teacher .compact-stat-icon {
    color: var(--color-success);
}

.student-group-statistics-dashboard .compact-stat-value {
    font-weight: 600;
    color: var(--color-text);
}

.student-group-statistics-dashboard .compact-hours-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    padding-top: 6px;
    border-top: 1px solid #E0E0E0;
}

.student-group-statistics-dashboard .hours-label {
    color: var(--color-text-secondary);
}

.student-group-statistics-dashboard .hours-value {
    font-weight: 600;
    color: var(--color-text);
}

/* CSS переменные из dashboard-styles.css */
:root {
    --color-success: #4CAF50;
    --color-warning: #FFC107;
    --color-danger: #F44336;
    --color-neutral: #9E9E9E;
    --color-primary: #2196F3;
    --color-text: #212121;
    --color-text-secondary: #757575;
    --color-background: #F5F5F5;
    --color-white: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Адаптивность */
@media (max-width: 768px) {
    .student-group-statistics-dashboard .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .student-group-statistics-dashboard .parallel-stats {
        flex-direction: column;
        gap: 8px;
    }

    .student-group-statistics-dashboard .parallel-classes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .student-group-statistics-dashboard .dashboard-container {
        padding: 10px;
    }

    .student-group-statistics-dashboard .dashboard-header {
        padding: 15px;
    }

    .student-group-statistics-dashboard .dashboard-header h1 {
        font-size: 20px;
    }
}