.password-field {
    position: relative;
    margin-top: 16px;
}

.password-field--confirm {
    margin-top: 20px;
}

.password-field .form-control {
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    top: 42px;
    right: 10px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.password-toggle.is-hidden {
    display: none;
}

.password-strength {
    margin-top: 10px;
}

.password-strength__track {
    height: 6px;
    border-radius: 999px;
    background: #eee3d4;
    overflow: hidden;
}

.password-strength__bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: #d32f2f;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.password-strength__bar.is-weak {
    width: 33%;
    background: #d32f2f;
}

.password-strength__bar.is-fair {
    width: 66%;
    background: #e6a817;
}

.password-strength__bar.is-strong {
    width: 100%;
    background: #2e7d32;
}

.password-strength__label {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
}

.password-strength__label.is-weak {
    color: #d32f2f;
}

.password-strength__label.is-fair {
    color: #b8860b;
}

.password-strength__label.is-strong {
    color: #2e7d32;
}

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

.password-rules li {
    position: relative;
    padding-left: 18px;
    margin: 0 0 4px 0;
    font-size: 12px;
    line-height: 1.4;
    color: #888;
}

.password-rules li::before {
    content: '○';
    position: absolute;
    left: 0;
    top: 0;
    color: #bc9c60;
}

.password-rules li.is-met {
    color: #2e7d32;
}

.password-rules li.is-met::before {
    content: '✓';
}

.password-match {
    min-height: 18px;
    margin: 4px 0 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #d32f2f;
}

.password-match.is-ok {
    color: #2e7d32;
}

.auth-flash {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.auth-flash--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-flash--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.otp-verification-title-accent {
    color: #bc9c60;
}
