/* style.css */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#loginPage {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.border-dashed {
    border-style: dashed !important;
    transition: all 0.3s ease;
}

.border-dashed:hover {
    border-color: #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.05);
}

.page-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-brand {
    font-weight: bold;
}

.progress-bar {
    font-size: 1rem;
    line-height: 30px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .display-6 {
        font-size: 1.75rem;
    }
    
    .fs-4 {
        font-size: 1.25rem !important;
    }
    
    .btn-lg {
        font-size: 1.25rem;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    .p-5 {
        padding: 2rem !important;
    }
}

/* Для горизонтальной ориентации на телефонах */
@media (max-width: 768px) and (orientation: landscape) {
    .min-vh-100 {
        min-height: auto;
        padding: 2rem 0;
    }
}


/* Золотой градиент для аккордеона */
.accordion-item {
    background: linear-gradient(135deg, #fff8e7 0%, #fff0d4 100%) !important;
    border: 2px solid #f0ad4e !important;
    border-radius: 10px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.accordion-item:hover {
    border-color: #ff8c00 !important;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.15);
}

.accordion-header .d-flex {
    background: linear-gradient(135deg, #ffeaa7 0%, #ffd966 100%) !important;
    border-radius: 8px !important;
    padding: 12px !important;
}

.accordion-collapse {
    background: linear-gradient(135deg, #fffdf5 0%, #fff9e6 100%) !important;
}

.accordion-body {
    background: linear-gradient(135deg, #fffdf5 0%, #fff9e6 100%) !important;
    border-radius: 0 0 8px 8px;
}

/* Аудиоплеер */
.audio-player-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
}

.progress-container {
    margin-top: 8px;
}

.progress-slider {
    cursor: pointer;
    height: 6px;
}

.progress-slider:hover {
    opacity: 0.9;
}

.current-time, .duration-time {
    font-family: monospace;
    min-width: 45px;
}


/* Анимация для индикаторов ресурсов */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Стили для индикаторов ресурсов */
.resource-stats {
    padding: 4px 0;
}

.resource-stats .bg-danger,
.resource-stats .bg-warning,
.resource-stats .bg-success,
.resource-stats .bg-info {
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .resource-stats .row {
        flex-direction: column;
        gap: 5px;
    }
}