* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #4A4A4A;
    margin: 0;
    font-size: 0.875rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    line-height: 1.43;
    background-color: #F6F7FF;
    background-image: url('../images/banking_xqcqwq.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
}

html {
    height: 100%;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.card {
    width: 768px;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    min-height: 600px;
    border-radius: 10px;
    background-color: #fff;
    display: flex;
}

.block-left {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.block-right {
    flex: 1;
    background-color: #017488;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-content {
    width: 100%;
    max-width: 300px;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.logo {
    /* max-width: 180px; */
    margin-top: -30px;
    height: auto;
}

.login-title {
    font-size: 22px;
    font-weight: 400;
    color: #017488;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.3;
}

.login-subtitle {
    font-size: 17px;
    color: #666;
    margin-bottom: 25px;
    text-align: center;
    padding-top: 28px;
    /* padding-bottom: 28px; */
}

.login-form {
    width: 100%;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
    padding-top: 20px;
}

.input-field {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    color: #4A4A4A;
    background: transparent;
    outline: none;
    transition: border-color 0.3s;
}

.input-label {
    position: absolute;
    left: 0;
    top: 28px;
    font-size: 17px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.input-field:focus + .input-label,
.input-field.has-value + .input-label {
    top: 0;
    font-size: 14px;
    color: #999;
}

.input-field:focus {
    border-bottom-color: #017488;
}

.input-error {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 5px;
    font-size: 13px;
    color: #f44336;
    white-space: nowrap;
}

.input-group.error .input-field {
    border-bottom-color: #f44336;
}

.input-group.error .input-label {
    color: #f44336;
    top: 0;
    font-size: 14px;
}

.input-group.error .input-error {
    display: block;
}

.input-group:last-of-type {
    margin-bottom: 35px;
}

.eye-icon {
    position: absolute;
    right: 0;
    top: 70%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(0, 0, 0, 0.54);
    user-select: none;
    display: flex;
    align-items: center;
}

.eye-icon svg {
    width: 24px;
    height: 24px;
}

.btn-container {
    display: flex;
    justify-content: center;
}

.btn-login {
    padding: 13px 30px;
    background-color: rgba(0, 0, 0, 0.12);
    color: rgba(0, 0, 0, 0.26);
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login.active {
    background-color: #017488;
    color: #ffffff;
    cursor: pointer;
}

.recovery-content {
    text-align: center;
    color: #ffffff;
}

.recovery-title {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.4;
}

.btn-recovery {
    padding: 10px 25px;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 20px;
    font-size: 13px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.modal-login-tokenseguridad {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-login-tokenseguridad.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 3px;
    padding: 50px 60px 60px;
    max-width: 423px;
    width: 90%;
    height: 677px;
    text-align: center;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    z-index: 1001;
}

.modal-title {
    font-size: 24px;
    font-weight: 400;
    color: #017488;
    margin-bottom: 25px;
}

.modal-welcome {
    font-size: 21px;
    font-weight: 400;
    color: #017488;
    margin-bottom: 10px;
}

.modal-username-skeleton {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skeleton-line {
    height: 16px;
    width: 180px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.modal-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid transparent;
    margin: 0 auto 25px;
    overflow: hidden;
    background-color: #f5f5f5;
    animation: pulse-border 12s ease-in-out infinite;
}

@keyframes pulse-border {
    0% {
        border-color: transparent;
    }
    8% {
        border-color: #2e9e6b;
    }
    42% {
        border-color: #2e9e6b;
    }
    50% {
        border-color: transparent;
    }
    100% {
        border-color: transparent;
    }
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-client {
    font-size: 18px;
    color: #017488;
    margin-bottom: 20px;
}

.modal-client-number {
    font-weight: 400;
}

.modal-instruction {
    font-size: 18px;
    color: #017488;
    margin-bottom: 25px;
}

.modal-input-group {
    position: relative;
    margin-bottom: 50px;
    padding-top: 20px;
}

.modal-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 30px 10px 0;
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    color: #4A4A4A;
    background: transparent;
    outline: none;
    text-align: left;
}

.modal-input-label {
    position: absolute;
    left: 0;
    top: 28px;
    font-size: 17px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.modal-input:focus + .modal-input-label,
.modal-input.has-value + .modal-input-label {
    top: 0;
    font-size: 14px;
    color: #999;
}

.modal-input::placeholder {
    color: #999;
    opacity: 1;
    transition: opacity 0.3s;
}

.modal-input:focus::placeholder,
.modal-input.has-value::placeholder {
    opacity: 0;
}

.modal-input:focus {
    border-bottom-color: #017488;
}

.modal-input-error {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 5px;
    font-size: 13px;
    color: #f44336;
    white-space: nowrap;
}

.modal-input-group.error .modal-input {
    border-bottom-color: #f44336;
}

.modal-input-group.error .modal-input-label {
    color: #f44336;
    top: 0;
    font-size: 14px;
}

.modal-input-group.error .modal-input-error {
    display: block;
}

.modal-eye-icon {
    position: absolute;
    right: 0;
    top: 70%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(0, 0, 0, 0.54);
    display: flex;
    align-items: center;
}

.modal-eye-icon svg {
    width: 24px;
    height: 24px;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-cancelar {
    padding: 10px 25px;
    background-color: transparent;
    color: #017488;
    border: 1px solid #017488;
    border-radius: 20px;
    font-size: 13px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-confirmar {
    padding: 10px 25px;
    background-color: rgba(0, 0, 0, 0.12);
    color: rgba(0, 0, 0, 0.26);
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-confirmar.active {
    background-color: transparent;
    color: #017488;
    border: 1px solid #017488;
}

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

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

.loading-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.triangle-loader {
    width: 100px;
    height: 87px;
}

.triangle-bg {
    opacity: 0.3;
}

.triangle-animated {
    stroke-dasharray: 230;
    stroke-dashoffset: 230;
    animation: triangle-spin 1.5s linear infinite;
}

@keyframes triangle-spin {
    0% {
        stroke-dashoffset: 230;
    }
    100% {
        stroke-dashoffset: -230;
    }
}

