body {
    background-color: #001f3f;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
}

.header-container {
    text-align: center;
}

.header {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 0 10px white, 0 0 20px white;
    animation: glow 2s infinite alternate;
    cursor: pointer;
}

@keyframes glow {
    0% { text-shadow: 0 0 10px white, 0 0 30px rgba(255, 255, 255, 0.8); }
    100% { text-shadow: 0 0 20px white, 0 0 40px rgba(255, 255, 255, 0.8); }
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 1000;
    width: 300px; /* Ancho fijo de la modal */
    max-width: 90%; /* Asegura que no supere el 90% del ancho de la pantalla */
    text-align: center;
    box-sizing: border-box; /* Incluye el padding en el ancho total */
}

.modal input {
    display: block;
    width: 100%; /* Los inputs ocuparán el 100% del ancho de la modal */
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Asegura que el padding no desborde el input */
}

.modal button {
    padding: 10px 20px;
    border: none;
    background-color: #001f3f;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    width: 100%; /* Botón del mismo ancho que los inputs */
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.error {
    color: red;
    font-size: 0.9rem;
    margin-top: 10px;
}
