/* Estilos generales */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Contenedor principal del formulario */
.container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 10px;
}

p {
    color: #777;
    margin-bottom: 30px;
}

/* Grupo de formulario (label + input) */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box; /* Importante para que el padding no afecte el ancho total */
}

input[type="text"]:focus {
    outline: none;
    border-color: #007BFF;
}

/* Botón de envío */
button {
    width: 100%;
    padding: 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Mensaje de respuesta del servidor */
#response-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none; /* Oculto por defecto */
}

#response-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

#response-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}