/* Viper Play - Red Theme */
.agenda-container {
    max-width: 900px;
    margin: 20px auto;
    background: #000;
    border: 2px solid #e00000;
    border-radius: 14px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.agenda-header {
    padding: 14px 12px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    background: #e00000;
    color: #fff;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e00000;
}

ul#menu {
    list-style: none;
    margin: 0;
    padding: 15px;
    background: #000;
}

li.toggle-submenu {
    background: #111;
    border: 2px solid #e00000;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow:
        0 0 4px rgba(255, 255, 255, 0.9),
        0 0 9px rgba(255, 255, 255, 0.55),
        0 0 16px rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

li.toggle-submenu:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 5px rgba(255, 255, 255, 1),
        0 0 12px rgba(255, 255, 255, 0.65),
        0 0 18px rgba(255, 255, 255, 0.3);
}

.match-info {
    display: flex;
    align-items: center;
    padding: 14px 12px;
    cursor: pointer;
    background: #111;
    color: #fff;
    gap: 10px;
}

.match-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.flag {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.match {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-time {
    font-weight: bold;
    color: #fff;
    margin-left: auto;
    padding-left: 15px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 15px;
}

.submenu-list {
    display: none;
    padding: 10px 20px;
    margin: 0;
    border-top: 1px solid #e00000;
    background: #080808;
}

.submenu-item {
    display: block;
    padding: 8px 0;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
}

.submenu-item:hover {
    color: #e00000;
}

.submenu-item i {
    margin-right: 8px;
    color: #e00000;
}

/* Loading - Spanish */
.loading-item {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 16px;
    background: #000;
    list-style: none;
}

.loading-item::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

.error-item {
    text-align: center;
    padding: 40px 20px;
    color: #e00000;
    background: #000;
    font-size: 16px;
    list-style: none;
}

/* Mobile */
@media (max-width: 600px) {
    .agenda-container {
        margin: 12px 8px;
        border-radius: 12px;
    }
    ul#menu {
        padding: 10px;
    }
    li.toggle-submenu {
        margin-bottom: 12px;
    }
    .match-info {
        padding: 12px 10px;
    }
    .match-left {
        gap: 10px;
    }
    .flag {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }
    .match {
        font-size: 13px;
    }
    .match-time {
        font-size: 13px;
        padding-left: 10px;
    }
    .agenda-header {
        font-size: 15px;
        padding: 12px 10px;
    }
    .submenu-list {
        padding: 8px 14px;
    }
    .submenu-item {
        font-size: 14px;
        padding: 6px 0;
    }
}