.forgot-wrapper .welcome-header p {
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
}

#resetStatus {
    margin-top: 0;
}

#resetStatus.is-error {
    color: #9a332e;
    background: #fff1ef;
    border-color: #f0cbc6;
}

#resetStatus.is-success {
    color: #245d37;
}

.reset-resend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 11px;
}

.reset-resend-row button {
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: var(--brand-primary-green);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.reset-resend-row button:disabled {
    color: #9ba79e;
    cursor: not-allowed;
}

/* Ensure hidden forms are strictly hidden */
[hidden],
form[hidden],
.auth-form[hidden],
#resetRequestForm[hidden],
#resetVerifyForm[hidden],
#resetNewPasswordForm[hidden] {
    display: none !important;
}

.input-box.has-toggle {
    position: relative;
}

.input-box.has-toggle input {
    padding-right: 46px;
}

.toggle-pw {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
    .toggle-pw:hover {
        color: var(--brand-primary-green);
        background-color: rgba(45, 92, 57, 0.08);
    }
}

@media (max-width: 600px) {
    .reset-resend-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
}
