/* General Error Message Styles */
.error-message {
    color: #dc3545; /* Bootstrap's danger color */
    font-size: 0.9em;
    margin-top: 10px;
    display: none; /* Hidden by default */
}

/* Animation for Step Transitions */
.zoom-out {
    animation: zoomOut 0.3s forwards;
}

.zoom-in {
    animation: zoomIn 0.3s forwards;
}

@keyframes zoomOut {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0.8);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

/* Red Border for Invalid Fields */
.red_border {
    border: 2px solid #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
    padding: 10px;
    border-radius: 5px !important;
    box-sizing: border-box;
    transition: border 0.3s ease, background-color 0.3s ease;
}

/* Button Group Styles */
.formify-forms__button {
    display: flex;
    gap: 10px;
    width: 100%;
}

.formify-forms__button .formify-btn {
    flex: 1;
    height: 50px;
    box-sizing: border-box;
    cursor: pointer;
}

.formify-forms__button .hide {
    display: none;
}

.formify-forms__button .prev-step.hide + .next-step {
    flex: 1;
    margin-right: auto;
}

/* Styles for intl-tel-input */
.iti {
    width: 100%;
}

.iti__flag-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

#phone {
    padding-left: 50px;
    width: 100%;
}

/* Style for Zip Code Validation Message */
#zipValidationMessage {
    margin-top: 5px;
    font-size: 0.9em;
    display: none;
}

/* Style the checkbox in the #final_step */
#final_step input[type="checkbox"] {
    width: 30px;
    height: 30px;
    float: left;
    margin-right: 10px;
    vertical-align: middle;
    background-color: #ECEAFF;
    border: 1px solid #D0D5DD;
    border-radius: 4px;
    position: relative;
}

/* Fix label for the checkbox in #final_step */
#final_step .formify-forms__checkbox label {
    font-size: 13px;
    line-height: 1.2;
    display: inline-block;
    margin-left: 10px;
    position: relative;
}

/* Wrap text around the checkbox */
#final_step .formify-forms__checkbox {
    display: flex;
    align-items: flex-start;
}

/* Ensure links inside the checkbox label are displayed inline */
#final_step .formify-forms__checkbox label a {
    display: inline;
    text-decoration: underline;
    color: inherit;
}

/* Style for textarea in final step */
#final_step textarea {
    min-height: 130px !important;
}

/* Style for checkbox error */
.checkbox-error {
    border: 2px solid #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
    padding: 10px;
    border-radius: 5px !important;
    box-sizing: border-box;
    transition: border 0.3s ease, background-color 0.3s ease;
}

/* Style for Checkbox Validation Message */
#checkboxValidationMessage {
    margin-top: 5px;
    font-size: 0.9em;
    display: none;
    color: #dc3545;
}

/* Styles for nice-select */
.nice-select {
    position: relative;
    z-index: 999;
    cursor: pointer;
    width: 100%;
}

.nice-select ul {
    z-index: 1000;
}

/* Ensure the select and nice-select take full width */
.form-group__flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.form-group__flex select,
.nice-select {
    width: 100%;
}

.nice-select {
    min-width: 200px;
}

.nice-select.red_border {
    border: 2px solid #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
    border-radius: 5px !important;
}

.nice-select {
    cursor: pointer;
}

/* Spinner Container Styles */
.spinner-container {
    background-color: rgba(255, 255, 255, 1);
    padding: 10px 20px;
}

/* Spinner Icon Styles */
.spinner-icon {
    color: #107EEB;
}

/* Media Query for Large Screens (Desktops) */
@media (min-width: 1200px) {
    .formify-form__inner {
        gap: 0;
    }

    .formify-form__area.formify-form__area--v11 {
        max-width: 800px;
        width: 100%;
        margin: 0 auto;
    }
}

/* Media Query for Medium Screens (Tablets and Small Desktops) */
@media (min-width: 992px) and (max-width: 1199px) {
    .formify-form__inner--v11 {
        padding-top: 30px;
    }

    .formify-form__area.formify-form__area--v11 {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }

    .formify-form__banner--title {
        font-size: 35px;
        line-height: 45px;
    }
}

/* Media Query for Small Screens (Tablets and Large Phones) */
@media (min-width: 768px) and (max-width: 991px) {
    .formify-form__inner--v11 {
        padding-top: 30px;
    }

    .formify-form__area.formify-form__area--v11 {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }

    .formify-form__banner--title {
        font-size: 30px;
        line-height: 40px;
    }
}

/* Media Query for Mobile Screens */
@media only screen and (max-width: 767px) {
    .formify-form__inner--v11 {
        padding: 7px;
    }

    .formify-form__area {
        padding: 10px !important;
    }

    .formify-forms__input--quiz-label {
        padding-left: 13px;
        height: 60px;
    }

    .hide_sml {
        display: none !important;
    }

    .formify-form__banner--title {
        font-size: 25px;
        line-height: 35px;
    }

    h3.formify-form__banner--title {
        font-size: 1.5rem;
        line-height: 28px;
    }

    .formify-form__layout--column {
        margin-bottom: 30px;
        margin-right: 10px;
    }

    #icon_valid_size {
        width: 30px;
        height: 30px;
        background-color: #28a745;
        border-radius: 50%;
        display: inline-block;
        position: relative;
    }

    .formify-forms .form-group {
        margin-top: 5px;
    }

    .formify-forms input, .formify-forms textarea, .formify-forms select, .formify-forms .nice-select {
        padding: 5px 8px 5px 8px;
    }
}

/* Centered Icon Container Styles */
.centered-icon-container {
    position: relative;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.line {
    width: 100%;
    height: 2px;
    background-color: #ccc;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.icon-wrapper {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 0 10px;
}

.icon-wrapper i {
    font-size: 40px;
    color: #333;
}

/* Checklist Info Styles */
.checklist-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
    margin-top: 20px;
}

.checklist-info .icon {
    color: #107EEB;
    font-size: 1.2rem;
}

#icon_valid_size {
    width: 50px;
    height: 50px;
    background-color: #28a745;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.brand-img {
    max-width: 250px;
    margin: 0 auto;
}

/* sm */
@media (min-width: 576px) {
}

/* md */
@media (min-width: 768px) {
}

/* lg */
@media (min-width: 992px) {
}

/* xl */
@media (min-width: 1200px) {
    .d-lg-none {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .form_logo_footer {
        display: none
    }
}

/* xxl */
@media (min-width: 1400px) {
}

.div-block-9 {
    box-sizing: border-box;
    text-align: left;
    align-self: center;
    align-items: center;
    padding-bottom: 20px;
    display: flex;
    justify-content: center; /* centers content horizontally */
}

.form_title {
    box-sizing: border-box;
    transition: all .3s ease;
    position: relative;
    margin-top: 10px;
    text-transform: uppercase;
    margin-bottom: 0;
    text-align: center;
    font-weight: bold;
}