/* static/css/components/forms.css */

.form-container p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-container > button {
    align-self: center;
}

.form-container label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-container input,
.form-container textarea {
    width: 100%;       /* Set the width you want */
    padding: 0.5rem 1rem;
    border: 1px solid #aaa;
    border-radius: 0.5rem;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    box-sizing: border-box;
}

.form-container textarea {
    min-height: 3rem;        /* About 3 lines tall */
    resize: none;           /* Prevent manual resizing */
}

.form-group {
    margin-bottom: 0.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-group ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.form-group li {
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
}

.form-group input[type="radio"] {
    width: auto;
    margin-right: 0.5em;
}

.custom-multichoice {
    display: flex;
    flex-direction: column;  /* or row for inline */
    gap: 0.5rem;

}

.custom-multichoice label {
    font-weight: normal !important;
}

.custom-multichoice-option input[type="checkbox"] {
    /* Optional: Make checkboxes round */
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #333;
    border-radius: 50%;
    width: 0.5rem;
    height: 1rem;
    vertical-align: middle;
    margin-right: 8px;
    outline: none;
    background: #fff;
}

.custom-multichoice-option input[type="checkbox"]:checked {
    background-color: #4184f3;
    border-color: #4184f3;
    box-shadow: 0 0 2px #4184f3;
}

.custom-multichoice-option {
    font-size: 1rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    font-weight: normal !important;
}

.errorlist {
    color: var(--colour-action-text-neutral);
    margin: 0.25rem 0rem 0.25rem 0rem;
}

.form-btn-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0rem 0rem 0rem 0rem;
}