.elementor-27196 .elementor-element.elementor-element-be62d40{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:40px;--padding-bottom:40px;--padding-left:0px;--padding-right:0px;}.elementor-27196 .elementor-element.elementor-element-72507cb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-27196 .elementor-element.elementor-element-18504cc{--spacer-size:50px;}.elementor-27196 .elementor-element.elementor-element-c555ff6{background-color:transparent;padding:6px 6px 6px 6px;background-image:linear-gradient(180deg, var( --e-global-color-primary ) 0%, var( --e-global-color-text ) 100%);text-align:center;}.elementor-27196 .elementor-element.elementor-element-c555ff6 .elementor-heading-title{color:var( --e-global-color-b1fed2d );}.elementor-27196 .elementor-element.elementor-element-c3c3981{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-27196 .elementor-element.elementor-element-f1afca8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-27196 .elementor-element.elementor-element-b97c147{--spacer-size:50px;}.elementor-27196 .elementor-element.elementor-element-041c28b{background-color:transparent;padding:6px 6px 6px 6px;background-image:linear-gradient(180deg, var( --e-global-color-primary ) 0%, var( --e-global-color-text ) 100%);text-align:center;}.elementor-27196 .elementor-element.elementor-element-041c28b .elementor-heading-title{color:var( --e-global-color-b1fed2d );}@media(min-width:768px){.elementor-27196 .elementor-element.elementor-element-72507cb{--width:20%;}.elementor-27196 .elementor-element.elementor-element-c3c3981{--width:60%;}.elementor-27196 .elementor-element.elementor-element-f1afca8{--width:20%;}}/* Start custom CSS for html, class: .elementor-element-db1320f *//* Estilos base para asegurar que ocupe el 100% del ancho en un widget */
        html, body {
            margin: 0;
            padding: 0;
            width: 100%;
            background-color: transparent; /* Fondo transparente para integrarse con Elementor */
        }

        #mlb-app-container {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            width: 100%;
            box-sizing: border-box;
        }

        /* Sección del .elementor-27196 .elementor-element.elementor-element-db1320f de fecha */
        .date-picker-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            padding-top: 20px;
        }

        .date-picker-section label {
            font-size: 1.1em;
            font-weight: 600;
            color: #374151;
            margin-bottom: 10px;
        }

        #scheduleDatepicker {
            padding: 10px 15px;
            border: 2px solid #D1D5DB;
            border-radius: 8px;
            font-size: 1em;
            color: #1F2937;
            outline: none;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
            max-width: 250px;
        }

        #scheduleDatepicker:focus {
            border-color: #3B82F6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
        }

        /* Contenedor para los juegos */
        #mlb-schedule-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* Estilos de la tarjeta de juego */
        .game {
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            background-color: #ffffff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        }
        
        .game:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        
        .game-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
        }

        .team {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .team-logo {
            width: 60px;
            height: 60px;
            margin-bottom: 10px;
            object-fit: contain;
        }

        .team-name {
            font-weight: 600;
            color: #1F2937;
        }

        .game-info {
            text-align: center;
            padding: 0 20px;
        }

        .game-info .score {
            font-size: 2em;
            font-weight: bold;
            margin: 5px 0;
            color: #2c3e50;
        }

        .status {
            font-weight: bold;
            padding: 5px 10px;
            border-radius: 9999px;
            color: white;
            text-transform: capitalize;
            margin-bottom: 8px;
            font-size: 0.8em;
            display: inline-block;
        }

        /* Colores de estado personalizados */
        .status.Final { background-color: #e74c3c; }
        .status.InProgress { background-color: #2ecc71; }
        .status.Scheduled, .status.Pre-Game, .status.Warmup { background-color: #3498db; }
        .status.Postponed, .status.Suspended { background-color: #f39c12; }
        .status.Delayed, .status.DelayedStart { background-color: #e74c3c; }
        .status.Cancelled { background-color: #7f8c8d; }
        
        .venue-footer {
            background-color: #002D62;
            color: #ffffff;
            padding: 12px 15px;
            text-align: center;
            font-weight: 600;
            font-size: 0.9em;
        }

        /* Estilos del loader */
        .loader {
            border: 5px solid #f3f3f3;
            border-radius: 50%;
            border-top: 5px solid #3B82F6;
            width: 40px;
            height: 40px;
            animation: spin 1.5s linear infinite;
            margin: 40px auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Mensajes de feedback */
        .feedback-message {
            text-align: center;
            font-size: 1em;
            color: #6B7280;
            padding: 20px;
        }

        /* --- ESTILOS DEL BOXSCORE --- */
        .boxscore-container {
            background-color: #ffffff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            width: 100%;
            box-sizing: border-box;
        }

        .boxscore-header {
            text-align: center;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
            padding-bottom: 15px;
        }

        .boxscore-header h2 {
            font-size: 1.5em;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 5px;
        }

        .boxscore-header p {
            font-size: 0.9em;
            color: #777;
        }

        .decisions {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 8px;
        }

        .decisions p {
            margin: 4px 0;
            font-size: 0.9em;
        }

        .table-responsive-scroll {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin-bottom: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

        .boxscore-container h3 {
            font-size: 1.5em;
            font-weight: bold;
            color: #2c3e50;
            margin-top: 30px;
            margin-bottom: 10px;
            padding-bottom: 5px;
            border-bottom: 2px solid #3498db;
        }
        .boxscore-container h4 {
            font-size: 1.2em;
            font-weight: bold;
            color: #34495e;
            margin-top: 30px; /* Aumentado */
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        .boxscore-container h4 img {
            width: 30px;
            height: 30px;
            margin-right: 10px;
        }

        .boxscore-linescore table, .player-stats-table {
            width: 100%;
            min-width: 600px;
            border-collapse: collapse;
            font-size: 0.9em;
        }

        .boxscore-linescore th, .boxscore-linescore td,
        .player-stats-table th, .player-stats-table td {
            padding: 12px 10px;
            text-align: center;
            border: none;
            border-bottom: 1px solid #dee2e6;
        }

        .boxscore-linescore th, .player-stats-table th {
            background-color: #34495e;
            font-weight: bold;
            color: #ffffff;
        }
        
        .player-stats-table th:first-child {
            text-align: left;
        }

        .boxscore-linescore .team-row {
            font-weight: bold;
            text-align: left;
            background-color: #f8f9fa;
        }
        
        .player-stats-table td.player-name-cell {
            text-align: left;
            font-weight: 500;
            display: flex;
            align-items: center;
        }
        
        .player-photo-thumb {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            margin-right: 10px;
            object-fit: cover;
        }

        .player-stats-table tr {
            cursor: pointer;
        }

        .player-stats-table tr:nth-child(even) {
            background-color: #f8f9fa;
        }

        .player-stats-table tr:hover {
            background-color: #e9ecef;
        }

        .boxscore-linescore tr:last-child td, .player-stats-table tr:last-child td {
            border-bottom: none;
        }
        
        .game-summary {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }
        .game-summary ul {
            list-style-type: none;
            padding: 0;
        }
        .game-summary li {
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
            font-size: 0.95em;
        }
        .game-summary li:last-child {
            border-bottom: none;
        }

        .back-button-container {
            text-align: center;
            margin-top: 30px;
        }

        .back-button {
            background-color: #3498db;
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 1.1em;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border: none;
            display: inline-block;
        }

        .back-button:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
        }

        /* --- ESTILOS DEL MODAL --- */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .modal-content {
            background-color: #fff;
            padding: 30px;
            border-radius: 10px;
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }
        
        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            font-weight: bold;
            cursor: pointer;
            color: #888;
        }

        .player-modal-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
            padding-bottom: 20px;
        }

        .player-modal-photo {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 20px;
            border: 3px solid #eee;
        }

        .player-modal-info h2 {
            font-size: 1.8em;
            font-weight: bold;
            margin: 0;
        }
        .player-modal-info p {
            margin: 4px 0;
            color: #555;
        }/* End custom CSS */