/* Component: Match Details Page Specific Styles */

.match-details-container {
    background: #fff;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
}

/* Premium Match Info Box (The Black Box) */
.match-info-box-premium {
    background: #111;
    border-radius: 24px;
    padding: 60px 40px;
    color: #fff;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    margin-bottom: 80px;
    z-index: 5;
    margin-top: 40px; /* Separación real del banner superior */
}

.match-team-escudo {
    height: 130px;
    width: 130px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

.match-team-name {
    color: #fff !important;
    font-weight: 900;
    text-transform: uppercase;
}

.match-vs-circle {
    width: 80px;
    height: 80px;
    border: 2px solid var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--theme-color);
    margin: 0 auto 20px;
}

.match-date-text {
    color: #fff !important;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.match-league-tag {
    background: var(--theme-color);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    color: #fff !important;
}

/* Detail Cards */
.match-detail-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    margin-bottom: 40px;
    height: 100%;
}

.match-section-title {
    font-weight: 900 !important;
    text-transform: uppercase !important;
    color: var(--brand-black) !important;
    border-left: 6px solid var(--theme-color) !important;
    padding-left: 20px !important;
    margin-bottom: 30px !important;
    font-size: 24px !important;
    display: block !important;
}

.match-analysis-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--brand-black);
}

.match-previa-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #eee;
    color: #444;
    font-weight: 500;
}

/* Racha Chart */
.racha-chart-container {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.racha-chart-inner {
    width: 105px;
    height: 105px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.racha-stat-box {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: #333;
    border-width: 3px;
    border-style: solid;
}

.racha-stat-label {
    color: var(--brand-black) !important;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Stats Tables */
/* Resultados Style Kester - Grid 3 Columnas */
.match-row-item {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #eee;
}

.match-row-item:last-child {
    border-bottom: none;
}

.match-row-team {
    color: #111 !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    line-height: 1.2;
}

.match-score-badge {
    background: #111 !important;
    color: #fff !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
    min-width: 60px !important;
    text-align: center !important;
    white-space: nowrap !important;
    letter-spacing: 1px;
}

/* Estadísticas de Temporada - Estilo Kester Compacto */
.match-stats-table-box {
    padding: 25px !important;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.match-stats-table-box table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.match-stats-table-box table td {
    padding: 10px 10px !important;
    color: #111 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-bottom: 1px solid #f5f5f5 !important;
}

.match-stats-table-box tr:last-child td {
    border-bottom: none !important;
}

.match-stats-value {
    color: #e41b23 !important; /* Rojo Kester para destacar */
    font-weight: 900 !important;
    text-align: right;
}

.match-stats-avg {
    color: #666 !important;
    font-size: 12px !important;
    text-align: right;
    font-weight: 600 !important;
}
