/* 2026-11-15: Authentication forms: one eye icon and aligned checkbox controls. */
/* These selectors apply only to the public authentication shell, never the admin panel. */
.auth-shell .form-stack .auth-password-field {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin-top: 7px;
}
.auth-shell .form-stack .auth-password-field > input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-top: 0 !important;
    padding-right: 60px !important;
}
.auth-shell .form-stack .auth-password-eye {
    -webkit-appearance: none;
    appearance: none;
    position: absolute !important;
    top: 50% !important;
    right: 5px !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
    flex: none !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #4f6686;
    font-size: inherit;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    z-index: 2;
}
.auth-shell .form-stack .auth-password-eye > svg {
    display: block !important;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.auth-shell .form-stack .auth-password-eye:hover {
    background: #edf4ff !important;
    color: #1d5ebc;
}
.auth-shell .form-stack .auth-password-eye:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}
/* Base .form-stack input adds field padding to checkboxes. Clear it completely. */
.auth-shell .form-stack label.check {
    display: flex !important;
    align-items: flex-start !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    min-width: 0;
    line-height: 1.45;
}
.auth-shell .form-stack label.check > input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: auto;
    display: block !important;
    box-sizing: border-box;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
    padding: 0 !important;
    margin: 1px 0 0 !important;
    border-radius: 4px;
    accent-color: #2563eb;
    cursor: pointer;
}
.auth-shell .form-stack label.check > span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.45;
}
.auth-shell .form-stack .auth-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 16px;
    row-gap: 10px;
    min-width: 0;
}
.auth-shell .form-stack .auth-options label.check {
    display: inline-flex !important;
    align-items: center !important;
    width: auto;
    min-height: 22px;
    margin: 0;
    cursor: pointer;
}
.auth-shell .form-stack .auth-options label.check > input[type="checkbox"] {
    margin: 0 !important;
}
.auth-shell .form-stack .auth-options label.check > span {
    white-space: nowrap;
}
@media (max-width: 520px) {
    .auth-shell .form-stack .auth-options {
        flex-direction: column;
        align-items: flex-start;
    }
}
