/* =========================================
   ВИДЕО МОДУЛЬ - ПОЛНЫЕ СТИЛИ
   ========================================= */

/* --- 4. ЭЛЕМЕНТЫ ПОВЕРХ ВИДЕО --- */

/* Бейдж "VIDEO" */
.video-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- 6. ОБЛАСТЬ ЗАГРУЗКИ (Drag & Drop) --- */
.upload-drop-zone {
    position: relative; /* Обязательно для позиционирования крестика */
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    
    /* Уменьшаем отступы и высоту */
    padding: 15px; 
    min-height: 100px; 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}


.upload-drop-zone:hover {
    border-color: #FABF3C;
    background: rgba(250, 191, 60, 0.05);
}

/* Ограничиваем размер превью, чтобы не распирало */
.upload-preview {
    max-height: 140px; /* Фиксируем высоту картинки */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: none; /* Скрыто по умолчанию */
}

/* Кнопка очистки (Крестик) */
.clear-file-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    
    width: 28px;
    height: 28px;
    border-radius: 50%;
    
    background: rgba(220, 53, 69, 0.9); /* Красный фон сразу */
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
    /* ВАЖНО: Поднимаем на самый верх */
    z-index: 100; 
    transition: transform 0.2s;
}

.clear-file-btn:hover {
    background: #ff0019;
    transform: scale(1.1);
}
