.logo-login {
    max-width: 300px;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field-group {
    margin-bottom: 18px;
}

.password-field-label {
    color: #44546a;
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.password-field-input {
    border: 1px solid #d9e2f1;
    border-radius: 10px;
    box-shadow: none;
    font-size: 14px;
    height: 46px;
    padding: 10px 52px 10px 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    width: 100%;
}

.password-field-input:focus {
    border-color: #1f3c88;
    box-shadow: 0 0 0 0.15rem rgba(31, 60, 136, 0.12);
    outline: none;
}

.password-field-input.is-valid,
.password-field-input.is-valid:focus {
    background-image: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 0.15rem rgba(46, 125, 50, 0.12);
}

.password-field-input.is-invalid,
.password-field-input.is-invalid:focus {
    background-image: none;
    border-color: #c62828;
    box-shadow: 0 0 0 0.15rem rgba(198, 40, 40, 0.12);
}

.toggle-password-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    z-index: 3;
}

.toggle-password-btn:hover,
.toggle-password-btn:focus {
    color: #1f3c88;
    outline: none;
}

.toggle-password-btn svg {
    display: block;
    height: 18px;
    width: 18px;
}

.toggle-password-btn .icon-hidden {
    display: none;
}

.toggle-password-btn.is-visible .icon-visible {
    display: none;
}

.toggle-password-btn.is-visible .icon-hidden {
    display: block;
}

.password-status {
    display: none;
    font-size: 13px;
    margin-top: 8px;
}

.password-status.is-visible {
    display: block;
}

.password-status.is-danger {
    color: #c62828;
}

.password-status.is-warning {
    color: #b26a00;
}

.password-status.is-success {
    color: #2e7d32;
}

.password-strength {
    background: #e9edf5;
    border-radius: 999px;
    height: 8px;
    margin-top: 18px;
    overflow: hidden;
    width: 100%;
}

.password-strength-bar {
    background: #d32f2f;
    border-radius: inherit;
    height: 100%;
    transition:
        width 0.2s ease,
        background-color 0.2s ease;
    width: 0;
}

.password-rules {
    background: #fafbff;
    border: 1px solid #dbe4f3;
    border-radius: 10px;
    margin-bottom: 24px;
    padding: 14px 16px;
}

.password-rules-title {
    color: #44546a;
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.password-rules-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.password-rule-item {
    align-items: center;
    color: #7a869a;
    display: flex;
    font-size: 13px;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 20px;
    transition: color 0.2s ease;
}

.password-rule-item:last-child {
    margin-bottom: 0;
}

.password-rule-bullet {
    align-items: center;
    background: #fff7e0;
    border: 1px solid #f9a825;
    border-radius: 50%;
    display: inline-flex;
    flex-shrink: 0;
    height: 16px;
    justify-content: center;
    width: 16px;
}

.password-rule-bullet::after {
    color: #d48806;
    content: "!";
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.password-rule-item.is-valid {
    color: #2e7d32;
}

.password-rule-item.is-valid .password-rule-bullet {
    background: #2e7d32;
    border-color: #2e7d32;
}

.password-rule-item.is-valid .password-rule-bullet::after {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    color: transparent;
    content: "";
    height: 8px;
    margin-top: -1px;
    transform: rotate(45deg);
    width: 4px;
}

.password-primary-block {
    margin-bottom: 34px;
}

.password-confirmation-block {
    margin-top: 32px;
}

@media only screen and (max-width: 768px) {
    .logo-login {
        max-width: 260px;
    }
}
