/* ===== СТИЛИ БЛОКОВ И ТЕМ ===== */

/* Дополнительные анимации */
@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Стили закрытия */
.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #6b7280;
}

.close:hover {
    color: #374151;
}

/* Стили тем */
.theme-group {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1rem 1.5rem;
    border-left: 4px solid #3b82f6;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-icon {
    font-size: 1.5rem;
}

.theme-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
    flex: 1;
}

.theme-count {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.theme-assignments {
    background: white;
}

.theme-assignments .assignment-item {
    margin-bottom: 0;
}

.theme-assignments .assignment-content {
    border-left: none;
    margin: 0 1.5rem;
    padding: 1rem;
    background: #f9fafb;
}

.assignment-separator {
    height: 1px;
    background: #e5e7eb;
    margin: 0 1.5rem;
}

/* Заголовки аналитики */
.analytics-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
}

.analytics-header h2 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.analytics-header p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* Аналитические блоки */
.analytics-block {
    background: white;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.block-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.block-icon {
    font-size: 2rem;
    min-width: 3rem;
}

.block-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
}

.block-stats {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Успешные практики */
.success-practices {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}