*, *::before, *::after {
    box-sizing: border-box;
}

img {
    vertical-align: middle;
    border-style: none;
    overflow-clip-margin: content-box;
    overflow: clip;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.header-text {
    margin: 0;
    font-size: 14px;
    color: #FFFFFF;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
}

.container {
    margin-top: 21px;
    min-height: calc(100vh - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.wrapper {
    display: flex;
    max-width: 1200px;
    width: 100%;
    height: 803px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px rgb(228, 228, 228) solid;
    border-radius: 26px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.left-block, .right-block {
    padding: 60px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-block {
    
    max-width: 100%;
    text-align: center;
    height: 814px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    background: #F9F9F9;
    border: 1px solid #EAEAEA;
    border-radius: 24px;
    padding: 60px 40px;
}

.slider-text {
    text-align: center;
    margin-top: -70px;
    margin-bottom: 40px;
    width: 100%;
}

.slider-text img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.security-image {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-image img {
    width: 325px;
    height: auto;
    display: block;
    padding-top: 73px;
}

h2 {
    color: #333333;
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.security-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.security-list li {
    margin-bottom: 20px;
    color: #666666;
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1.5;
}

.security-list li::before {
    content: "✓";
    margin-right: 15px;
    color: #83a1ff;
    font-weight: bold;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    transition: left 0.5s ease-in-out;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide.active {
    left: 0;
    pointer-events: auto;
}

.slide.prev {
    left: -100%;
}

.dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #EAEAEA;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.dot.active {
    background: #333333;
}

.right-block {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logo {
    margin-bottom: 60px;
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo img {
    width: 140px;
    height: 32px;
    display: block;
}

.login-form {
    padding-top: 132px;
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

h3 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #141415;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    background: transparent;
    outline: none;
    padding-right: 35px;
}

.input-group input::placeholder {
    color: #666666;
}

.toggle-visibility {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.toggle-visibility svg {
    width: 24px;
    height: 24px;
    opacity: 0.5;
}

.toggle-visibility svg path {
    fill: #141415;
}

.btn-enter {
    min-width: 214px;
    border: none;
    padding: 12px 36px;
    border-radius: 60px;
    background: #EBEBEB;
    color: #999999;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px !important;
    line-height: normal;
    text-transform: none;
    cursor: default;
    display: block;
    margin-left: 0;
    align-self: flex-start;
}

.btn-enter.active {
    background: var(--bankaool-primary-black, #141415);
    color: var(--bankaool-primary-white, #FFF);
    cursor: pointer;
}

.help-links {
    width: 68%;
    margin-top: auto;
    padding-top: 24px;
    text-align: left;
}

.help-link {
    color: #141415;
    text-decoration: underline;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    display: inline-block;
    margin-right: 16px;
}

.help-link:hover {
    text-decoration: none;
}

.help-link .arrow {
    margin-left: 4px;
    font-size: 10px;
}

.location-notice {
    color: #666666;
    font-size: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 0;
    text-decoration: none;
}

/* Media Queries para móvil */
@media screen and (max-width: 768px) {
    .container {
        padding: 0;
        height: 100vh;
        background-color: #fff;
    }

    .wrapper {
        height: 100vh;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
        border: none;
    }

    .left-block {
        display: none; /* Ocultar el bloque izquierdo en móvil */
    }

    .right-block {
        width: 100%;
        padding: 24px;
        height: 100%;
        justify-content: flex-start;
    }

    .logo {
        margin: 60px 0 40px 0;
    }

    .logo img {
        max-width: 120px;
    }

    .login-form {
        
        margin: 40px 0;
        width: 100%;
    }

    .help-links {
        position: fixed;
        bottom: 20px;
        left: 0;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .help-link {
        font-size: 12px;
    }

    .location-notice {
        font-size: 11px;
        padding: 0 20px;
        text-align: center;
        color: #666;
    }

    .header {
        font-size: 12px;
        padding: 8px 15px;
    }

    .header-text {
        font-size: 12px;
        line-height: 1.4;
    }

    .input-group input {
        width: 100%;
        box-sizing: border-box;
    }

    .btn-enter {
        width: 100%;
    }

    .button-group {
        width: 102%;
        margin: 24px 0 10px 0;
        gap: 10px;
    }

    .button-group button {
        flex: 1;
        min-width: 0;
        padding: 12px 24px;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .btn-cancel, .btn-enter {
        justify-content: center;
        text-align: center;
    }
}

:root {
    --bankaool-primary-black: #141415;
}

label.identificador {
    color: var(--bankaool-primary-black, #141415);
    font-family: 'PoppinsM', 'Poppins', sans-serif;
    font-size: 14px !important;
    line-height: 130%;
    display: block;
    margin-bottom: 8px;
    margin-top: -25px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.overlay.active {
    display: flex;
}

.loader {
    width: 161px;
    height: 50px;
    display: block;
}

.wrapper-login {
    max-width: 480px;
    padding: 40px;
    margin: 0 auto;
    height: auto;
}

.login-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nombre-identificador {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #141415;
    margin: 0 0 32px 0;
    text-align: left;
    width: 100%;
    display: block;
}

.form-group {
    width: 100%;
    margin-bottom: 24px;
}

.button-group {
    display: flex;
    gap: 10px;
    
}

.button-group button {
    flex: 1;
    min-width: 0;
}

.btn-cancel {
    padding: 12px 36px;
    border-radius: 60px;
    border: 1px solid #141415;
    background: transparent;
    color: #141415;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-cancel:hover {
    background: #f5f5f5;
}

.forgot-password {
    margin-top: 16px;
    text-align: left;
    width: 68%;
}

.forgot-link {
    color: #141415;
    text-decoration: none;
    font-size: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.bankaool-id-container {
    padding: 24px;
    width: 100%;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 26px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
}

.bankaool-id-logo {
    width: 148px;
    margin-left: -22px;
    margin-top: -15px;
    padding-bottom: 22px;
    /* margin: 24px 0 24px 24px; */
    display: block;
}

.divider {
    width: calc(100% + 48px);
    height: 1px;
    background: #E4E4E4;
    margin: 0 -24px;
}

.code-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #141415;
    text-align: center;
    margin-bottom: 16px;
    padding-top: 15px;
}

.code-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666666;
    text-align: center;
    margin-bottom: 24px;
}

.code-inputs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    width: 100%;
}

.code-input {
    width: 48px;
    height: 48px;
    border: 1px solid #919191;
    border-radius: 8px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #141415;
}

.omni-logo {
    width: 122px;
    margin: 24px auto;
    display: block;
}

.btn-confirm {
    width: 100%;
    height: 48px;
    background: #EBEBEB;
    border: none;
    border-radius: 60px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #999999;
    cursor: not-allowed;
    margin-bottom: 24px;
}

.btn-confirm.active {
    background: #141415;
    color: #FFFFFF;
    cursor: pointer;
}

.help-text {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #141415;
    text-align: center;
    margin-bottom: 24px;
    cursor: pointer;
    padding: 20px;
}

.warning-footer {
    background: #FED766;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 24px 0 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.warning-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.warning-text {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #141415;
    line-height: 1.4;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none;
}

.modal-dialog.ModalSoftOTP {
    max-width: 424px;
    margin: 1.75rem auto;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: none;
    outline: 0;
    padding-bottom: 60px;
}

.ModalSoftOTP .modal-content {
    padding: 0;
    border-radius: 16px;
    width: 424px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1;
}

.modal-close svg {
    width: 24px;
    height: 24px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.modal-close:hover svg {
    opacity: 1;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 24px 24px 0;
}

.error-message {
    color: #E60012;
    text-align: center;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    margin: 16px 0;
}

/* Modal de Alerta */
.alert-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.alert-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.alert-modal {
    background: white;
    border-radius: 16px;
    width: 424px;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.alert-modal-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 24px 24px 0;
}

.alert-logo {
    width: 140px;
    height: 32px;
}

.alert-modal-content {
    padding: 0 24px 24px;
    text-align: center;
}

.alert-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    display: block;
}

.alert-title {
    font-family: Poppins;
    font-size: 24px;
    font-weight: 600;
    color: #141415;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.alert-message {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    color: #141415;
    margin: 0 0 32px;
    line-height: 1.5;
}

.btn-cancel-alert {
    background: white;
    border: 1px solid #141415;
    color: #141415;
    padding: 12px 32px;
    border-radius: 60px;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 120px;
}

.btn-cancel-alert:hover {
    background: #141415;
    color: white;
}