/* Estilos para el diseño compacto de tarjetas (model-2-nfl.php) */
.nfl-predictions-grid-container.compact-style .compact-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.nfl-predictions-grid-container.compact-style .game-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nfl-predictions-grid-container.compact-style .card-matchup {
    margin-bottom: 10px;
}

.nfl-predictions-grid-container.compact-style .card-matchup .team {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.nfl-predictions-grid-container.compact-style .card-matchup .team-logo {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.nfl-predictions-grid-container.compact-style .team-record {
    color: #666;
    font-size: 0.9em;
    margin-left: 5px;
}

.nfl-predictions-grid-container.compact-style .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    position: relative; /* Necesario para el centrado absoluto de la hora */
}

.nfl-predictions-grid-container.compact-style .card-meta .game-day {
    font-size: 0.9em;
    color: #777;
}

.nfl-predictions-grid-container.compact-style .card-meta .game-time {
    font-size: 1em;
    color: #333;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nfl-predictions-grid-container.compact-style .card-pick .pick-button,
.nfl-predictions-grid-container.compact-style .card-pick .no-prediction {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px;
    border-radius: 5px;
}

.nfl-predictions-grid-container.compact-style .card-pick .pick-button {
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 1em;
    font-weight: bold;
}

.nfl-predictions-grid-container.compact-style .card-pick .no-prediction {
    background-color: #f7f7f7;
    color: #777;
}


/* Ocultar/Mostrar vistas por defecto */
.hidden-on-mobile { display: block; }
.hidden-on-desktop { display: none; }

@media screen and (max-width: 768px) {
    .hidden-on-mobile { display: none !important; }
    .hidden-on-desktop { display: block !important; }
}

/* Estilos para la nueva tarjeta móvil (predictions-display.php) */
.mobile-games-container .game-card-mobile {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.game-card-mobile .card-header {
    padding: 15px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #ccc;
    background-color: #fdfdfd;
    border-bottom: 1px solid #e0e0e0;
}

.game-card-mobile .card-header span {
    font-size: 0.8em;
    color: #aaa;
    margin: 0 10px;
}

.game-card-mobile .card-body {
    padding: 20px 15px;
}

.game-card-mobile .card-body .team {
    display: flex;
    align-items: center;
}

.game-card-mobile .card-body .team:not(:last-child) {
    margin-bottom: 20px;
}

.game-card-mobile .team-logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.game-card-mobile .team-info {
    display: flex;
    flex-direction: column;
}

.game-card-mobile .team-name {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
}

.game-card-mobile .team-record {
    font-size: 1em;
    color: #888;
}

.game-card-mobile .team-score {
    margin-left: auto;
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
}

.game-card-mobile .card-footer {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
}

.game-card-mobile .footer-item {
    display: flex;
    align-items: center;
}

.game-card-mobile .footer-item .icon {
    margin-right: 8px;
}

.game-card-mobile .card-prediction {
    background-color: #002a5c; /* Azul oscuro */
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Estilos para el matchup en single-nfl_prediction.php */
.ps-matchup-teams {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    text-align: center !important;
}
.ps-team {
    width: 40% !important; /* Cada equipo ocupa el 40% */
}
.ps-vs {
    width: 20%; /* El 'VS' ocupa el 20% */
    font-weight: bold;
    color: #aaa;
}
.ps-team .team-logo {
    max-width: 80px; /* Ajusta el tamaño del logo si es necesario */
    margin-bottom: 10px;
}
.ps-team .team-name {
    font-weight: bold;
}
.ps-team .team-record {
    color: #777;
    font-size: 0.9em;
}

/* Estilos para el contenedor de selecciones */
.pick-container {
    background-color: #eaf5ff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.pick-winner {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #005a9e;
}
.team-logo-pick {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}
.pick-total {
    margin-top: 8px;
    color: #333;
    font-weight: bold;
}

/* Asegurar que la imagen destacada se muestre completa */
.single-nfl_prediction .post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
