.input-group .form-control,
.input-group-addon,
.input-group-btn {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
}

.input-group-lg>.form-control,
.input-group-lg>.input-group-addon,
.input-group-lg>.input-group-btn>.btn {
    height: 40px;
    line-height: 40px;
}

.input-group-addon,
.input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

.input-group-append {
    display: table-cell;
    vertical-align: middle;
}

.input-lg {
    height: 40px;
    font-size: 12px;
    border-radius: 20px;
    line-height: 1.5;
}

.btn {
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 5px 0;
}

.btn-blue {
    color: #fff;
    border: 2px solid #0066cc;
    background-color: #0066cc;
}

.btn-blue:hover,
.btn-blue:focus {
    border: 2px solid #555;
    outline: 0;
    background-color: #555;
    color: #fff;
}

.btn-blue-pass {
    border: 0;
    border-radius: 4.998px;
    color: #6E6B7B;
    background-color: #F0F6FF;
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    height: 40px;
    padding: 0 12px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-blue-pass:focus {
    border: 0;
    color: #6E6B7B;
    background-color: #F0F6FF;
}

.btn-blue-pass:hover {
    border: 0;
    background-color: #F0F6FF;
    outline: 0;
    color: #6E6B7B;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    width: 100%;
}

hr {
    border-top: 1px solid #f0f6ff45;
}

.content {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.content.row {
    min-height: 100vh;
}

.copy-clean {
    border-radius: 20px;
    max-width: 540px;
    padding: 15px;
    background: rgb(12 14 22 / 55%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    box-shadow: -1px 5px 18px 0px rgb(0 0 0 / 48%);
}

.copy-clean p {
    line-height: 1.6;
    font-size: 0.9rem;
    opacity: .7;
    color: #fff;
}

.login-copy__cta {
    display: inline-block;
    background: rgb(255 255 255 / 3%);
    border-radius: 999px;
    padding: 10px 18px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.text-forgot {
    font-size: 12px;
    color: #fff;
    text-decoration: none;
}

.loginBtn {
    border-radius: 20px !important;
}

.promo {
    min-height: 100vh;
    height: 100vh;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 50px;
}

.intropromo {
    display: table-cell;
    vertical-align: middle;
}

.intropromo .col-6,
.leftline .col-sm-6 {
    margin-left: 30%;
}

.leftline {
    display: table;
    height: 100%;
    padding: 30px;
    overflow: hidden;
    background: rgb(12 14 22 / 84%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    margin-bottom: 7%;
}

.leftlineinside {
    display: table-cell;
    vertical-align: middle;
    padding: 20px 0 20px;
}

@media (min-width: 1170px) {
    .leftline {
        margin-right: 30px;
    }
}

.overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #000000b3 30%, rgb(0 0 0 / 0%) 100%);
}

@media (max-width: 1200px) {
    .overlay {
        background: rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 991px) {
    .promo {
        display: none;
    }

    .login-panel {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .col-left {
        height: auto;
        position: relative;
    }

    .intropromo {
        display: table-cell;
        vertical-align: middle;
    }

    .intropromo .col-6 {
        max-width: 400px;
    }

    .leftline,
    .leftlineinside {
        display: block;
        min-height: 100vh;
    }

    .leftline {
        margin: 0;
    }
}

/* Ajustes para pantallas medianas (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    .login-panel {
        display: flex;
        justify-content: flex-end;
    }

    .leftline {
        max-width: 500px;
        width: 100%;
    }
}

.textoInformativo {
    color: #fff;
    text-shadow: 4px 4px 9px rgba(128, 127, 127, 0.83);
    font-size: 14px;
    max-width: 500px;
}

.fondo {
    background-image: url("/image/slides/claims_login_pi.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    overflow: hidden;
}

.field-validation-error {
    font-size: 0.9rem;
}

/* ============================= */
/*  INPUTS (shared login forms)  */
/* ============================= */

.login-input {
    background-color: #F0F6FF;
    border: none;
    color: #1e2022;
    border-radius: 30px;
    padding-right: 45px;
}

.login-input:focus {
    background-color: #F0F6FF;
    color: #1e2022;
}

/* ============================= */
/*  PASSWORD TOGGLE BUTTON       */
/* ============================= */

.btn-toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    z-index: 10;
    height: auto;
    cursor: pointer;
}

.btn-toggle-password i {
    color: #6E6B7B;
    font-size: 1rem;
}

/* ============================= */
/*  INFO BOX (dark panel)        */
/* ============================= */

.info-box {
    background-color: #0b1a2a;
    border: 1px solid #142b47;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
}

.info-box__header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.info-box__icon {
    font-size: 0.85rem;
    color: #bdc8d6;
    margin-top: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.info-box__text {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 0;
}

/* ============================= */
/*  PASSWORD RULES LIST          */
/* ============================= */

.password-rules {
    color: #bdc8d6;
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.6;
}

.password-rules .rule-icon {
    font-size: 0.8rem;
}

/* ============================= */
/*  FORM TITLES / SUBTITLES      */
/* ============================= */

.form-title {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.form-subtitle {
    font-size: 0.95rem;
}

.form-lead {
    font-size: 0.9rem;
}

/* ============================= */
/*  HELPER LINKS                 */
/* ============================= */

.link-helper {
    font-size: 0.8rem;
    text-decoration: none;
    color: #fff;
}

.link-helper:hover {
    color: #007bff;
}

.password-match-msg {
    font-size: 0.85rem;
    display: none;
}

/* ============================= */
/*  2FA - OTP SCREEN             */
/* ============================= */

.otp-container {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 20px 0;
}

.otp-input {
    width: 38px;
    height: 48px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    background-color: #F0F6FF;
    color: #1e2022;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

.otp-input:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 2px #007bff;
    outline: none;
}

/* ============================= */
/*  2FA - RESEND LINK & TIMER    */
/* ============================= */

.resend-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.resend-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
}

.resend-link:hover {
    color: #007bff;
}

.resend-link.disabled {
    color: rgba(255, 255, 255, 0.35) !important;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

#resend-timer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 4px;
}

/* ============================= */
/*  2FA SCREEN HEADING           */
/* ============================= */

.screen-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.screen-subtitle {
    font-size: 0.9rem;
}

.otp-label {
    font-size: 0.85rem;
    opacity: 0.8;
}