/**
 * Authentication page input fixes.
 * إصلاحات حقول صفحات المصادقة.
 */

.auth-input-shell {
    position: relative;
    display: block;
}

.auth-input {
    box-sizing: border-box;
    line-height: 1.5;
}

.auth-input-with-start-icon {
    padding-inline-start: 3rem !important;
}

.auth-input-with-end-action {
    padding-inline-end: 3rem !important;
}

.auth-field-icon {
    position: absolute;
    inset-inline-start: 1rem;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    pointer-events: none;
    line-height: 1;
}

.auth-password-toggle {
    position: absolute;
    inset-inline-end: 0.65rem;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    color: #6b575f;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus {
    background: #fcf6f9;
    color: #602040;
    outline: none;
}

.auth-password-toggle i,
.auth-field-icon {
    font-size: 1.25rem;
}
