/* Estilos gerais - Tema Dark */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #121212;
}

header {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid #333;
}

.container {
    display: flex;
    min-height: calc(100vh - 120px);
    padding: 1rem;
}

/* Estilos para os containers de times */
.team-container {
    flex: 1;
    padding: 1rem;
    background-color: #1e1e1e;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.divider {
    width: 2px;
    background-color: #333;
    margin: 0 1rem;
}

.team-selector {
    margin-bottom: 1rem;
}

.team-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.team-select option {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.team-stats {
    flex: 1;
    overflow-y: auto;
}

.stat-group {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.stat-group h3 {
    margin-bottom: 0.5rem;
    color: #4fc3f7;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: normal;
    color: #b0b0b0;
}

.stat-value {
    font-weight: bold;
    color: #fff;
}

.loading-placeholder {
    text-align: center;
    padding: 2rem;
    color: #888;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #888;
}

/* Estilos para o footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    border-top: 1px solid #333;
}

footer a {
    color: #4fc3f7;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: #81d4fa;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .divider {
        width: 100%;
        height: 2px;
        margin: 1rem 0;
    }
    
    .team-container {
        margin-bottom: 1rem;
    }
}


/*-----------------------------------------------------------------------------------*/

.match-card-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.match-card {
    background-color: #2a2a2a;
    border-left: 5px solid #4fc3f7;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
}

.match-header {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-detail {
    font-size: 0.95rem;
    margin: 0.25rem 0;
}

.match-detail span {
    color: #b0b0b0;
    font-weight: bold;
    margin-right: 4px;
}

.result {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
}

.result.win {
    background-color: #2e7d32;
    color: #a5d6a7;
}

.result.loss {
    background-color: #c62828;
    color: #ef9a9a;
}

@media (min-width: 768px) {
    .match-card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .match-card-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

