.home-card.home-auth-form {
    --home-accent: rgb(222, 106, 8);
    --home-accent-deep: rgb(163, 77, 6);
    --home-accent-14: rgba(222, 106, 8, 0.25);
    --home-accent-35: rgba(222, 106, 8, 0.45);
}

.home-auth-form .form-label {
    color: var(--bkn-text);
    font-weight: 600;
}

.home-auth-form .form-text {
    color: var(--bkn-text-muted);
}

.home-auth-form .form-control {
    background: var(--bkn-surface-card);
    border-color: var(--bkn-border);
    color: var(--bkn-text);
}

.home-auth-form .form-control::placeholder {
    color: var(--bkn-text-muted);
    opacity: 0.7;
}

.home-auth-form .form-control:focus {
    background: var(--bkn-surface-card);
    border-color: var(--home-accent);
    color: var(--bkn-text);
    box-shadow: 0 0 0 0.2rem var(--home-accent-14);
}

.home-auth-form .input-group .form-control:focus {
    box-shadow: none;
}

.home-auth-form .input-group .btn-toggle-password {
    background: var(--bkn-surface-card);
    border-color: var(--bkn-border);
    color: var(--bkn-text-muted);
}

.home-auth-form .input-group .btn-toggle-password:hover,
.home-auth-form .input-group .btn-toggle-password:focus-visible {
    color: var(--home-accent);
    border-color: var(--home-accent);
    background: var(--bkn-surface-card-hover);
}

.home-auth-form .input-group:focus-within {
    box-shadow: 0 0 0 0.2rem var(--home-accent-14);
    border-radius: var(--bs-border-radius);
}

.home-auth-form .input-group:focus-within .form-control,
.home-auth-form .input-group:focus-within .btn-toggle-password {
    border-color: var(--home-accent);
    z-index: 3;
}

.home-auth-form .input-group:focus-within .btn-toggle-password {
    color: var(--home-accent);
    background: var(--bkn-surface-card);
}

.home-auth-form .form-control.is-password-weak,
.home-auth-form .form-control.is-field-invalid {
    border-color: #e42a29;
}

.home-auth-form .form-control.is-password-weak:focus,
.home-auth-form .form-control.is-field-invalid:focus {
    border-color: #e42a29;
    box-shadow: 0 0 0 0.2rem rgba(228, 42, 41, 0.25);
}

.home-auth-form .form-control.is-password-strong,
.home-auth-form .form-control.is-field-valid {
    border-color: #16a34a;
}

.home-auth-form .form-control.is-password-strong:focus,
.home-auth-form .form-control.is-field-valid:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.25);
}

.home-auth-form .input-group:has(.is-password-weak):focus-within {
    box-shadow: 0 0 0 0.2rem rgba(228, 42, 41, 0.25);
}

.home-auth-form .input-group:has(.is-password-weak):focus-within .form-control,
.home-auth-form .input-group:has(.is-password-weak):focus-within .btn-toggle-password {
    border-color: #e42a29;
}

.home-auth-form .input-group:has(.is-password-weak):focus-within .btn-toggle-password {
    color: #e42a29;
}

.home-auth-form .input-group:has(.is-password-strong):focus-within {
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.25);
}

.home-auth-form .input-group:has(.is-password-strong):focus-within .form-control,
.home-auth-form .input-group:has(.is-password-strong):focus-within .btn-toggle-password {
    border-color: #16a34a;
}

.home-auth-form .input-group:has(.is-password-strong):focus-within .btn-toggle-password {
    color: #16a34a;
}

.home-auth-form .password-strength,
.home-auth-form .field-feedback {
    font-weight: 600;
}

.home-auth-form .password-strength.is-weak,
.home-auth-form .field-feedback.is-invalid {
    color: #e42a29;
}

.home-auth-form .password-strength.is-strong,
.home-auth-form .field-feedback.is-valid {
    color: #16a34a;
}

.home-auth-form .btn-auth {
    background: linear-gradient(135deg, var(--home-accent), var(--home-accent-deep));
    border: none;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 14px var(--home-accent-35);
}

.home-auth-form .btn-auth:hover,
.home-auth-form .btn-auth:focus-visible {
    color: #fff;
    filter: brightness(1.05);
}

.home-auth-form .home-announce-body a {
    color: var(--home-accent);
}
