.atlas-search-form-wrapper{
  width:100%;
}

/* FORCE INLINE ROW */
.atlas-search-fields{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:stretch !important;
  width:100% !important;

  background:#ffffff;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 20px 45px rgba(0,0,0,.18);
}

/* RESET ELEMENTOR / THEME INPUT BEHAVIOR */
.atlas-search-fields > *{
  margin:0 !important;
  float:none !important;
}

/* UNIFIED HEIGHT */
.atlas-input,
.atlas-select,
.atlas-btn{
  height:64px !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* INPUT */
.atlas-search-fields .atlas-input{
  flex:1 1 auto !important;
  min-width:0 !important;
  width:auto !important;
  padding:0 22px !important;
  font-weight:400;
  font-size:15px;
}

/* CATEGORY (with subtle divider + hover/focus polish) */
.atlas-search-fields .atlas-select{
  flex:0 0 300px !important;
  width:300px !important;
  border-left:1px solid rgba(0,0,0,.10) !important;

  padding:0 56px 0 22px !important;
  font-weight:500;
  font-size:15px;

  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  background:#fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #6b7280 50%),
    linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position:
    calc(100% - 30px) 30px,
    calc(100% - 20px) 30px;
  background-size:8px 8px;
  background-repeat:no-repeat;

  transition: background-color .18s ease, box-shadow .18s ease;
}

.atlas-search-fields .atlas-select:hover{
  background-color: rgba(0,0,0,.02);
}

.atlas-search-fields .atlas-select:focus{
  background-color: rgba(0,0,0,.02);
  box-shadow: inset 0 0 0 2px rgba(220,38,38,.20);
  outline:none !important;
}

/* BUTTON (with subtle divider + micro-interactions) */
.atlas-search-fields .atlas-btn{
  flex:0 0 200px !important;
  width:200px !important;
  border-left:1px solid rgba(0,0,0,.10) !important;

  background:#dc2626 !important;
  color:#fff !important;
  font-weight:700;
  font-size:16px;
  letter-spacing:.4px;
  cursor:pointer;

  transition: filter .18s ease, transform .06s ease;
}

.atlas-search-fields .atlas-btn:hover{
  filter:brightness(.95);
}

.atlas-search-fields .atlas-btn:active{
  transform:translateY(1px);
}

/* FOCUS GLOW ON WHOLE GROUP */
.atlas-search-fields:focus-within{
  box-shadow:
    0 0 0 6px rgba(220,38,38,.2),
    0 20px 45px rgba(0,0,0,.18);
}

/* ============ MOBILE STACK ============ */
@media (max-width: 767px){

  .atlas-search-fields{
    flex-direction:column !important;
    border-radius:20px;
  }

  .atlas-search-fields .atlas-input,
  .atlas-search-fields .atlas-select,
  .atlas-search-fields .atlas-btn{
    width:100% !important;
    flex:0 0 auto !important;
    border-left:0 !important;
  }

  /* Mobile dividers (horizontal lines) */
  .atlas-search-fields .atlas-select{
    border-top:1px solid rgba(0,0,0,.10) !important;
  }

  .atlas-search-fields .atlas-btn{
    border-top:1px solid rgba(0,0,0,.10) !important;
    font-size:17px !important;
  }

  .atlas-input,
  .atlas-select,
  .atlas-btn{
    height:72px !important;
    font-size:14px !important;
  }

  .atlas-search-fields .atlas-input{
    padding:0 20px !important;
  }

  .atlas-search-fields .atlas-select{
    padding:0 60px 0 20px !important;
    background-position:
      calc(100% - 32px) 34px,
      calc(100% - 22px) 34px;
  }
}
