/* FormAssembly Form Styling */
.form-assembly-wrapper .hintsBelow.labelsAbove {
    text-align: left;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    font-family: CircularXX TT, sans-serif;
    font-weight: 450;
    font-size: 14px;
    line-height: 150%;
    color: rgba(12, 25, 55, 1);
}

.form-assembly-wrapper .hintsBelow.labelsAbove .oneField {
    all: unset;
    position: relative;
    width: 100%;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .oneField.field-container-D {
    width: calc(50% - 12px);
}

.form-assembly-wrapper .hintsBelow.labelsAbove label {
    all: unset;
    position: absolute;
    z-index: 9;
    top: 25px;
    transform: translateY(-50%);
    left: 16px;
    background: #fff;
    padding: 0 4px;
    color: rgba(180, 184, 193, 1);
    font-family: CircularXX TT, sans-serif;
    pointer-events: none;
    font-weight: 450;
    font-size: 14px;
    line-height: 150%;
    text-align: left;
    transition: 0.3s all;
    display: flex;
    justify-content: flex-start;
    align-items: end;
    gap: 4px;
    /* width: 100%; */
    /* max-width: calc(100% - 30px); */
}

.form-assembly-wrapper .hintsBelow.labelsAbove .oneField:has(input:focus, select:focus, select.active, input.active) label{
    display: flex;
    top: 10px;
    transform: translateY(-19px);
    font-size: 12px;
    color: rgba(138, 147, 172, 1);
}

.form-assembly-wrapper .wFormContainer .wForm .inputWrapper input[type="text"],
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper input[type="email"],
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper input[type="tel"],
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper input[type="date"],
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper select,
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper textarea {
    all: unset;
    text-align: left;
    width: 100%;
    padding: 14px 16px !important;
    border: 1px solid rgba(180, 184, 193, 1) !important;
    border-radius: 8px !important;
    font-family: CircularXX TT, sans-serif;
    font-weight: 450;
    font-size: 14px;
    line-height: 150%;
    color: rgba(12, 25, 55, 1);
}

.form-assembly-wrapper .hintsBelow.labelsAbove input:focus-visible,
.form-assembly-wrapper .hintsBelow.labelsAbove select:focus-visible,
.form-assembly-wrapper .hintsBelow.labelsAbove textarea:focus-visible {
    outline: none;
}

.form-assembly-wrapper .hintsBelow.labelsAbove select {
    padding-right: 32px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%238A93AC' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.form-assembly-wrapper .hintsBelow.labelsAbove select option {
    color: #000;
}

.form-assembly-wrapper .hintsBelow.labelsAbove select option:first-child {
    display: none;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .primaryAction {
    padding: 14px 24px;
    background: rgba(231, 232, 235, 1);
    width: fit-content;
    height: 48px;
    border-radius: 24px;
    font-family: CircularXX TT, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    color: rgba(138, 147, 172, 1);
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 0;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .primaryAction:hover {
    opacity: 0.8;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .choices.vertical {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .choices.vertical input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    min-width: 20px;
    height: 20px;
    border: 1px solid rgba(180, 184, 193, 1) !important;
    border-radius: 4px;
    margin: 0;
    cursor: pointer;
}

.form-assembly-wrapper .wFormContainer .wForm .inputWrapper input:not([type="file"]):not(.tt-hint):read-only {
    background-color: rgba(245, 246, 248, 1) !important;
    border: 1px solid rgba(180, 184, 193, 1) !important;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .choices.vertical input[type="checkbox"]:checked {
    background-color: rgba(0, 21, 74, 1) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4.5 7.5L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    border-color: rgba(0, 21, 74, 1) !important;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .choices.vertical label {
    position: static;
    transform: none;
    background: none;
    padding: 0;
    color: rgba(12, 25, 55, 1);
    pointer-events: auto;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .choices.vertical label a {
    text-decoration: none;
    color: rgba(0, 21, 74, 1);
}

.form-assembly-wrapper .hintsBelow.labelsAbove .choices.vertical label a:hover {
    text-decoration: underline;
    color: rgb(34, 129, 170);
}

/* Date input specific styles */
.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"] {
    position: relative;
    color: rgba(12, 25, 55, 1);
}

.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"]::-webkit-datetime-edit {
    padding: 0;
}

.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"]::-webkit-datetime-edit-text {
    padding: 0 2px;
}

.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"]::-webkit-datetime-edit-month-field,
.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"]::-webkit-datetime-edit-day-field,
.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"]::-webkit-datetime-edit-year-field {
    padding: 0 2px;
}

.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"]:in-range::-webkit-datetime-edit-year-field,
.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"]:in-range::-webkit-datetime-edit-month-field,
.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"]:in-range::-webkit-datetime-edit-day-field,
.form-assembly-wrapper .hintsBelow.labelsAbove input[type="date"]:in-range::-webkit-datetime-edit-text {
    color: rgba(12, 25, 55, 1);
}


.form-assembly-wrapper .wFormContainer .wForm .wFormTitle {
    font-family: Larken;
    font-weight: 400;
    font-size: 40px;
    line-height: 103%;
    text-align: left;
    vertical-align: middle;
    color: rgba(12, 25, 55, 1);
}

/* Error message styling */
.form-assembly-wrapper .wFormContainer .wForm .errMsg {
    color: rgba(217, 76, 73, 1);
    font-size: 12px;
    margin-top: 5px;
    text-align: left;
}

.form-assembly-wrapper .wFormContainer .wForm .inputWrapper input.error,
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper textarea.error,
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper select.error {
    border: 1px solid rgba(217, 76, 73, 1) !important;
}

.form-assembly-wrapper .wFormContainer .wForm .inputWrapper textarea:focus, 
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper textarea.required:focus, 
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper input[type="text"]:focus, 
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper input[type="text"].required:focus, 
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper input[type="password"]:focus, 
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper input[type="password"].required:focus, 
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper select:focus, 
.form-assembly-wrapper .wFormContainer .wForm .inputWrapper select.required:focus {
    border: 1px solid rgba(180, 184, 193, 1) !important;
}


.form-assembly-wrapper .hintsBelow.labelsAbove .inputWrapper:has(select) {
    width: 100%;
    max-height: 50px;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .inputWrapper select{
    width: 100%;
    max-width: 100%;
    height: 100% !important;
    padding: 25px 16px;
    box-sizing: border-box;
    max-height: 50px;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .inputWrapper:has(input.validate-email),
.form-assembly-wrapper .hintsBelow.labelsAbove .inputWrapper:has(input.validate-integer) {
    width: 100%;
    height: 50px;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .inputWrapper input.validate-email,
.form-assembly-wrapper .hintsBelow.labelsAbove .inputWrapper input.validate-integer {
    width: 100%;
    max-width: 100%;
    height: 100% !important;
    padding: 25px 16px;
    box-sizing: border-box;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .oneField.field-container-D[role="group"] {
    width: 100%;
}

.form-assembly-wrapper .wForm form .vertical > .oneChoice {
    display: flex;
    gap: 12px;
}

.form-assembly-wrapper .wForm form .vertical > .oneChoice label {
 
}


.form-assembly-wrapper .wForm form .vertical > .oneChoice label {
    display: block !important;
    transform: unset !important;
    font-size: 14px !important;
}

.form-assembly-wrapper .hintsBelow.labelsAbove .oneField.field-container-D:has(.errMsg) label{
    /* top: calc(50% - 14px); */
}

.form-assembly-wrapper .hintsBelow.labelsAbove .oneField:has(.errMsg):has(input:focus, select:focus, input.active) label{
    top: calc(50% - 28px);
}

.form-assembly-wrapper .hintsBelow.labelsAbove .oneField:has(.errMsg):has(select.active) label{
    top: calc(50% - 28px);
}


.form-assembly-wrapper .hintsBelow.labelsAbove .choices.vertical label a{
    word-break: break-all;
}


.form-assembly-wrapper br,
.form-assembly-wrapper .wFormContainer .wFormHeader,
.form-assembly-wrapper .wFormContainer .wFormFooter,
.form-assembly-wrapper .wFormContainer .supportInfo {
    display: none;
}

@media (max-width: 992px) {
    .form-assembly-wrapper .hintsBelow.labelsAbove {
        flex-direction: column;
        padding: 0;
    }

    .form-assembly-wrapper .wFormContainer .wForm .wFormTitle {
        padding: 0 !important;
        margin-bottom: 24px;
    }
    .form-assembly-wrapper .hintsBelow.labelsAbove .oneField.field-container-D {
        width: 100%;
    }

    .form-assembly-wrapper .wForm .inputWrapper {
        width: calc(100% - 36px);
    }

}
