/* --------------------- HEADER -------------------------------------- */
header {
    display: flex;
}

.columna {
    width: 50%;
    height: 5rem;
    box-sizing: border-box;
    background-color: #3366cc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.columna1 {
    background-color: #2a5fc8;
    font-size: 28px;
}

.columna2 {
    background-color: #2b75c0;
    font-size: 24px;
}

.columna h1 {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: white;
}

.columna1 h1 {
    font-size: 32px;
}

.columna2 h1 {
    font-size: 22px;
}

body {
    margin: 0;
    background-color: #f4f4f4;
}
/* --------------------------------------------------------------------- */

/* --------------------------  VALIDACION ------------------------- */
/* Estilo para inputs */
.form-control {
    border-color: #a7afb5 ; /* Color de borde predeterminado */
}
/* -------------------------------------------------------------------------------------- */

main {
    font-family: Arial, sans-serif;
    /* Establece la fuente del texto en el cuerpo del documento */
    padding: 0;
    /* Elimina el relleno predeterminado del cuerpo */
    display: flex;
    flex-direction: column;
    /* Establece el modelo de caja flexible para el cuerpo */
    align-items: center;
    /* Centra los elementos verticalmente en el cuerpo */
    justify-content: center;
    /* Centra los elementos horizontalmente en el cuerpo */
}

form {
    background-color: #ffffff;
    padding: 20px;
    max-width: 900px; 
    margin: 30px;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

label {
    font-weight: bold;
    color: #3b3d42;
}

a, a:hover{
    color:#333
}

/* Eliminar icono de input numerico Para Webkit (Chrome, Safari, Edge) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* icono de ojo en contraseña */
.toggle-password-button {
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.input-group>.form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    margin-bottom: 0;
}

.button-volver {
    background-color: rgb(255, 67, 67) !important;
    color: #fff !important;
    font-weight: bold !important;
}
.button-volver:hover {
    background-color: rgb(226, 63, 63) !important;
}

.button-registrar {
    color: #fff !important;
    background-color: #39ac39 !important;
    font-weight: bold !important;
}
.button-registrar:hover {
    background-color: #31a931 !important;
}

.button-modif-pass {
    color: #fff !important;
    background-color: #476faf !important;
    font-weight: bold !important;
}
.button-modif-pass:hover {
    background-color: #3260a9 !important;
}


.mensaje-container {
    text-align: center;
    margin: 20px;
}
.mensaje-error {
    padding: 10px;
    border-radius: 5px;
    background-color: #e1c4c4; /* rojo */
    color: #993333; /* texto rojo oscuro */
    border: 1px solid #dfcbcb; /* borde rojo claro */
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.2);
    width: 80%;
    margin: auto;
    font-family: "Trebuchet MS", sans-serif;
    font-weight: bold;
}



@media only screen and (max-width: 767px) {
    textarea{
        height: 13em;
        min-height: 13em;
        max-height: 13em;
    }
}
@media only screen and (min-width: 767px) {
    textarea{
        height: 10em;
        min-height: 10em;
        max-height: 10em;
    }
}

/* Efecto hover para todos los botones */
.btn {
    transition: all 0.3s ease-in-out; /* Transición más rápida y suave */
    cursor: pointer;
  }
  
  .btn:hover {
    transform: scale(1.03); /* Escala más sutil */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Sombra suave al hover */
  }
  
  /* Efecto hover para links dentro de cards */
  .card {
    transition: all 0.4s ease-in-out;
  }
  
  .card .card:hover {
    transform: scale(1.05); /* Escala reducida para un efecto más sutil */
    opacity: 0.95;
  }