/* Стили для эфиров и трансляций */

/* Основные стили карточек */
.broadcast-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.broadcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.live-card {
    border-color: #dc3545;
}

/* Индикатор прямого эфира */
.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Элементы списка */
.broadcast-item {
    transition: background-color 0.2s ease;
}

.broadcast-item:hover {
    background-color: #f8f9fa;
}

/* Метаданные эфира */
.broadcast-meta {
    margin-bottom: 20px;
}

.broadcast-meta-item {
    margin-bottom: 10px;
    color: #6c757d;
}

.broadcast-meta-item i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* Ведущий и гости */
.host-card, .guest-card {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.host-avatar, .guest-avatar {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}

.host-avatar img, .guest-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.host-avatar-placeholder, .guest-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e9ecef;
    color: #adb5bd;
    font-size: 24px;
    border-radius: 50%;
}

.host-info, .guest-info {
    flex-grow: 1;
}

.host-info h4, .guest-info h4 {
    margin-bottom: 5px;
}

/* Кнопки действий */
.broadcast-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

.broadcast-actions .btn {
    margin-bottom: 10px;
}

/* Комментарии */
.comment-item {
    margin-bottom: 15px;
}

/* Страница просмотра */
.broadcast-player {
    position: relative;
    padding-top: 56.25%; /* 16:9 соотношение */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.broadcast-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.broadcast-upcoming {
    text-align: center;
    padding: 50px 0;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.broadcast-upcoming .countdown {
    font-size: 2rem;
    font-weight: 700;
    margin: 20px 0;
}

/* Расписание */
.schedule-day {
    margin-bottom: 30px;
}

.schedule-day-header {
    border-bottom: 2px solid #007bff;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.schedule-day-header .schedule-day-date {
    font-weight: 700;
}

.schedule-item {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: background-color 0.2s ease;
}

.schedule-item:hover {
    background-color: #f8f9fa;
}

.schedule-item-time {
    font-weight: 700;
    color: #007bff;
}

.schedule-item.live {
    border-left: 4px solid #dc3545;
}

.schedule-item.upcoming {
    border-left: 4px solid #007bff;
}

.schedule-item.past {
    border-left: 4px solid #6c757d;
    opacity: 0.8;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .broadcast-actions {
        flex-direction: column;
    }
    
    .broadcast-actions .btn {
        width: 100%;
        margin-right: 0 !important;
    }
    
    .host-card, .guest-card {
        flex-direction: column;
        text-align: center;
    }
    
    .host-avatar, .guest-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
}