/* Estilos para a visualização compacta */

.view-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    gap: 5px;
    margin-right: 10px;
}

.compact-view .competition-group {
    margin-bottom: 5px;
    padding: 5px;
    margin-right: 15%;
    margin-left: 15%;
}

.compact-view .game-competition {
    padding: 5px 10px;
    font-size: 0.9em;
}

.compact-view .competition-events li {
    padding: 5px 10px;
    border-bottom: 1px solid var(--border-color-light); 
    justify-content: space-between;
    align-items: center;
    min-height: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #f0f0f0, #deece3, #fbffff);
    background-size: 200% 100%;
    animation: gradient-animation 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.compact-view .competition-events li.brazil-highlight {
    background: linear-gradient(180deg, #00fe13, #19811b, #00cc2d);
}

.compact-view .event-header {
    display: flex;
    align-items: center;
}

.compact-view .event-name {
    font-weight: bold;
    font-size: 0.9em;
}

.compact-view .event-meta-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 0.5em;
    font-size: 0.85em;
}

.compact-view .view-progress-link {
    font-size: 0.85em;
}

.compact-view .analysis-btn {
    font-size: 0.85em;
}

.compact-view .historical-data-link {
    font-size: 0.85em;
}

.compact-view .odds-section-container {
    display: none;
}

.compact-view .star-competition {
    font-size: 15px;
}

.compact-view .star {
    font-size: 15px;
}

.compact-view .footer-timestamps {
    margin-left: 15%;
}

@media (max-width: 768px) {

.compact-view .competition-group {
    margin-right: 5%;
    margin-left: 5%;
  }
}

@media (max-width: 490px) {
    .compact-view .event-header {
    display: flex;
    align-items: center;
    }
.compact-view .competition-group {
    margin-bottom: 5px;
    padding: 5px;
    margin: 0 auto;
    max-width: 90%;
    transition: all 0.3s ease;
}
    .compact-view .event-meta-container {
    margin-top: 0.9em;
}
}

html[data-theme="dark"] .compact-view .competition-events li {
    background: linear-gradient(90deg, #1E293B, #113860, #1E293B); /* Dark mode gradient */
    background-size: 200% 100%;
    animation: gradient-animation 8s ease infinite;
}

html[data-theme="dark"] .compact-view .competition-events li.brazil-highlight {
    background: linear-gradient(180deg, #00fe13, #19811b, #00cc2d);
}
