/* Plain form components shared by both the pre-auth pages (auth.css) and the authenticated
   dashboard shell (app.css) - e.g. Account Manager's password-change form. Colors reference the
   same CSS custom properties style.css defines, so these track the active theme everywhere. */

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.field input {
    width: 100%;
    padding: 10px 12px;
    background: var(--content-bg);
    color: var(--text);
    border: 1px solid var(--antique);
    border-radius: 6px;
    font-size: 14px;
}

.field input:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

/* Brand green stays fixed across themes - same call as style.css's own --accent gold, which it
   deliberately doesn't theme-split either (see the comment on .stat-border-card's header). */
.btn {
    padding: 10px 20px;
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn:hover { background: #276b2b; }

.alert {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
}

.alert-error {
    background: var(--error-shadow);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.alert-notice {
    background: var(--info-shadow);
    color: var(--info-color);
    border: 1px solid var(--info-color);
}
