.hidden {
    display: none;
}

.multi-enquiry-form-wrapper {
    position: relative;
    z-index: 2;
}


.modern-enquiry-form,
.multi-enquiry-form-wrapper .clockwork-form-recruitment {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 30px;
    background: #005DA5;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
    color: #fff;
    position: relative;
    z-index: 2;
}

.multi-enquiry-form-wrapper .clockwork-form-recruitment a {
    color: #FFB703;
}

.multi-enquiry-form-wrapper .clockwork-form-recruitment {
    display: none;
}

.multi-enquiry-form-wrapper .clockwork-form-recruitment .creato_contact_form.creato_cf_vacancy form {
    text-align: center;
}

.multi-enquiry-form-wrapper .clockwork-form-recruitment .creato_contact_form.creato_cf_vacancy form .contact-row.contact-row-contact_recaptcha {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.multi-enquiry-form-wrapper .clockwork-form-recruitment .form_title,
.multi-enquiry-form-wrapper .clockwork-form-recruitment .form_desc {
    text-align: center;
}

.modern-enquiry-form.clockwork-enquiry-form-home {
    padding: 20px 30px;
}

.clockwork-enquiry-form-header {
    display: flex;
    align-items: center;
    gap: 20px 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.clockwork-enquiry-form-header h2{
  font-size: 28px !important;
}

.clockwork-enquiry-form-header.column {
    flex-direction: column;
}

/*
.clockwork-enquiry-form-home .clockwork-form-body {
    display: none;
}
*/

.clockwork-enquiry-form .clockwork-form-body {
    display: block;
}

.clockwork-form-group:has(textarea) {
    width: 100%;
}

.clockwork-form-footer {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    justify-content: center;
    justify-items: center;
    align-items: center;
    margin-top: 2em;
}

.radio-group-outer {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.form-title {
    color: white;
}

.clockwork-form-body-inner {
    display: flex;
    gap: 20px 30px;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 40px 0 0;
}

.clockwork-enquiry-form-home .clockwork-form-body-inner {
    padding: 40px 0 40px;
}

.form-group {
    flex: 0 0 calc(50% - 15px);
}

.form-label {
    display: block;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.form-label[for="name"],
.form-label[for="email"],
.form-label[for="phone"],
.form-label[for="from-address"],
.form-label[for="to-address"],
.form-label[for="branch"],
.form-label[for="date-of-move"],
.form-label[for="friend-name"],
.form-label[for="friend-reference-number"] {
    display: none;
}

.success-message {
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 1em;
    font-size: 1.2em;
}


.form-label[for="date-of-move"] {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(21, 40, 72, 0.44);
    transition: opacity 0.2s;
    display: inline-block;
    background: #fff;
    width: 110px;
    font-size: 16px;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 400;
    display: block;
}

input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

input[type="date"]#date-of-move {
    text-align: left !important;
    -webkit-text-align: left !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="date"]#date-of-move:focus ~ .form-label[for="date-of-move"],
input[type="date"]#date-of-move:valid ~ .form-label[for="date-of-move"] {
  opacity: 0;
}


.form-control {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 1);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    line-height: 1;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: rgba(21, 40, 72, 0.44);
    -webkit-appearance: none;
    min-height: 49px;
}

.form-control.error {
    outline: 2px solid #e02727;
    outline-offset: -1px;
}

.form-control::placeholder {
    line-height: 1;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: rgba(21, 40, 72, 0.44);
}

.form-control:focus {
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

select.form-control {
    background-image: url('../../images/dropdown-arrow.svg');
    background-size: 14px;
    background-position: top 50% right 20px;
    background-repeat: no-repeat;
    line-height: 1.2;
     padding: 14px 20px 16px;
}

.radio-group {
    display: flex;
    gap: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.radio-item {
    flex-grow: 1;
}

.radio-label {
    display: block;
    padding: 15px 15px;
    box-sizing: border-box;
    background: #FFB703;
    border: 2px solid #FFB703;
    border-radius: 60px;
    color: #152849;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    font-weight: 500;
    font-size: 16px;
    width: 200px;
    max-width: 100%;
    opacity: 1
}

.radio-input {
    display: none;
}

/* Dim unselected labels ONLY if at least one is checked */
.radio-group:has(.radio-input:checked) .radio-input:not(:checked)+.radio-label {
    opacity: 0.5;
}

.radio-label:hover {
    opacity: 1;
}

.submit-btn {
    flex: 0 0 calc(50% - 15px);
    width: 100%;
    padding: 15px 20px;
    background: #FFB703;
    color: #152848;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    line-height: 1;
    font-family: 'Roboto', 'Arial', sans-serif;
}

.submit-btn.submitting {
    min-width: 170px;
}

.submit-btn.submitting::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    background-image: url('../../images/clockwork-loading.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

/* .submit-btn.submitting::after {
    content: 'Submitting...';
    animation: dots 1.5s infinite;
}
 */

.submit-btn:hover {
    background: #152849;
    color: #fff;
}

.required-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.clockwork-enquiry-form-home {
    position: relative;
    z-index: 100;
    top: -150px;
    margin-bottom: -150px;
}

.page-content-6 .clockwork-enquiry-form-home {
    top: -15vw;
    margin-bottom: -15vw;
}

.grey-bg-full .clockwork-enquiry-form {
    position: relative;
    top: -200px;
    margin-top: 200px;
    margin-bottom: -200px;
}

.clockwork-enquiry-form-home .clockwork-form-body-inner .form-group:nth-child(2) {
  display: none;
}

@media (max-width: 950px) {
    .clockwork-enquiry-form-header {
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .form-group,
    .submit-btn {
        flex: 0 0 100%;
    }
}

@media (max-width: 550px) {
    .radio-label {
        width: unset;
        flex: 0 0 100%;
    }

    .radio-group,
    .radio-item {
        flex: 0 0 100%;
    }

    .modern-enquiry-form,
    .modern-enquiry-form.clockwork-enquiry-form-home {
        padding: 20px;
    }
}

@keyframes dots {

    0%,
    20% {
        content: 'Submitting';
    }

    40% {
        content: 'Submitting.';
    }

    60% {
        content: 'Submitting..';
    }

    80%,
    100% {
        content: 'Submitting...';
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}