.homz-zip-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.homz-zip-field {
    position: relative;
    background: #fff;
    border-radius: 40px;
    padding: 10px 60px 10px 20px;
    border: 2px solid #ddd;
    transition: border 0.3s ease;
    font-family: var( --e-global-typography-text-font-family ), Sans-serif;
}

.homz-zip-field.focused {
    border-color: #2f6df6;
}

.homz-zip-field label {
    position: absolute;
    left: 20px;
    top: 23px;
    color: #888;
    transition: all 0.25s ease;
    pointer-events: none;
    color: var( --e-global-color-secondary );
    font-size: 18px;
}

/*label option 1*/
/* .homz-zip-field.active label {
    top: 6px;
    font-size: 12px;
    color: #2f6df6;
} */


/*label option 2*/
.homz-zip-field.active label {
    top: -10px;
    font-size: 12px;
    color: #fff;
    background: #0057ff;
    padding: 5px 10px;
    border-radius: 50px;
}

#homz_zip_input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 18px;
    background: transparent;
    padding: .5rem 0rem;
}

.homz-zip-locked {
  background: #f3f3f3;
  pointer-events: none;
}


.homz-zip-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 60px;
    height: 45px;
    border-radius: 50px;
    border: none;
    background: var( --e-global-color-primary );
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s ease;
}
.homz-zip-btn:hover{
    background: var( --e-global-color-secondary );
}


.homz-zip-btn.enabled {
    opacity: 1;
}

.homz-zip-verified {
    position: absolute;
    right: 80px;
    top: 18px;
    color: #28c76f;
    display: none;
}

.homz-zip-verified svg {
    width: 24px;
    height: 24px;
}

.homz-zip-location {
    margin-top: 5px;
    font-size: 16px;
    color: #2f6df6;
    text-align: center;
}

.homz-loader-wrapper {
    margin-top: 30px;
}

.homz-loader-bar {
    width: 100%;
    height: 20px;
    background: #eee;
    border-radius: 20px;
    overflow: hidden;
}

.homz-loader-progress {
    width: 0%;
    height: 100%;
    background: #2f6df6;
    transition: width 4s cubic-bezier(0.65, 0, 0.35, 1);
}

#main_form .e-form__step:nth-child(2):not(.elementor-hidden) 
.e-form__buttons {
    display: none !important;
}
#main_form .e-form__step:nth-child(5):not(.elementor-hidden) 
.e-form__buttons {
    opacity: 0 !important;
    pointer-events: none !important;
}


.homz-loader-text {
    margin-top: 15px;
    font-size: 15px;
    color: #666;
}

.homz-loader-wrapper{
  width:100%;
  max-width: 640px;
  margin-left:auto;
  margin-right:auto;
  box-sizing:border-box;
}

/* form css */
#main_form h2{
    color: var(--e-global-color-secondary);
}

#main_form .e-form__buttons{
    margin-top: 50px;
}
#main_form .elementor-field-type-textarea {
    margin: 50px 0 !important;
}

#main_form a{color: var(--e-global-color-primary);}
#main_form a:hover{color: var(--e-global-color-secondary);}



/********************** autocomplete dropdown *************************/
.homz-autocomplete-dropdown {
    position: absolute;
    top: 50px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: 6px;
    z-index: 9999;
    max-height: 260px;
    overflow-y: auto;
}

.homz-autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
}

.homz-autocomplete-item:hover {
    background: #f3f6ff;
}



/* Responsive adjustments */
@media (max-width: 480px){
  .homz-loader-text{ font-size:14px; }
  .homz-loader-bar{ height:8px; }
    .homz-zip-field label{font-size: 16px; top:24px;} 
}
