body {
    color: #4D4747;
}
label[for] {
    display: block;
    font-weight: bold;
    margin-bottom: .125em;
    cursor: pointer;
}

label::after {
    content: " - " / "";
    background: #f9f4f4;
    color: #f9f4f4;
    margin-left: -.25em;
    width: 1em;
}

.altcha-label label::after {
    display: none;
}
div:has(> input[required]) label::after {
    content: "* " / "obligatoire";
    color: #dc1c1c;
    background: #f9f4f4;
    margin-left: -.25em;
}

input[type=text],
input[type=email],
input[type=date],
input[type=number],
select,
textarea {
    border: 1px solid #d2c9c9;
    border-radius: .375em;
    background: #fff;
    height: 3em;
    line-height: 3em;
    padding: 0 .75em;
    font-size: 13px;
    box-shadow: inset 0 .0625em .125em #eee;
    width: 100%;
    max-width: 100%;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=date]:focus,
input[type=number]:focus,
select:focus,
textarea:focus {
    border-color: #ff0f0f;
    outline: 3px solid #ff0f0f40;
}

textarea {
    height: 5.7em;
    line-height: 1.25em;
    padding: .75em;
    resize: vertical;
}

.field:has(> input[type=checkbox]) {
    display: flex;
    flex-direction: row-reverse;
}

input[type=checkbox] {
    margin-right: 1em;
}

.helptext {
    font-size: .75rem;
}

ul.errorlist {
    margin: .8em 0;
    margin-bottom: 0.8em;
    padding: .25em .75em;
    color: #C40000;
    font-size: 1em;
    font-weight: bold;
    list-style-type: none;
    border-left: 3px solid;
    background: #FFE0E0;
    box-shadow: 1px 1px 3px #d7c8c8;
}

:root {
  --altcha-border-width: 1px;
  --altcha-border-radius: 3px;
  --altcha-color-base: #ffffff;
  --altcha-color-border: #a0a0a0;
  --altcha-color-text: currentColor;
  --altcha-color-border-focus: #d53923;
  --altcha-color-error-text: #f23939;
  --altcha-color-footer-bg: #f4f4f4;
  --altcha-max-width: 260px;
}

.field-group {
    margin: 1em 0;
}