/*=====================================
  ESTILOS GLOBALES Y FONDO
=====================================*/

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    /* Configuración de imagen de fondo (ajusta la ruta) */
    background-image: url('WhatsApp Image 2025-11-11 at 19.00.37(3).jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}


/* Contenedor Principal: Centro vertical del formulario */

.contenedor-principal {
    flex-grow: 1;
    /* Permite que ocupe el espacio restante */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}


/*=====================================
  ENCABEZADO (HEADER)
=====================================*/

header {
    background-color: #e7e40f;
    /* Amarillo */
    padding: 20px 0;
    text-align: center;
    color: #333;
    border-bottom: 5px solid #eb5325;
    /* Naranja/Rojo decorativo */
}

header h1 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 2.5em;
}


/*=====================================
  CONTENEDOR DE REGISTRO Y FORMULARIO
=====================================*/

.contenedor-registro {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    /* Sombra mejorada */
    width: 100%;
    max-width: 450px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 25px;
    font-size: 24px;
}

form div:not(.checkbox-group) {
    margin-bottom: 15px;
    text-align: left;
}

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

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}


/* Estilo para el grupo de checkbox */

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.checkbox-group .checkbox-label {
    display: inline;
    font-weight: normal;
    font-size: 14px;
}

.checkbox-group a {
    color: #007bff;
    text-decoration: none;
}


/* Estilo del Botón de Registro */

button[type="submit"] {
    background-color: #28a745;
    /* Verde */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #1e7e34;
}


/* Estilos del Enlace de Inicio de Sesión */

p {
    margin-top: 20px;
    color: #777;
    font-size: 14px;
}

p a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

p a:hover {
    text-decoration: underline;
}