/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #001e4d; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.app-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.quiz-box {
    background: #fff;
    width: 100%;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    text-align: center; /* Centrar todo el contenido */
}

.quiz-box h1 {
    font-size: 25px;
    color: #001e4d;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* Estilo del texto de bienvenida */
.intro-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.intro-text strong {
    color: #d90429; /* Color rojo para la advertencia */
}

.quiz-box h2 {
    font-size: 18px;
    color: #000;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left; /* Preguntas alineadas a la izquierda */
}

.btn-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    background: #fff;
    color: #222;
    font-weight: 500;
    width: 100%;
    border: 1px solid #222;
    padding: 15px;
    margin: 5px 0;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover:not([disabled]) {
    background: #222;
    color: #fff;
}

.btn.correct {
    background: #9aeabc;
    color: #000;
    border-color: #9aeabc;
}

.btn.wrong {
    background: #ff9393;
    color: #000;
    border-color: #ff9393;
}

.next-btn, .restart-btn {
    background: #001e4d;
    color: #fff;
    font-weight: 500;
    width: 100%; /* Botón ancho completo */
    border: 0;
    padding: 15px;
    margin: 20px 0 0;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    font-size: 16px;
}

.next-btn:hover, .restart-btn:hover {
    background: #003380;
}

.hide {
    display: none;
}