/* ============================================
   Estilos del Formulario de Login - CaixaBank
   ============================================ */

.card-form {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem !important;
  border-radius: 8px;
}

@media (min-width: 992px) {
  .card-form {
    padding: 3rem 4rem !important;
  }
}

/* Estilos para el campo de formulario */
.form-control-lg,
.form-control {
  border: 1px solid #ddd;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-size: 16px;
}

.form-control:focus {
  border-color: #0099D8;
  box-shadow: 0 0 0 0.2rem rgba(0, 153, 216, 0.25);
}

/* Formulario - Labels */
.form-input-label {
  margin-bottom: 0.75rem;
  color: #003D82;
  font-weight: 600;
  font-size: 14px;
}

/* Formulario - Inputs redondeados */
.form-input-rounded {
  font-size: 16px;
  border-radius: 4px;
}

/* Formulario - Icono de input redondeado */
.input-icon-rounded {
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.input-group-text {
  border: 1px solid #ddd;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: background-color 0.3s;
}

.input-group-text:hover {
  background-color: #e9ecef;
}

/* Botones */
.btn-primary.btn-lg {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-primary.btn-lg:hover:not(:disabled) {
  background-color: #002855;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 61, 130, 0.3);
}

.btn-primary.btn-lg:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary.btn-disabled,
.btn-primary.btn-disabled:hover {
  background-color: #e9ecef;
  color: #bdbdbd;
  cursor: not-allowed;
  border-color: #e9ecef;
}

/* ReCAPTCHA */
#reCaptcha {
    display: flex;
    justify-content: left;    
    padding: 1rem 0;
}

.g-recaptcha {
  transform: scale(0.9);
  transform-origin: 0 0;
}

@media (max-width: 575px) {
  .g-recaptcha {
    transform: scale(0.75);
  }
}

/* Mensajes de validación */
.text-danger {
  font-size: 13px;
  margin-top: 0.5rem;
}

/* Espaciado responsivo */
@media (max-width: 767px) {
  .card-form {
    padding: 1.5rem !important;
    margin-left: -15px;
    margin-right: -15px;
  }
}

/* Icono informativo */
.img-middle {
  display: inline-block;
  vertical-align: middle;
}

/* Párrafo introductorio */
.text-intro {
    color: #333333 !important; 
}

/* Leyenda de campo requerido */
.form-required-legend {
  font-size: 12px;
  color: #868e96;
}

/* Botones de acción en formulario */
.btn-form-action {
  min-width: 240px;
  border-radius: 4px;
}

/* Navbar toggler - Close button hidden */
.navbar-toggler-close-hidden {
  display: none;
}

/* Cookies disclaimer - Hidden by default */
.cookies-disclaimer-hidden {
  display: none;
}

/* Footer Styles */
.footer {
  background-color: #1A1A1A;
  border-top: 1px solid #333;
  margin-top: auto;
}

.footer .small {
  font-size: 13px;
  line-height: 1.6;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #0099D8;
  text-decoration: none;
}

.footer img {
  transition: opacity 0.3s ease;
}

    .footer img.img-logos-left {
        width: 40px;
        height: auto;
        margin-bottom: 2rem;
    }

.footer img:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .footer {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

    .footer .col-12 {
        margin-bottom: 1.5rem;
    }

  .footer .text-md-right {
    text-align: left !important;
  }

}

@media (max-width: 990.99px) {
    .footer .row.justify-content-end {
        justify-content: flex-start !important;  Cambia la alineación a la izquierda 
    }

    .footer ol.row > li:nth-child(2) {
        margin-top: 20px;
    }
}

/* Maquetación de campos de formulario Verificación Aval */

.form-group-csv {
     margin-bottom: 24px;
    
}

    .form-group-csv label {
        display: block;
        font-size: 15px;
        color: #2b2b2b;
        margin-bottom: 8px;
        font-weight:normal;
    }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background-color: #ffffff;
    transition: border-color 0.2s;
}

    .input-wrapper:focus-within {
        border-color: #888;
    }

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #555;
    flex-shrink: 0;
}

.input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    height: 48px;
    font-size: 15px;
    color: #2b2b2b;
    padding: 0 8px 0 0;
}

    .input-wrapper input::placeholder {
        color: #9a9a9a;
    }

.input-info {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 48px;
    color: #6c6c6c;
    flex-shrink: 0;
    cursor: help;
}

/* ============================================
   Logo Header - Responsive Sizes
   ============================================ */

/* LOGO DESKTOP - Tamaño normal */
.logo-desktop {
  width: 165px;
  height: 34px; 
}

.logo-container {
  width: 100%;
  display: flex;
  align-items: center;
}

/* ============================================
   RESPONSIVE MOBILE - Logos más pequeños
   ============================================ */
@media (max-width: 991px) {
    .logo-mobile {
        width: 130px; /* Reducido a 78.8% del tamaño desktop */
        height: 27px; /* Manteniendo la proporción */
    }
  
  .logo-container {
    justify-content: center;
  }
}

