/* ============================================
 * AuthMe — Forgot Password Form Styles
 * ============================================
 *
 * Scoped to #authme-forgot-screen to prevent
 * style conflicts across the plugin.
 *
 * @package AuthMe
 * ============================================ */

/* ── Input Groups ────────────────────────── */
#authme-forgot-screen .authme-input-group {
    margin-bottom: 20px;
}

#authme-forgot-screen .authme-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--authme-text-main);
}

#authme-forgot-screen .authme-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--authme-border);
    border-radius: var(--authme-radius-md);
    font-size: 15px;
    color: var(--authme-text-main);
    background-color: var(--authme-input-bg);
    font-family: var(--authme-font);
    transition: all 0.2s ease;
}

#authme-forgot-screen .authme-input:focus {
    outline: none;
    border-color: var(--authme-primary);
    box-shadow: 0 0 0 4px var(--authme-primary-ring);
}

#authme-forgot-screen .authme-input::placeholder {
    color: var(--authme-text-placeholder);
}

/* Input states */
#authme-forgot-screen .authme-input.authme-input-success {
    border-color: var(--authme-success);
}

#authme-forgot-screen .authme-input.authme-input-success:focus {
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

#authme-forgot-screen .authme-input.authme-input-error {
    border-color: var(--authme-error);
}

#authme-forgot-screen .authme-input.authme-input-error:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

/* ── Field Messages ──────────────────────── */
#authme-forgot-screen .authme-field-msg {
    display: none;
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.3;
}

#authme-forgot-screen .authme-field-msg.authme-msg-success {
    display: block;
    color: var(--authme-success);
}

#authme-forgot-screen .authme-field-msg.authme-msg-error {
    display: block;
    color: var(--authme-error);
}

/* ── Button ──────────────────────────────── */
#authme-forgot-screen .authme-btn-primary {
    width: 100%;
    padding: 14px;
    background-color: var(--authme-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--authme-radius-md);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--authme-font);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

#authme-forgot-screen .authme-btn-primary:hover:not(:disabled) {
    background-color: var(--authme-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

#authme-forgot-screen .authme-btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: none;
}

#authme-forgot-screen .authme-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
