/* NOTE: DARK THEME · FORM (overrides css/new/form.css). The form is a white card inside a dark section,
   so its buttons go back to black instead of the white CTA used on dark backgrounds (themes/dark/base.css). */

.kmd-section--dark .kmd-form .kmd-btn--accent,
.kmd-section--ink .kmd-form .kmd-btn--accent {
    border-color: var(--kmd-cta);
    background: var(--kmd-cta);
    color: var(--kmd-white);
}

.kmd-section--dark .kmd-form .kmd-btn--accent:hover,
.kmd-section--ink .kmd-form .kmd-btn--accent:hover {
    border-color: var(--kmd-cta-hover);
    background: var(--kmd-cta-hover);
    color: var(--kmd-white);
}

/* keep the grey "sending" state from css/new/form.css */
.kmd-section--dark .kmd-form .kmd-form__submit[aria-disabled="true"],
.kmd-section--ink .kmd-form .kmd-form__submit[aria-disabled="true"] {
    border-color: #9A9A9A;
    background: #9A9A9A;
}
