@import url('https://fonts.googleapis.com/css2?family=Blinker:wght=300;400;600;700&display=swap');

body {
    background-color: transparent;
    color: #f8f9fa;
    padding-top: 30px;
    padding-bottom: 30px;
    font-family: 'Blinker', sans-serif; 
}

h1 {
    color: #0170B9;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Estilos para la Navbar de Días --- */
.custom-navbar-days {
    background-color: #000000;
    border: 1px solid #2d3748;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 3px;
}

.custom-navbar-days .nav-item {
    display: flex;
    align-items: center;
}

.custom-navbar-days .nav-link {
    color: #8a8a8a;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    background-color: transparent;
    border-radius: 6px;
    margin: 1px;
    padding: 6px 2px;
    width: 100%;
    text-align: center;
}

.custom-navbar-days .nav-link:hover {
    color: #ffffff;
    background-color: #1a202c; 
}

.custom-navbar-days .nav-link.active {
    background-color: #0170B9; 
    color: #ffffff; 
}

/* --- Visibilidad Responsiva NATIVA (Mobile-First) --- */
.custom-navbar-days .day-long {
    display: none; 
}

.custom-navbar-days .day-short {
    display: inline; 
    font-size: 16px;
}

/* --- Componentes de la Parrilla (Base Mobile-First) --- */
.custom-card {
    background-color: #eeeeee;
    border: 1px solid #2d3748;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.list-group-item {
    background-color: transparent;
    border-bottom: 1px solid #2d3748 !important;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.list-group-item:last-child {
    border-bottom: none !important;
}

/* --- SE ELIMINÓ BORDER Y BORDER-RADIUS --- */
.avatar-container {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 0; 
    overflow: hidden;
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback {
    font-size: 40px;
    color: #4a5568;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.program-info {
    width: 100%;
    flex-grow: 1;
    text-transform: uppercase;
}

/* --- Badges --- */
.badge-custom {
    font-size: 0.72em;
    padding: 2px 6px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.badge-playlist {
    background-color: #0170B9;
    color: #ebf8ff;
}

.badge-streamer {
    background-color: #c53030;
    color: #fff5f5;
}

/* --- Tablas de Horarios --- */
.time-zone-table {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    align-items: center;
}

.time-zone-row {
    font-size: 1em; 
    color: #3f3f41;
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-family: monospace, sans-serif; 
    align-items: center;
    line-height: 1.3;
    white-space: nowrap;
    width: 100%;
}

.time-main {
    color: #000000;
    font-weight: bold;
}

.time-value {
    display: inline-block;
    width: 120px;
    text-align: right;
    margin-right: 10px;
    flex-shrink: 0;
}

.flags {
    letter-spacing: 1px;
    font-size: 1em;
    display: inline-block;
    text-align: left;
    width: 90px;
}

/* --- Media Query para Escritorio --- */
@media (min-width: 768px) {
    .custom-navbar-days .day-long {
        display: inline;
        font-size: 16px;
    }

    .custom-navbar-days .day-short {
        display: none;
    }

    .custom-navbar-days .nav-link {
        padding: 6px 4px;
    }

    .list-group-item {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        padding: 20px;
        text-align: left;
    }

    .avatar-container {
        width: 160px;
        height: 160px;
    }

    .avatar-fallback {
        font-size: 64px;
    }

    .time-zone-table {
        align-items: flex-start;
    }

    .time-zone-row {
        font-size: 1em;
        justify-content: flex-start;
    }

    .time-value {
        width: 150px;
        text-align: left;
        margin-right: 0;
    }

    .flags {
        letter-spacing: 2px;
        font-size: 1.05em;
        width: auto;
    }
}