/**
 * Auto-generated from AppTheme via formCss()
 * DO NOT EDIT MANUALLY
 *
 * To regenerate: ./gradlew server:generateThemeCss
 */

.hover\:bg-light-grey:hover {
    background-color: #f5f5f5;
}

.focus-within\:error:focus-within {
    outline: 1px solid #6e2230;
    box-shadow: 0 0 0 3px #6e223080;
}

.focus-within\:warning:focus-within {
    outline: 1px solid #c9a82c;
    box-shadow: 0 0 0 3px #c9a82c80;
}

.focus-within\:input:focus-within {
    outline: 1px solid #ad815b;
    box-shadow: 0 0 0 3px #ad815b80;
}

form .fieldErrorText {
    color: #6e2230;
    font-size: 1em;
    margin-top: 0.25em;
    line-height: 1.5em;
}

label {
    line-height: 1.5em;
    font-weight: 500;
    font-size: 1em;
    cursor: pointer;
}

input {
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    padding: 0.5em 0.75em;
    font-size: 1em;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

input.error {
    border: 1px solid #6e2230;
    color: #511822;
    background: #e8c7cd;
}

select {
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    padding: 0.5em 0.75em;
    font-size: 1em;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

select.error {
    border: 1px solid #6e2230;
    color: #511822;
}

textarea {
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    padding: 0.5em 0.75em;
    font-size: 1em;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

textarea.error {
    border: 1px solid #6e2230;
    background: #e8c7cd;
}

.errorAlert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #6e2230;
    border-radius: .25rem;
    color: #511822;
    background-color: #e8c7cd;
}

.errorAlert a {
    font-weight: bold;
    color: #511822;
}

a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible, label:focus-visible {
    outline: 1px solid #ad815b;
    box-shadow: 0 0 0 3px #ad815b80;
}

input.notice:focus-visible {
    outline-color: #8a7560;
    box-shadow: 0 0 0 3px #8a756080;
}

input.warning:focus-visible {
    outline-color: #705b11;
    box-shadow: 0 0 0 3px #705b1180;
}

input.error:focus-visible {
    outline-color: #511822;
    box-shadow: 0 0 0 3px #51182280;
}

/* Custom checkbox styling — applies to all checkboxes site-wide.
   State tint via optional .notice/.warning/.error classes. */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25em;
    height: 1.25em;
    padding: 0;
    box-shadow: none;
    border: 1.5px solid #9e9e9e;
    border-radius: 3px;
    background-color: white;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    margin: 0 0.5em 0 0;
    flex-shrink: 0;
    transition: background-color 0.15s, border-color 0.15s;
}

input[type="checkbox"]:checked {
    background-color: #0e5d78;
    border-color: #0e5d78;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='3,8 7,12 13,4'/></svg>");
    background-size: 80% 80%;
    background-position: center;
    background-repeat: no-repeat;
}

input[type="checkbox"].notice {
    background-color: #fafafa;
    border-color: #8a7560;
}
input[type="checkbox"].notice:checked {
    background-color: #8a7560;
    border-color: #8a7560;
}

input[type="checkbox"].warning {
    background-color: #faf1ce;
    border-color: #705b11;
}
input[type="checkbox"].warning:checked {
    background-color: #705b11;
    border-color: #705b11;
}

input[type="checkbox"].error {
    background-color: #e8c7cd;
    border-color: #511822;
}
input[type="checkbox"].error:checked {
    background-color: #511822;
    border-color: #511822;
}

input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Custom radio styling — applies to all radios site-wide.
   State tint via optional .notice/.warning/.error classes. */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25em;
    height: 1.25em;
    padding: 0;
    box-shadow: none;
    border: 1.5px solid #9e9e9e;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    margin: 0 0.5em 0 0;
    flex-shrink: 0;
    transition: background-color 0.15s, border-color 0.15s;
}

input[type="radio"]:checked {
    border-color: #0e5d78;
    background-color: white;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='4' fill='%230e5d78'/></svg>");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

input[type="radio"].notice {
    background-color: #fafafa;
    border-color: #8a7560;
}
input[type="radio"].notice:checked {
    border-color: #8a7560;
    background-color: #fafafa;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='4' fill='%238a7560'/></svg>");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

input[type="radio"].warning {
    background-color: #faf1ce;
    border-color: #705b11;
}
input[type="radio"].warning:checked {
    border-color: #705b11;
    background-color: #faf1ce;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='4' fill='%23705b11'/></svg>");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

input[type="radio"].error {
    background-color: #e8c7cd;
    border-color: #511822;
}
input[type="radio"].error:checked {
    border-color: #511822;
    background-color: #e8c7cd;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='4' fill='%23511822'/></svg>");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

input[type="radio"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
