/* Custom styles for Hero form */

.cs_hero_zip_form {
    margin: 0 auto 30px 0;
    background: var(--white-color);
    border-radius: 40px;
    padding: 6px 6px 6px 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background: var(--lightest-color);
}

.cs_hero_zip_form select.form-select,
.cs_hero_zip_form input.form-control {
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    color: var(--gray-color3);
}

.cs_hero_zip_form select.form-select:focus,
.cs_hero_zip_form input.form-control:focus {
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .cs_hero_zip_form {
        flex-direction: column !important;
        align-items: stretch !important;
        border-radius: 20px !important;
        padding: 16px !important;
        gap: 8px !important;
    }

    .cs_hero_zip_form .cs_divider {
        display: none !important;
    }

    .cs_hero_zip_form .cs_zip_field_wrapper,
    .cs_hero_zip_form .cs_service_field_wrapper {
        flex: 1 1 auto !important;
        width: 100% !important;
        padding: 8px 12px !important;
        margin-bottom: 8px !important;
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 12px !important;
    }

    .cs_hero_zip_form button {
        width: 100% !important;
        padding: 16px 24px !important;
        margin-top: 4px !important;
        border-radius: 12px !important;
    }
}