body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    font-family: Arial, sans-serif;
    margin: 0;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
}

.container label {
    display: inline-block;
    width: 80%;
    margin: 0 auto 5px;
    text-align: left;
}

input, button {
    display: block;
    width: 80%;
    margin: 0 auto 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

.required {
    color: red;
}

.hidden {
    display: none;
}

/* Clase común para diálogos (éxito y error) */
.dialog {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
}

.dialog h3 {
    margin-bottom: 10px;
}

/* Estilo para el diálogo de verificación del código */
#codeDialog {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
}

#codeDialog h3 {
    margin-bottom: 15px;
}

#captcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
