/* Карточки курсов */
.course-card {
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

/* Карточки папок */
.folder-card {
    transition: all 0.2s ease;
    border: 2px solid #dee2e6;
    cursor: pointer;
    min-height: 100px;
}

.folder-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #0d6efd;
}

.folder-card.visited {
    border-left: 4px solid #198754;
    background: linear-gradient(to right, #f8fff8, #ffffff);
}

/* Блоки файлов */
.file-block {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.file-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.file-number {
    color: #0d6efd;
    font-weight: bold;
}

/* Видео */
.video-wrapper {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-player {
    display: block;
    max-height: 70vh;
}

/* PDF */
.pdf-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

.pdf-viewer {
    border-radius: 8px;
}

/* Картинки PDF */
.pdf-image-wrapper img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* HTML viewer */
.html-wrapper {
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .file-block {
        padding: 1rem;
    }
    
    .file-title {
        font-size: 1.1rem;
    }
    
    .video-player {
        max-height: 40vh;
    }
}

/* Навигация */
.breadcrumb {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Анимации */
.card {
    animation: fadeIn 0.3s ease;
}

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