/* Form fields */
.ehrm-form label {
    font-size: 14px;
    color: #026fd0;
    margin-bottom: 12px;
    display: block;
}

.ehrm-form input.hs-input, .ehrm-form select.hs-input, .ehrm-form textarea.hs-input {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-family: "Libre Franklin", sans-serif;
    font-size: 16px;
}

.ehrm-form textarea.hs-input {
    min-height: 128px;
}

.ehrm-form .hs-form-field {
    margin-bottom: 32px;
}

/* Radio Buttons & Checkboxes Style */
.hs-form-booleancheckbox-display {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 16px;
}

.hs-form-booleancheckbox-display input[type="radio"], 
.hs-form-booleancheckbox-display input[type="checkbox"] {
    display: none;
}

.hs-form-booleancheckbox-display input[type="radio"] + span::before,
.hs-form-booleancheckbox-display input[type="checkbox"] + span::before {
    background-color: #ffffff;
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 8px solid #ffffff;
    border-radius: 1000px;
    margin-right: 10px;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.hs-form-booleancheckbox-display input[type="radio"]:checked + span::before,
.hs-form-booleancheckbox-display input[type="checkbox"]:checked + span::before {
    background-color: #026fd0;
    border: 8px solid #ffffff;
}

.hs-form-booleancheckbox-display input[type="radio"]:focus + span::before,
.hs-form-booleancheckbox-display input[type="checkbox"]:focus + span::before {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

.hs-form-booleancheckbox-display span p {
    margin: 0;
}

/* Layout Adjustments */
.ehrm-form fieldset.form-columns-2 {
    display: flex;
    gap: 16px;
        padding:0;
    margin:0;
}

.ehrm-form fieldset.form-columns-1 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border:none;
    padding:0;
    margin:0;
}

.actions {
    margin-top: 24px;
}

.ehrm-form .hs-button {
    background-color: #026fd0;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.1s ease-in;
}

.ehrm-form .hs-button:hover {
    background-color: #035693;
}

.legal-consent-container {
    margin-top: -16px;
}
/* Adjust the layout for the specific fields to be in one row */
.ehrm-form .form-columns-3 {
    display: flex;
    gap: 16px;
    border: none;
        padding:0;
    margin:0;
}

.ehrm-form .form-columns-3 .hs-form-field {
    flex: 1 1 33%; /* Ensure each field takes up 33% of the row */
    box-sizing: border-box;
}

.ehrm-form .required {
    color: #d32f2f;
    font-weight: 700;
}

#jobApplicationForm > fieldset.form-columns-1 > div.legal-consent-container > label > span {
    margin-left:0px;
}
#cv {
    padding-left:0px;
}
#loadingMessage {
    display: none;
    font-size: 14px;
    color: #026fd0;
    margin-left: 10px;
}