/* Importación de fuente */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Reset general y fuente base */
* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* ===== Estilos del cuerpo ===== */
body {
    background-color: #f4f7fc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 100vh;
}

/* ===== Contenedor principal ===== */
.registro-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    width: 100%;
    max-width: 500px;
}

/* ===== Logo ===== */
.logo {
    display: block;
    max-width: 120px;
    margin: 0 auto 20px auto;
}

/* ===== Títulos ===== */
h2, h3 {
    margin-bottom: 20px;
    color: #111827;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

/* ===== Etiquetas ===== */
label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #555;
}

/* ===== Campos de entrada ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
input[type="date"] {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ===== Enfoque de campos ===== */
input:focus,
select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* ===== Botón principal ===== */
button {
    margin-top: 20px;
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* ===== Mensaje de advertencia / éxito ===== */
.mensaje {
    background-color: #ffcc00;
    color: #333;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid #fde68a;
}

/* ===== Contenedor de botones secundarios ===== */
.botones-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 30px;
}

/* ===== Botones de acción secundaria ===== */
.btn-ver-usuarios,
.volver-btn {
    flex: 1;
    text-align: center;
    background-color: #e5e7eb;
    padding: 10px 0;
    border-radius: 8px;
    text-decoration: none;
    color: #111827;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-ver-usuarios:hover {
    background-color: #cbd5e1;
}

.volver-btn:hover {
    background-color: #d1d5db;
}

/* ===== Estilos responsivos ===== */
@media (max-width: 600px) {
    .botones-container {
        flex-direction: column;
    }

    .btn-ver-usuarios,
    .volver-btn {
        margin-top: 10px;
    }
}