/* Fixes específicos para problemas de alineación en login y registro */

/* Fix ULTRA ESPECÍFICO para centrado perfecto del ícono del ojo */
body .container .left-section .login-frame form .input-container .password-toggle,
body .container .left-section .register-frame form .input-container .password-toggle,
.login-frame .input-container .fas.fa-eye.password-toggle,
.login-frame .input-container .fas.fa-eye-slash.password-toggle,
.register-frame .input-container .fas.fa-eye.password-toggle,
.register-frame .input-container .fas.fa-eye-slash.password-toggle,
.input-container i.fas.fa-eye.password-toggle,
.input-container i.fas.fa-eye-slash.password-toggle,
i.password-toggle.fas.fa-eye,
i.password-toggle.fas.fa-eye-slash {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background-color: rgba(111, 66, 193, 0.1) !important;
    color: #6f42c1 !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-align: center !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.password-toggle:hover {
    background-color: rgba(111, 66, 193, 0.2) !important;
    color: #3e0070 !important;
}

/* Fix para contener sombras dentro del contenedor */
.container {
    overflow: hidden !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Asegurar que right-section no tenga sombras que se salgan */
.right-section {
    box-shadow: none !important;
    filter: none !important;
    overflow: hidden !important;
}

.left-section {
    box-shadow: none !important;
    filter: none !important;
    overflow: hidden !important;
}

/* Asegurar que no hay sombras en elementos ::before y ::after */
.right-section::before,
.right-section::after,
.container::before,
.container::after,
.left-section::before,
.left-section::after {
    box-shadow: none !important;
    filter: none !important;
}

/* Fix adicional para centrado de ícono FontAwesome */
.fas.fa-eye.password-toggle,
.fas.fa-eye-slash.password-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* Eliminar cualquier transformación o posicionamiento conflictivo */
.input-container .password-toggle {
    transform: translateY(-50%) !important;
    top: 50% !important;
    position: absolute !important;
    right: 16px !important;
}
