body {
    font-family: 'Montserrat';
    margin: 0;
    height: 100%;
}

.input-form-login::placeholder {
  color:#939db9
}
.input-form-login{
  width:100%;
  padding:.3em;
  border: none;
  border-radius: 5px  !important;
  border: 2px solid #e7e7e7;
}


.mensaje-alert{
  padding:.2em 0 .2em 2em !important;
  font-size:.8em;
}


.img-logo {
    width: 61.9px;
    height: 36.7px;
    object-fit: contain;
    margin-top: 1.5em;
    margin-left: 1.5em;
}
.titulo-ingresa{
    width: 118px;
    height: 37px;
    
    font-size: 30px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.23;
    letter-spacing: normal;
    text-align: left;
    color: #3b4559;
    margin-bottom: 0em;
}
.content-info-login, .content-restablecer-login {
    margin-top: 20%;
    background: white;
    padding: 1.5em;
    border-radius: .5em;
    width: 60%;
    margin-left: 20%;
}
.descripcion-titulo {
    
    width: 280px;
    height: 15px;
    
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 4.92;
    letter-spacing: normal;
    text-align: left;
    color: #939db2;
}
.usuario, .active_Cambio_contrasena  {
    width: 48px;
    height: 15px;
    
    font-size: 12px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 4.92;
    letter-spacing: normal;
    text-align: left;
    color: #939db2;
}
.input-ingresa-usuario, .input_restablecer_passw  {
    min-width: 100%;
    height: 24px;
    
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 4.21 !important;
    letter-spacing: normal;
    text-align: left;
    color: #939db2;
    border: none;
    margin-top: -1em;
    /* background: white; */
}
.div-input-usuario {
    border-bottom: 1px solid #939DB2 !important;
    /* max-width: 74% !important; */
}
.password {
  width: 72px;
  height: 15px;
  
  font-size: 12px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 4.92;
  letter-spacing: normal;
  text-align: left;
  color: #939db2;
}

.div-input-password {
    border-bottom: 1px solid #939DB2;
    /* max-width: 74%; */
    margin-top: -1em;
}
input#user_user:focus, input#user_pswd:focus {
  outline: none !important;
}
button#submit, #restabler_password_login {
    width: 100%;
    height: 47px;
    border-radius: 5px;
    background-color: #7716fa !important;
    margin-top: 3em;
    border: none;
    /* float: right; */
    font-weight: 600;
    margin-left: 0;
    margin-right: 0;
}
.div-btn-login {
    float: right;
}
.container-imagen-login {
   padding: 0px;
   margin: 0px;
   background: black;
   height: 100vh;
   text-align: center;
}
img.fondo-login {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.img-background-dramley{
	background: black;
	text-align: center;
	width: 100%;
	height: 100%;
	object-fit: contain;
	text-align: center;
}



.style-col-row {
    padding: 0px !important;
    margin: 0px !important;
    display: flex !important;
    height: 100% !important;
}
.logo-login {
    width: 128.1px;
    height: 75.8px;
    object-fit: contain;
    position: relative;
    position: absolute;
    bottom: 120px;
    right: 10px;
}
.texto_field_{
  position: relative;
  position: absolute;
  bottom: 48px;
  right: 5px;
  width: 386px;
  height: 37px;
  font-size: 30px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  text-align: left;
  color: #ffffff;
}
.texto_powered{
    position: relative;
    position: absolute;
    bottom: 39px;
    right: 11px;
    width: 184px;
    height: 20px;
    font-size: 17px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    color: #ffffff;
}
.style_texto_tp{
  font-weight: 600;
}
.style-form-login{
    height: 100%;
    padding: 0px;
    margin: 0px;
    display: grid;
    height: 100%;
}
.content_primer_fondo{
  background: url('../../img/login/fondoSinPermisos.png') repeat fixed;
  width: 100%;
  height: 457px;
  object-fit: contain;
}
img.logo-login_sin_permiso {
    width: 128.1px;
    height: 75.8px;
    object-fit: contain;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 1em;
}
.texto_field_sin_permiso {
    width: 368px;
    height: 37px;
    font-size: 30px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.texto_powered_sin_permiso {
    width: 184px;
    height: 20px;
    font-size: 17px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 0;
    letter-spacing: normal;
    text-align: left;
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: -1.5em;
}
.content_tercer_content {
    height: 441.9px;
    box-shadow: 0 0 10px 0 rgba(135, 142, 224, 0.6);
    background-color: #ffffff;
    z-index: 1000000000;
    margin-top: -16em;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 5%;
    border-radius: 10px;
}
.img-error {
    width: 58.8px;
    height: 58.8px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.texto_usuario_incorrecto {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 285px;
    height: 37px;    
    font-size: 30px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 0.5em;
    letter-spacing: normal;
    text-align: left;
    color: #7716fa;
}
.texto_credenciales {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%;
    height: 15px;
    
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: center;
    color: #939db2;
    margin-top: -3em;
}
.btn_regresar.btn.btn-primary{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 208px;
    height: 40px;
    border-radius: 5px;
    border: solid 1px #7716fa;
    background: white;
    color: #7716fa;
    margin-top: 2em;
    max-height: 2.2em;
}
.title_restablecer_password {
    
    font-size: 30px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.23;
    letter-spacing: normal;
    text-align: left;
    color: #3b4559;
    margin-bottom: 0em;
}
.descripcion-titulo_restablecer {
    
    width: 280px;
    height: 15px;
    
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: normal;
    text-align: left;
    color: #939db2;
    margin-top: 6em !important;
}
.input_primer_password:focus, .input_restablecer_passw:focus {
    outline: none !important;
}
#new_password_login {
    min-width: 100%;
    height: 18px;
    
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 4.21;
    letter-spacing: normal;
    text-align: left;
    color: #939db2;
    border: none;
    padding: 0px;
}


button#ingresar-btn-login, #restabler_password_login {
    width: 100%;
    /* height: 47px; */
    border-radius: 5px;
    background-color: #006fd1 !important;
    margin-top: 2em;
    box-shadow: none;
    /* font-weight: 600; */
    text-transform: none;
}
.form-check-label {
    font-weight: bold;
    color: #282828;
    font-size: .9em;
}

img.login-top-form {
    width: 40%;
    margin-left: 30%;
    /* margin-bottom: 2em; */
}


.form-check-input {
    border: .125rem solid #e7e7e7;
    border-radius:1em;
}

.divider-login {
    height: 1px;
    background: #e7e7e7;
    margin-top: .6em;
    margin-bottom: .6em;
}

.col-6.container-texto-login {
  background: rgb(0,99,255);
  background: linear-gradient(166deg, rgba(0,99,255,1) 0%, rgba(61,13,131,1) 99%, rgba(55,21,142,1) 100%);
}

.content-text-contraolvidada{
  text-align:center;
}

.label-olvidastecontra{
    color: #0081d9 !important;
    font-size: .9em;
    cursor: pointer;
}

.form-check-label.label-recordarme {
    line-height: initial;
    margin-left: .5em;
    color: #5a5a5a;
}

.content-recordarme{
  line-height: initial;
}
.divider-okta {
    height: 1px;
    background: gainsboro !important;
    margin-bottom: .5em;
}

#okta-btn-login {
    font-size: .8em;
}
.content-button-okta {
    text-align: right;
}

/* ==================================================================
   DISEÑO MOBILE-FIRST MINIMALISTA ENTERPRISE SAAS
   Limpio, espacioso, profesional - Fondo blanco
   ================================================================== */

@media screen and (max-width: 768px) {
    /* ===== ESTRUCTURA BASE ===== */
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        background: #ffffff;
    }
    
    .style-form-login {
        min-height: 100vh;
        overflow-x: hidden;
    }
    
    .style-col-row {
        flex-direction: column !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Ocultar imagen lateral en móviles */
    .col-6.container-imagen-login {
        display: none !important;
    }
    
    /* ===== CONTENEDOR PRINCIPAL - FONDO BLANCO ===== */
    .col-6.container-texto-login {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 3em 2em !important;
        margin: 0 !important;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #ffffff !important;
        position: relative;
    }
    
    /* ===== LOGO FC FIELD CLOUD - GRADIENTE AZUL-PÚRPURA ===== */
    img.login-top-form {
        position: absolute;
        top: -22vh;
        left: 50%;
        transform: translateX(-50%);
        width: 60% !important;
        max-width: 220px;
        height: auto;
        margin: 0 !important;
        z-index: 3;
    }
    
    /* ===== CONTENEDOR DEL FORMULARIO - CENTRADO ===== */
    .content-info-login {
        position: relative;
        background: #ffffff !important;
        margin: 0 auto !important;
        padding: 2.5em 2em !important;
        width: 100% !important;
        max-width: 420px;
        border-radius: 0 !important;
        box-shadow: none !important;
        z-index: 2;
        margin-top: 22vh;
    }
    
    /* ===== FORMULARIO SIMPLE Y CLARO ===== */
    .form.form-login-access {
        width: 100%;
    }
    
    /* Espaciado generoso entre elementos */
    .form-outline.mb-4 {
        margin-bottom: 1.8rem !important;
    }
    
    /* ===== LABELS - TIPOGRAFÍA MODERNA SANS-SERIF ===== */
    .label-form-login.form-check-label {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #334155 !important;
        margin-bottom: 0.6em;
        display: block;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
        letter-spacing: 0.2px;
    }
    
    /* ===== INPUTS - BORDES LIGEROS, SOMBRAS SUAVES ===== */
    .input-form-login {
        width: 100% !important;
        /* Altura touch-friendly */
        padding: 1em 1.2em !important;
        font-size: 16px !important;
        background-color: #ffffff !important;
        /* Bordes ligeros */
        border: 1.5px solid #e2e8f0 !important;
        /* Esquinas redondeadas */
        border-radius: 10px !important;
        color: #1e293b !important;
        /* Sombras suaves */
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 
                    0 1px 2px rgba(0, 0, 0, 0.02) !important;
        transition: all 0.3s ease;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    }
    
    .input-form-login:focus {
        border-color: #6366f1 !important;
        outline: none !important;
        /* Elevación sutil al enfocar */
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1),
                    0 2px 8px rgba(0, 0, 0, 0.08) !important;
        background-color: #fafbfc !important;
    }
    
    .input-form-login::placeholder {
        color: #94a3b8 !important;
        font-weight: 400;
    }
    
    /* ===== BOTÓN - GRADIENTE AZUL-PÚRPURA, ELEVACIÓN SUTIL ===== */
    button#ingresar-btn-login {
        width: 100% !important;
        padding: 1.1em !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        border: none !important;
        /* Esquinas redondeadas */
        border-radius: 10px !important;
        margin-top: 2.2em !important;
        /* Elevación sutil */
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25),
                    0 2px 4px rgba(99, 102, 241, 0.15) !important;
        transition: all 0.3s ease;
        text-transform: none !important;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
        letter-spacing: 0.3px;
    }
    
    button#ingresar-btn-login:active {
        transform: translateY(1px);
        box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3),
                    0 1px 2px rgba(99, 102, 241, 0.2) !important;
    }
    
    /* ===== MENSAJES DE ALERTA ===== */
    .mensaje-alert {
        font-size: 0.875em !important;
        padding: 0.9em 1.1em !important;
        border-radius: 10px !important;
        margin-top: 1.2em !important;
        font-weight: 500;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    }
    
    .alert-danger {
        background-color: #fef2f2 !important;
        border: 1px solid #fecaca !important;
        color: #dc2626 !important;
    }
    
    .alert-success {
        background-color: #f0fdf4 !important;
        border: 1px solid #bbf7d0 !important;
        color: #16a34a !important;
    }
    
    /* ===== DIVIDER ===== */
    .divider-okta {
        height: 1px;
        background: #e5e7eb !important;
        margin: 2em 0 1.3em 0 !important;
    }
    
    /* ===== ENLACE OKTA - BAJA JERARQUÍA VISUAL ===== */
    #okta-btn-login {
        font-size: 0.875em !important;
        color: #6b7280 !important;
        text-decoration: none;
        font-weight: 500;
        display: inline-block;
        transition: color 0.3s ease;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    }
    
    #okta-btn-login:hover {
        color: #4b5563 !important;
    }
    
    .content-button-okta {
        text-align: center !important;
        margin-top: 0.6em;
    }
    
    /* Mensaje de validación */
    #validateLogin {
        margin-top: 1.2em;
    }
}

/* ===== AJUSTES PARA MÓVILES MEDIANOS (max-width: 576px) ===== */
@media screen and (max-width: 576px) {
    .col-6.container-texto-login {
        padding: 2.5em 1.5em !important;
    }
    
    img.login-top-form {
        top: -21vh;
        width: 65% !important;
        max-width: 220px;
    }
    
    .content-info-login {
        padding: 2em 1.5em !important;
        margin-top: 20vh;
    }
    
    .label-form-login.form-check-label {
        font-size: 13px !important;
    }
    
    .input-form-login {
        font-size: 15px !important;
        padding: 0.95em 1.1em !important;
    }
    
    button#ingresar-btn-login {
        font-size: 15px !important;
        padding: 1.05em !important;
    }
    
    .form-outline.mb-4 {
        margin-bottom: 1.6rem !important;
    }
}

/* ===== AJUSTES PARA MÓVILES PEQUEÑOS (max-width: 480px) ===== */
@media screen and (max-width: 480px) {
    .col-6.container-texto-login {
        padding: 2em 1.2em !important;
    }
    
    img.login-top-form {
        top: -20vh;
        width: 68% !important;
        max-width: 200px;
    }
    
    .content-info-login {
        padding: 1.8em 1.3em !important;
        margin-top: 18vh;
    }
    
    .form-outline.mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    button#ingresar-btn-login {
        font-size: 14px !important;
        padding: 1em !important;
        margin-top: 2em !important;
    }
    
    #okta-btn-login {
        font-size: 0.8em !important;
    }
    
    .divider-okta {
        margin: 1.8em 0 1.1em 0 !important;
    }
}

/* ===== ORIENTACIÓN HORIZONTAL EN MÓVILES ===== */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .col-6.container-texto-login {
        padding: 2em 2.5em !important;
    }
    
    img.login-top-form {
        top: -18vh;
        width: 40% !important;
        max-width: 180px;
    }
    
    .content-info-login {
        margin-top: 15vh;
        padding: 1.8em 2em !important;
    }
    
    .form-outline.mb-4 {
        margin-bottom: 1.3rem !important;
    }
    
    button#ingresar-btn-login {
        margin-top: 1.8em !important;
        padding: 0.95em !important;
    }
    
    .divider-okta {
        margin: 1.6em 0 1.1em 0 !important;
    }
}