/*
 * DinkyForms: the little that Bootstrap 5 does not do. The markup uses Bootstrap's own classes (form-control, form-label,
 * form-select, invalid-feedback ...); this file only adds to them and never changes how Bootstrap looks.
 */

/* The asterisk of a required field. */
.dinkyforms-form .dinkyforms-required {
    color: var(--bs-danger, #b00020);
    font-weight: 700;
}

/* A field with a problem: the message sits right under the input and is read out with it. */
.dinkyforms-form .dinkyforms-field.has-error .form-label,
.dinkyforms-form .dinkyforms-field.has-error .form-check-label {
    color: var(--bs-danger, #b00020);
}

/* The honeypot: out of sight for people and for screen readers (it has aria-hidden), but in the page for bots. */
.dinkyforms-form .dinkyforms-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* The message after a form was sent. */
.dinkyforms .dinkyforms-message:focus {
    outline: none;
}

/* The page of a form: not as wide as the page. */
.dinkyforms-page {
    max-width: 40rem;
}
