/* ✅ Reutilizando estilos de registro.css */
@import url("registro.css");

/* 🔹 Ajustes adicionales para Usuario */
.usuario h2 {
    color: black;
    font-size: 24px;
    margin-bottom: 20px;
}

#btnContinuar {
    background-color: black;
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

#btnContinuar:hover {
    background-color: gray;
}


form {
    max-width: 400px; /* Ancho máximo del formulario */
    margin: 0 auto; /* Centrar el formulario */
    padding: 20px;
    background-color: #fff; /* Fondo blanco */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
    text-align: center; /* Centrar el contenido */
}

form label {
    display: block; /* Forzar que el texto esté arriba de los campos */
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

form input {
    width: 100%; /* Ocupa el ancho completo del formulario */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #444;
}

/* Mensajes de validación */
#mensajeValidacion {
    text-align: left; /* Alinear el mensaje a la izquierda */
    margin-top: 10px;
}
.error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* 🔹 Estilos para el overlay de carga */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none; /* Oculto por defecto */
}

/* 🔹 Spinner de carga */
.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid white;
    border-top: 6px solid black;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 🔹 Animación del spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
