/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* #formulario-registro  {
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 1%;
} */

#formulario-registro {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* body, html {
    height: 100%;
    background: #f9fafb;
    justify-content: center;
    align-items: center;
    padding: 0px;
} */
body,
html {
    height: 100%;
    margin: 0;
}

/* Contenedor del formulario */
.box-typical {
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    width: 100%;
}

/* Cada grupo de formulario */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

/* Etiquetas */
.form-group label {
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #4a4a4a;
}

/* Inputs y select */
.form-control {
    padding: 0.55rem 0.75rem;
    border: 1.6px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.25s ease;
}

.form-control:focus {
    border-color: #dba634;
    outline: none;
}

/* Botones */
.btn-primary {
    width: 100%;
    padding: 0.65rem;
    background-color: #dba634;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #9c5f02;
}

/* Botones secundarios (Enviar código) */
.btn-secondary {
    background-color: #dba634;
    color: #2c3e50;
    border-radius: 6px;
    padding: 0.45rem 0.8rem;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ceaf6b;
}

/* Input groups para botones dentro de inputs */
.input-group {
    display: flex;
    gap: 8px;
}

.input-group .form-control {
    flex: 1;
}

.input-group-append button {
    flex-shrink: 0;
    border-radius: 6px;
}

/* Mensajes de error (si implementas) */
.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* Responsive */
@media (max-width: 480px) {
    .box-typical {
        padding: 1.5rem 1.8rem;
        max-width: 100%;
    }
}

/* Encabezado azul y centrado */
.section-header {
    background-color: #dba634;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Título centrado */
.section-header h3 {
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    margin: 0;
    color: white;
}

/* Estilo para inputs con ícono dentro */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px;
    /* espacio para el icono */
}

.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}