
/* OZI CHECKBOX UI V1 */

/* Standard checkboxes only */
input[type="checkbox"]:not(.trip-select):not(.form-check-input) {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    padding: 0;
    margin: 0;
    flex: 0 0 18px;
    vertical-align: middle;
    accent-color: #12385d;
    cursor: pointer;
    box-shadow: none;
}

/* Consent checkbox alignment */
label:has(> input[type="checkbox"]),
label:has(input[type="checkbox"][required]) {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    line-height: 1.8;
}

/* Prevent global form-input rules from stretching checkboxes */
form input[type="checkbox"] {
    border-radius: 4px;
    font-size: initial;
}

/* Accessible keyboard focus */
input[type="checkbox"]:focus-visible {
    outline: 2px solid #087eae;
    outline-offset: 3px;
}

/* Mobile */
@media (max-width: 700px) {
    label:has(input[type="checkbox"][required]) {
        gap: 9px;
    }
}
