/* 
Theme Name: futbol40
Theme URI: https://asaptheme.com
Version: 1.0.15
Description: Asap Theme Child
Author: Asap Theme
Author URI: https://asaptheme.com
Template: asap
*/


/* =========================
   TABLA PARTIDOS
========================= */

.f40-day-block {
    margin-bottom: 40px;
}

.f40-date-title {
    font-size: 18px;
    font-weight: 800;
    margin: 15px 0 12px;
    padding: 10px 14px;
    background: #0f172a;
    color: #fff;
    border-radius: 10px;
}


/* =========================
   TABLA
========================= */

.f40-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* =========================
   FILA PRINCIPAL
========================= */

.f40-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, auto);
    align-items: center;
    gap: 16px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;

    padding: 16px 18px;

    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.f40-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
    border-color: #dbeafe;
}


/* =========================
   EQUIPOS (AJUSTE FINAL)
========================= */

.f40-teams {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 17px;   /* 🔥 ajuste final */
    font-weight: 700;
    color: #0f172a;
}

/* FIX ABSOLUTO ANTI-THEME */
body .f40-teams span,
body .f40-team-name,
body .f40-vs {
    color: #0f172a !important;
    font-weight: 700;
}

/* VS equilibrado */
.f40-vs {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}

/* LOGOS */
.f40-team-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}


/* =========================
   META
========================= */

.f40-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;

    font-size: 12px;
    color: #475569;
    flex-wrap: wrap;
}

/* HORA DESTACADA */
.f40-meta span:first-child {
    font-weight: 900;
    font-size: 14px;
    color: #0f172a;
}

.f40-meta span {
    line-height: 1.2;
    word-break: break-word;
}


/* BOTÓN */
.f40-meta a {
    background: #2563eb;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;

    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.f40-meta a:hover {
    background: #1d4ed8;
}


/* =========================
   ESTADOS
========================= */

.f40-status {
    font-size: 10px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    white-space: nowrap;
}

.f40-status.programado {
    background: #e5e7eb;
    color: #374151;
}

.f40-status.en-vivo {
    background: #dc2626;
    color: #fff;
    animation: f40-pulse 1.5s infinite;
}

.f40-status.finalizado {
    background: #0f172a;
    color: #fff;
}

@keyframes f40-pulse {
    0% {opacity:1;}
    50% {opacity:0.6;}
    100% {opacity:1;}
}


/* =========================
   SIDEBAR
========================= */

.f40-side-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 14px;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    gap: 10px;

    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.f40-side-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.15);
}


/* EQUIPOS SIDEBAR */
.f40-side-teams {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

/* LOGOS */
.f40-side-teams img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}


/* META SIDEBAR */
.f40-side-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 12px;
    color: #0f172a;
    flex-wrap: wrap;
}


/* BOTÓN */
.f40-side-link {
    background: #2563eb;
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.f40-side-link:hover {
    background: #1d4ed8;
}


/* =========================
   TITULO SIDEBAR
========================= */

.f40-widget-title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #2563eb;
    color: #0f172a;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .f40-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .f40-meta {
        justify-content: space-between;
        width: 100%;
        font-size: 11px;
    }

    .f40-meta a {
        width: 100%;
        text-align: center;
    }
}