/* Estilos para la alerta modal */
        #ageModal {
            display: none; /* Oculto por defecto */
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem;
            box-sizing: border-box;
        }
        .modal-content {
            background-color: white;
            padding: 1.5rem 2rem;
            border-radius: 8px;
            text-align: center;
            max-width: 360px;
            width: 100%;
            box-shadow: 0 8px 24px rgba(0,0,0,0.2);
            box-sizing: border-box;
        }
        .modal-content img {
            width: 80px;
            max-width: 100%;
            height: auto;
            margin-bottom: 1.25rem;
        }
        .modal-content h2 {
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
            color: #222;
            line-height: 1.3;
        }
        .modal-content p {
            font-size: 1rem;
            margin-bottom: 1.5rem;
            color: #555;
            line-height: 1.4;
        }
        .modal-content button {
            margin: 0 0.5rem;
            padding: 0.75rem 1.75rem;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.25s ease;
            min-width: 120px;
            min-height: 44px;
            /* Ensure text not truncated or awkward */
            white-space: nowrap;
        }
        #yesButton {
            background-color: #2e7d32;
            color: white;
        }
        #yesButton:hover,
        #yesButton:focus {
            background-color: #27632a;
            outline: none;
        }
        #noButton {
            background-color: #c62828;
            color: white;
        }
        #noButton:hover,
        #noButton:focus {
            background-color: #9a2121;
            outline: none;
        }

        @media (max-width: 400px) {
            .modal-content {
                max-width: 90vw;
                padding: 1rem 1.25rem;
            }
            .modal-content h2 {
                font-size: 1.125rem;
            }
            .modal-content p {
                font-size: 0.95rem;
            }
            .modal-content button {
                min-width: 100px;
                padding: 0.65rem 1.2rem;
                font-size: 0.9rem;
            }
            .modal-content img {
                width: 70px;
                margin-bottom: 1rem;
            }
        }