﻿@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: 'Galano';
  src: url('../fonts/GalanoGrotesqueRegular.otf') format('opentype');
}


*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Galano", sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  /* previene scroll horizontal */
  font-family: "Galano", sans-serif;
}
/* carrusel */
.caret {
  display: none;
}

.carousel,
.carousel-inner,
.item {
  width: 100%;
  height: 356px; /* altura fija para evitar salto */
  background-color: transparent !important;
  overflow: hidden; /* para evitar que algo sobresalga */
}

.img-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-indicators {
  display: none;
}

/* Barra de navegacion */
.navbar {
  height: 80px;
  display: flex;
  align-content: center;
  align-items: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

.dropdown-toggle {
  border: none;
}

.menu-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Asegura que el menú y sus elementos estén en línea */
.menu-wrapper .nav {
  float: none !important;
  display: flex !important;
  justify-content: center;
  gap: 20px; /* espacio entre ítems opcional */
  padding-left: 0;
}

.menu-wrapper .nav li {
  float: none;
  display: inline-block;
}

li.active > a.level1:hover,
li.active > a.level1,
li.active > a.level1:focus {
  background-color: #ffffff !important;
  padding-bottom: 10px;
  border-bottom: 4px solid #00d2c4;
  cursor: pointer;
  border-radius: 4px;
}

li.active > a.level2 {
  background-color: #ffffff !important;
  color: black;
}

li.active > a.level2:hover {
  background-color: #8afff3 !important;
  color: black;
}

.navbar {
  background: #ffffff;
}

.navbar-collapse {
  align-content: center;
  align-items: center;
  justify-content: center;
}

.navbar a:focus,
.navbar a:active,
.navbar a:focus-visible {
  outline: none;
  box-shadow: none;
}

.dropdown-menu {
  border-radius: 10px !important;

  white-space: normal;
  overflow: hidden;
  padding: 0;
}
.dropdown-menu li:first-child a {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.dropdown-menu a {
  display: block;
  width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow: hidden;
  background-color: white;
  padding: 8px;
  text-decoration: none;
  color: #333;
}

.dropdown-menu li {
  width: 100%;
  background: #ffffff;
}

.dropdown-menu li:hover {
  width: 100%;
  background-color: #8afff3;
}

.dropdown-menu li a {
  display: block;
  width: 100%; /* cambiar de 174px a 100% */
  min-height: 45px;
  padding: 10px 17px 10px 16px;
  background-color: white;
  color: black;
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
}
.dropdown-menu li:hover {
  background-color: #8afff3;
}

.dropdown-menu li:hover a {
  background: #8afff3;
  border-radius: 10px;
}

.dropdown-menu li:first-child a {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.dropdown-menu li:last-child a {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}


/* Ajustes globales */
#panel_amortizacion {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

#panel_contactenos {
    max-width: 50%;
    padding: 15px;
    margin: 0 auto;
}

.panel530 {
    max-width: 50%;
    padding: 15px;
    margin: 0 auto;
}

.bg-blueDann {
    background-color: #19B2A3;
    color: #fff;
}

.fondo_color {
    text-align: center;
    list-style: none;
    background-color: #19B2A3;
    border-radius: 4px;
    color: #fff;
}

/* Footer */
footer {
    flex-shrink: 0; /* para que el footer esté al final */
    bottom: 0;
    width: 100%
}

.footer {
    /* background: #595959;*/
    background: #004646;
    padding: 60px 0px;
    color: #FFF;
    
}


.custom {
    height: 69px;
}
.footer h1 {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}

.footer ul li {
  margin: 10px 0px;
}

.def {
    color: #333;
}

.footer ul li a {
   color: #FFF;
   text-decoration: none;
}

.footer ul li a:hover {
   color: #08ad9e;
}

.imgleft {
    float: left;
    margin-left: 10px;
    border-radius: 50%;
}

.ikonlar .fa {
    font-size: 30px;
    padding: 10px;
    color: #adadad;
}

.custom {
    display: flex;
    padding: 24px 24px 0px 24px;
    flex-direction: row;
    justify-content: space-between
}

.icons-social {
    display: flex;
    flex-direction: row;
    gap: 16px;
    gap: 16px
}


.nav a {
    text-decoration: none;
}

.logo-iris {
    padding: 0;
    padding-top: 5px;
    margin-left: 25px;
    margin-right: 25px;
}

/* comunes */
.main-container {
  min-height: calc(95vh - 4em);
  min-width: 100vw;
  display: flex;
  flex-direction: row;
}

.content {
  display: flex;
  flex-direction: column;
  min-width: 100vw;
}

.secondary-container {
  display: flex;
  min-height: 100%;
  min-width: 50%;
}

.social-container {
  height: 4em;
  min-width: 100vw;
  display: flex;
  flex-direction: row;
  margin-top: 1em;
  margin-left: 1.5em;
}

.formBody {
  display: flex;
  flex-direction: column;
  width: 500px;
}

.form-group {
  margin: 0;
}

.header-session {
  display: flex;
  max-width: 500px;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.header-session hr {
  width: 100%;
  margin-top: 0;
  margin-top: 14px;
  border-color: #ccc;
}

.custom-input {
  background: var(--system-white, #fff);
  color: var(--text-secondary, #999);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Galano", sans-serif;
  width: 100%;
  height: 42px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24.5px;
  /* 175% */
  border: 1px solid var(--system-disable, #ccc);
  border-radius: 8px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.button-session {
  display: flex;
  align-content: space-between;
  align-self: center;
}

.socialmediaMain {
  width: 32px;
  height: 32px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
}

.socialmedia-list {
  margin: 0;
  padding: 0;
  bottom: 20px;
  left: 10px;
  display: flex;
  gap: 16px;
  list-style: none;
  z-index: 10;
}

.socialmedia-list a {
  cursor: pointer;
}

.btn-login {
  padding: 12px 40px;
  height: 46px;
  font-size: 16px;
  margin-left: 18px;
  border-radius: 24px;
  justify-content: center;
  background-color: #19b2a3;
  color: white;
  border: none;
}

.btn-login:hover {
  background-color: #004646;
  border: none;
  color: white;
}

.btn-register {
  padding: 12px 40px;
  height: 46px;
  font-size: 16px;
  border-radius: 24px;
  text-decoration: none;
  justify-content: center;
  text-align: center;
  border: solid 1px #19b2a3;
  color: #19b2a3;
}

.btn-register:hover {
  background-color: #19b2a3;
  color: white;
  border: none;
}

.input-validate input {
  font-size: 14px !important;
  font-weight: 400 !important;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s, color 0.3s;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 45%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: gray;
  background: none;
  border: none;
}

.error {
  border-bottom: 3px solid #f15a24;
  border-radius: 8px;
  color: #f15a24;
}

.input-validate input:hover {
  border-color: #ccc;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.input-validate input:focus,
input:focus-visible {
  border-color: #ccc !important;
  /* Mantiene el borde normal */
  box-shadow: none !important;
  /* Elimina la sombra azul */
  outline: none !important;
  /* Quita el contorno */
  font-size: 14px !important;
  font-weight: 400 !important;
}

.password-session {
  position: relative;
  display: inline-block;
  width: 100%;
}

.icon-eye {
  width: 24px;
  height: 24px;
}

.custom-label {
  font-size: 11.2px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
  color: #336b6b;
}


.main-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10002;
}

.loader-gif {
  width: 80px;
  height: 80px;
}

.hidden {
  display: none;
}

.message {
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
}

.center-modal {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-style {
  padding: 16px 24px 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.button-close {
  align-self: flex-end;
}



#logoIris3 {
  position: absolute;
  bottom: 15%;
  left: 10px;
  z-index: 10001;
  max-width: 18px;
  height: 50%;
}

.banner-green {
  position: absolute;
  max-width: 100%;
  left: 60px;
  height: 82%;
}

.banner-person {
  position: absolute;
  max-width: 100%;
  height: 91%;
}


/* TOAST */


#toast-container {
  position: absolute !important;
  top: 45px !important;
  /* Distancia desde arriba de la pantalla */
  left: 75% !important;
  transform: translateX(-50%) !important;
  /* Centra horizontalmente */
  z-index: 10000 !important;
  width: auto !important;
  max-width: 90vw !important;
  /* No excede el 90% del ancho de pantalla */
}

#toast-container > div {
  width: 500px !important;
  max-width: 90vw !important;
  /* Responsive en pantallas pequeñas */
  margin: 0 auto 10px auto !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}

#toast-container > .custom-toast {
  z-index: 10000 !important;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
}

.toast-top-center {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
}

.toast {
  width: 100% !important;
  max-width: 500px !important;
  min-width: 300px !important;
  height: auto !important;
  /* Altura automática para contenido variable */
  min-height: 85px !important;
  background-color: #fde6de;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid #f15a24;
  border-radius: 4px;
  display: block;
  /* Cambiado de none a block */
  box-sizing: border-box;
}

.toast-title {
  color: #333333;
  font-size: 16px;
}

.toast-message {
  font-size: 12.8px;
  font-weight: 400;
  line-height: 120%;
}

.custom-toast {
  z-index: 10000 !important;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2) !important;
  width: 500px !important;
  max-width: 90vw !important;
  min-width: 300px !important;
}

.custom-toast .toast-message {
  color: #004646;
  /* Cambia el color del mensaje aquí */
  font-size: 12.8px;
  padding-right: 16px;
}

.custom-error {
  position: relative;
  background-color: #fde6de;
  border: 1px solid #f15a24 !important;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2) !important;
  padding: 16px;
  width: 500px !important;
  max-width: 90vw !important;
  min-width: 300px !important;
  color: #004646;
  overflow: hidden;
  box-sizing: border-box;
}

.custom-error::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 20px;
  width: 16px;
  height: 16px;
  background-image: url("../Img/Iris/error.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.text-title {
  font-size: 16px;
  font-weight: 600;
}

.text-p {
  font-size: 12.8px;
  font-weight: 400;
  line-height: 120%;
}

/* --- Estilos base para Escritorio y pantallas grandes --- */


.main-content {
  width: 65%;
}

.sidebar {
  width: 30%;
  display: block;
  /* El sidebar es visible por defecto */
}

/* --- Para Portátiles y tabletas (hasta 992px) --- */
@media (max-width: 991.98px) {
  .main-container {
    display: flex;
    flex-direction: column;
  }

  .secondary-container:first-child {
    display: none;
  }

  .secondary-container {
    display: flex;
    min-width: 100%;
    height: 500px;
  }

  .header-session {
    width: 100%;
    max-width: 100%;
  }

  .socialmedia-list {
    width: 100%;
    justify-content: center;
  }

  .formBody {
    width: 100%;
    padding: 3em 3em 3em 3em;
  }

  .banner-green {
    position: unset;
  }

  .banner-person {
    position: unset;
  }

  .social-container {
    align-items: center;
    margin-top: 0px;
    margin-left: 0px;
  }
}

/* --- Para Móviles (hasta 768px) --- */
@media (max-width: 767.98px) {
  .main-container {
    display: flex;
    flex-direction: column;
  }

  .secondary-container {
    height: 500px;
    min-width: 100%;
  }

  .header-session {
    width: 100%;
    max-width: 100%;
  }

  .socialmedia-list {
    width: 100%;
    justify-content: center;
  }

  .formBody {
    width: 100%;
    padding: 3em 3em 3em 3em;
  }

  .social-container {
    align-items: center;
    margin-top: 0px;
    margin-left: 0px;
  }
}

/* --- Para Móviles pequeños (hasta 576px) --- */
@media (max-width: 575.98px) {
  .main-container {
    display: flex;
    flex-direction: column;
  }

  .secondary-container {
    height: 500px;
    min-width: 100%;
  }

  .header-session {
    width: 100%;
    max-width: 100%;
  }

  .socialmedia-list {
    width: 100%;
    justify-content: center;
  }

  .formBody {
    width: 100%;
    padding: 3em 3em 3em 3em;
  }

  .social-container {
    align-items: center;
    margin-top: 0px;
    margin-left: 0px;
  }
}

.grecaptcha-badge {
  z-index: 10002;
}
