.bx-system-auth-form {
    background: url('images/bg.png') no-repeat center center;
    border-radius: 40px;
    box-shadow: 0px 4px 10px 0px #32252133;
    padding: 80px;
}

.bx-system-auth-form h1 {
    font-weight: 600;
    font-size: 28px;
    line-height: 36px;
    text-align: center;
    color: var(--dark);
}

.bx-system-auth-form input[type="text"],
.bx-system-auth-form input[type="password"] {
    background: transparent;
    border: 1px solid #322521;
    border-radius: 999px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 15px;
}

.bx-system-auth-form .password-field {
    position: relative;
    margin-bottom: 15px;
}

.bx-system-auth-form .password-field input[type="text"],
.bx-system-auth-form .password-field input[type="password"] {
    padding-left: 48px;
    padding-right: 48px;
    margin-bottom: 0;
}

.bx-system-auth-form .password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #322521;
    cursor: pointer;
    opacity: 0.7;
}

.bx-system-auth-form .password-toggle:hover,
.bx-system-auth-form .password-toggle:focus {
    opacity: 1;
    outline: none;
}

.bx-system-auth-form .password-toggle .icon-eye-off {
    display: none;
}

.bx-system-auth-form .password-toggle.is-visible .icon-eye {
    display: none;
}

.bx-system-auth-form .password-toggle.is-visible .icon-eye-off {
    display: block;
}

.bx-system-auth-form .has-auth-error input[type="text"],
.bx-system-auth-form .has-auth-error input[type="password"] {
    border-color: #ff3030;
}

.bx-system-auth-form .auth-error-message {
    color: #ff3030;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.25;
    margin: -2px 0 15px;
    text-align: center;
}

.bx-system-auth-form .form-group.checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    justify-content: center;
}

.bx-system-auth-form .form-group.checkbox input[type="checkbox"] {
    accent-color: var(--primary, #84594B);
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    border-radius: 7px;
    border: 2px solid var(--muted, #D6C9C0);
    background: #fff;
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: box-shadow 0.15s, border-color 0.15s, background 0.15s;
    margin-right: 11px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.bx-system-auth-form .form-group.checkbox input[type="checkbox"]:checked {
    border-color: var(--primary, #84594B);
    background: var(--primary, #84594B);
}

.bx-system-auth-form .form-group.checkbox input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid var(--white, #fff);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.bx-system-auth-form .form-group.checkbox label {
    font-size: 15px;
    color: var(--dark, #322521);
    cursor: pointer;
    font-weight: 500;
    user-select: none;
    line-height: 1.25;
    padding-top: 2px;
}

@media (max-width: 992px) {
    .bx-system-auth-form {
        padding: 15px;
        border-radius: 15px;
    }
}
