﻿/* ======== Estilo moderno corporativo ======== */

/* Fuente Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
@import url('custom-footer.css');

.intro-section {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 75px 95px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    background-image: url(images/banner01.jpg);
    align-items: center;
    justify-content: center;
    z-index: 1;
}

    /* Capa oscura */
    .intro-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6); /* más oscuro = aumenta el último valor */
        z-index: -1; /* queda detrás del contenido */
    }
  @media (max-width: 991px) {
    .intro-section {
      padding-left: 50px;
      padding-rigth: 50px; } }
  @media (max-width: 767px) {
    .intro-section {
      padding: 28px; } }
  @media (max-width: 575px) {
    .intro-section {
      min-height: auto; } }

  .brand-wrapper-inicio .logoiniciar {
 width:35%
}

 .brand-wrapper-inicio-logo .logoiniciarapp {
  height: 60px;
  padding-bottom: 5px;
}

@media (max-width: 767px) {
  .brand-wrapper {
    margin-bottom: 35px; }

    .intro-content-wrapper {
        margin-top: 10%;
        margin-bottom: auto;
    }
}

.intro-content-wrapper {
  margin-top: 8%;
  margin-bottom: auto; 
}
  .intro-content-wrapper .intro-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 18px; }
  .intro-content-wrapper .intro-text {
    font-size: 14px;
    line-height: 1.29;
    color: #ffffff; }
  .intro-content-wrapper .btn-read-more {
    background-color: #fff;
    padding: 13px 30px;
    border-radius: 0;
    font-size: 16px;
    font-weight: bold;
    color: #000; }
    .intro-content-wrapper .btn-read-more:hover {
      background-color: transparent;
      border: 1px solid #fff;
      color: #fff; }

@media (max-width: 767px) {
  .intro-section-footer {
    margin-top: 35px; } }

.intro-section-footer p {
  font-size: 14px;
  color: #f6f6f6;
  margin-bottom: 0; }

.form-section {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center; }
  @media (max-width: 767px) {
    .form-section {
      padding: 35px; } }
  @media (max-width: 575px) {
    .form-section {
      padding: 26px; } }

.form-control:focus {
    box-shadow: none;
}

.login-wrapper {
  width: 410px;
  max-width: 100%;
  margin-top: auto;
  margin-bottom: auto;

}
  @media (max-width: 575px) {
    .login-wrapper {
      width: 100%; } }
  .login-wrapper .form-control {
    min-height: 55px;
    font-size: 15px;
    padding: 19px 25px 18px;
    margin-bottom: 18px; }
    .login-wrapper .form-control::-webkit-input-placeholder {
      color: #919aa3; }
    .login-wrapper .form-control::-moz-placeholder {
      color: #919aa3; }
    .login-wrapper .form-control:-ms-input-placeholder {
      color: #919aa3; }
    .login-wrapper .form-control::-ms-input-placeholder {
      color: #919aa3; }
    .login-wrapper .form-control::placeholder {
      color: #919aa3; }

.login-title {
  font-size: 29px;
  color: #0d2366;
  margin-bottom: 18px; }

.login-check-box {
  padding-left: 33px;
  margin-bottom: 23px; }
  @media (max-width: 767px) {
    .login-check-box {
      margin-bottom: 10px; } }
  .login-check-box .custom-control-label::before {
    width: 20px;
    height: 20px;
    border: solid 1px #d5dae2;
    left: -33px;
    top: 0px;
    background-color: transparent; }
  .login-check-box .custom-control-label::after {
    left: -33px;
    width: 20px;
    height: 20px;
    top: 0; }


.forgot-password-link {
  font-size: 14px;
  color: #919aa3; }

.social-login-title {
  font-size: 15px;
  color: #919aa3;
  display: -webkit-box;
  display: flex;
  margin-bottom: 23px; }
  .social-login-title::before, .social-login-title::after {
    content: "";
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#f4f4f4));
    background-image: linear-gradient(#f4f4f4, #f4f4f4);
    -webkit-box-flex: 1;
            flex-grow: 1;
    background-size: calc(100% - 20px) 1px;
    background-repeat: no-repeat; }
  .social-login-title::before {
    background-position: center left; }
  .social-login-title::after {
    background-position: center right; }

.social-login-links {
  text-align: center;
  margin-bottom: 0; }

.social-login-link {
  display: inline-block;
  border-radius: 4px;
  border: solid 1px #d5dae2;
  padding: 12px 20px;
  font-size: 14px;
  line-height: 17px;
  font-weight: bold;
  color: #000000;
  margin-top: 14px; }
  @media (max-width: 767px) {
    .social-login-link {
      font-size: 10px;
      padding: 10px 12px; } }
  .social-login-link img {
    width: 12px;
    height: 12px;
    margin-right: 5px;
    -o-object-fit: contain;
       object-fit: contain; }
  .social-login-link + .social-login-link {
    margin-left: 24px; }
    @media (max-width: 767px) {
      .social-login-link + .social-login-link {
        margin-left: 6px; } }

.login-wrapper-signup-text {
  font-size: 18px;
  color: #000;
  padding-top: 50px;
  width: 410px;
  max-width: 100%; }
  @media (max-width: 575px) {
    .login-wrapper-signup-text {
      -webkit-box-ordinal-group: 2;
              order: 1; } }
  .login-wrapper-signup-text a {
    color: #240aad; }

/*# sourceMappingURL=login.css.map */

label.error {
    color: #E91010;
    font-size: 14px;
}

.alert-danger {
    background-color: #E04B4A;
    color: #FFF;
    border-color: #af4342;
}

.alert {
    float: left;
    width: 91%;
    margin-bottom: 10px;
    line-height: 21px;
    font-size: 15px;
}

.alert-danger {
    color: #BE110D;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert {
    padding: 8px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.PopupDisplayNone {
    display: none
}

.ui-widget-overlay {
    background: none
}

.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
}

#PopuTerminos {
    background: #fff;
    width: 500px;
    margin: auto;
    margin-top: -425px;
    border: 1px #2e648b solid;
    z-index: 15555;
    position: absolute;
    left: 20%;
    padding: 18px;
    text-align: justify;
}
.ContieneTextoCargar {
    position: absolute;
    top: 40%;
    color: #ffffff;
    left: 42%;
    text-align: center;
}


body {
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
}

/* Reordenar secciones en desktop */
.container, .intro-section, .form-section {
    display: flex;
}

.container {
    flex: 1;
    min-height: 100vh;
}

.intro-section {
    flex: 1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    order: 2; /* mueve la intro a la derecha */
}



/* Título */
.login-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0d2366;
    text-align: center;
}

/* Inputs */
.login-wrapper .form-control {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    padding: 14px 16px;
    transition: all 0.3s ease;
    margin:0;
}

    .login-wrapper .form-control:focus {
        outline: none;
        border-color: #4caf50;
        box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    }

/* Botón */
.login-btn {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #4caf50, #0d2366);
    transition: all 0.3s ease;
}

    .login-btn:hover {
        color: #919aa3;
        opacity: 0.9;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

/* Link contraseña */
.forgot-password-link {
    font-size: 14px;
    text-align: right;
    display: block;
    margin-top: 0.8rem;
    color: #6b7280;
    text-decoration: none;
}

    .forgot-password-link:hover {
        color: #0d2366;
    }

/* Texto en la sección de bienvenida */
.intro-section h1 {
    font-size: 2rem;
    font-weight: 600;
    max-width: 400px;
}

/* Responsivo */
@media (max-width: 768px) {
    .container {
        flex-direction: column-reverse;
    }

    .intro-section {
        min-height: 200px;
        padding: 1.5rem;
    }

    .form-section {
        padding: 1.5rem;
        box-shadow: none;
    }

    .login-wrapper {
        padding: 0;
    }
}

#MEnsajeEnvioCorreoClave {
    font-size: 14px;
    margin-top: 10px;
    line-height: 19px;
}
    #MEnsajeEnvioCorreoClave.alert {
        padding: 4px;
        line-height: 19px;
        background: #54b947;
    }


/* =========================================
   ENLACES
   ========================================= */
.login-olvideclave-box {
    /*margin-bottom: 13px;*/
    margin-bottom: 2rem;
    justify-content: center;
}

.forgot-password-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .forgot-password-link:hover {
        color: #4caf50;
        text-decoration: none;
    }

    .forgot-password-link i {
        font-size: 12px;
    }

/* =========================================
   INPUTS
   ========================================= */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control {
    width: 100%;
    height: 50px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

    .form-control:focus {
        outline: 0;
        border-color: #4caf50;
        box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1), 0 4px 12px rgba(76, 175, 80, 0.15);
        background-color: #fafafa;
        transform: translateY(-1px);
    }

    .form-control::placeholder {
        color: #6c757d;
        opacity: 1;
        font-weight: 400;
    }

    .form-control:hover:not(:focus) {
        border-color: #ced4da;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }


/* =========================================
   BOTÓN PRINCIPAL
   ========================================= */
.login-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: none;
    background: linear-gradient(135deg, #4caf50 0%, #0d2366 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

    .login-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
        background: linear-gradient(135deg, #45a049 0%, #0a1d5a 100%);
    }

        .login-btn:hover::before {
            left: 100%;
        }

    .login-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
    }
/* Contenedor principal del slider */
.intro-section {
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
}
/* Contenedor principal */
#my-keen-slider {
    width: 100%;
    max-width: 700px; /* límite ancho */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor:pointer;
}

    /* Cada slide con fondo */
    #my-keen-slider .keen-slider__slide {
        height: 400px; /* altura fija (ajústala según necesites) */
        background-size: cover; /* cubre todo el espacio */
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 12px;
    }

/* Responsivo */
@media (max-width: 768px) {
    #my-keen-slider .keen-slider__slide {
        height: 300px;
    }
}

@media (max-width: 576px) {
    #my-keen-slider .keen-slider__slide {
        height: 220px;
    }
}

.navigation-wrapper {
    position: initial;
}

.dots {
    display: flex;
    padding: 10px 0;
    justify-content: center;
}

.dot {
    border: none;
    width: 10px;
    height: 10px;
    background: #c5c5c5;
    border-radius: 50%;
    margin: 0 5px;
    padding: 5px;
    cursor: pointer;
}

    .dot:focus {
        outline: none;
    }

.dot--active {
    background: #000;
}

.arrow {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    fill: #fff;
    cursor: pointer;
}

.arrow--left {
    left: 5px;
    fill: "#fff";
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z' %3E%3C/path%3E%3C/svg%3E");
}

.arrow--right {
    left: auto;
    right: 5px;
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg'  viewBox='0 0 24 24' %3E%3Cpath d='M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z'%3E%3C/path%3E%3C/svg%3E");
}

.arrow--disabled.arrow--left {
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' fill='grey' viewBox='0 0 24 24' %3E%3Cpath d='M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z' %3E%3C/path%3E%3C/svg%3E");
}

.arrow--disabled.arrow--right {
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' fill='grey' viewBox='0 0 24 24' %3E%3Cpath d='M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z'%3E%3C/path%3E%3C/svg%3E");
}

/* Footer */
.intro-section-footer {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    padding: 15px 0;
    width: 100%;
}
.intro-separator {
    border: none;
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}
#my-keen-slider {
    order: 1; /* primero */
}

.intro-section-footer {
    order: 2; /* siempre abajo */
}

/* Estilo moderno para alertas de error */
.alert-danger {
    position: relative;
    padding: 16px 20px 16px 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff4e50, #f9d423); /* degradado rojo-naranja */
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInDown 0.4s ease;
    border: none;
    width:100%
}

    /* Icono antes del texto */
    .alert-danger::before {
        content: "⚠️";
        position: absolute;
        left: 16px;
        font-size: 20px;
    }

    /* Texto fuerte */
    .alert-danger strong {
        font-weight: 700;
        margin-right: 4px;
    }

/* Animación de entrada */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Asegurar que las arrows estén dentro del marco */
.intro-section {
    position: relative; /* Para que los hijos absolutos se anclen aquí */
}

    /* Flechas base */
    .intro-section .arrow {
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        z-index: 10;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s ease;
        font-size: 20px;
        font-weight: bold;
    }

        .intro-section .arrow:hover {
            background: rgba(0, 0, 0, 0.7);
        }

    /* Flecha izquierda */
    .intro-section .arrow--left::before {
        content: "‹"; /* símbolo flecha izquierda */
        font-size: 28px;
        line-height: 1;
    }

    /* Flecha derecha */
    .intro-section .arrow--right::before {
        content: "›"; /* símbolo flecha derecha */
        font-size: 28px;
        line-height: 1;
    }
