/* Formulario */
.formulario {
    max-width: 700px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Labels */
.label_form {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

/* Inputs generales */
.input_form {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border 0.3s;
    font-size: 14.5px;
}

.input_form:focus {
    border: 1px solid #0073e6;
    outline: none;
}

/* Textarea */
.textarea_form {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 20px;
    resize: vertical;
    transition: border 0.3s;
}

.textarea_form:focus {
    border: 1px solid #0073e6;
    outline: none;
}

/* Botón */
.boton_form {
    width: 100%;
    padding: 12px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.boton_form:hover {
    background-color: #005bb5;
}

/* Texto informativo */
.texto_chico {
    display: block;
    margin-bottom: 20px;
    color: #666;
    font-size: 12px;
}

/* Agrupar campos pequeños */
.grupo {
    display: flex;
    gap: 10px;
}

.grupo .input_form {
    width: 100%;
}

/* Personalización responsive */
@media (max-width: 600px) {
    .formulario {
        padding: 20px;
    }

    .boton_form {
        font-size: 14px;
        padding: 10px;
    }

    .grupo {
        flex-direction: column;
    }

}

/* bajar campo fecha_nacimiento */
#fecha_nacimiento{
	position: relative !important;
	top: 12px !important;
}


/* Ocultar textarea por defecto */
.textarea_form,
#otro {
    display: none;
}

.grupo input[type=radio] {
    position: relative;
}

/* Estilo para los mensajes de error */
.error,
.error1 {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 18px;
    font-weight: bold;
}

/* grupo de documento y fecha nacimiento */
#label_domicilio {
    margin-top: 18px !important;
}
