/* Bid2Stay 28.14.1 — Find Card Compact Cleanup */

/* Clean the actual stay search card without changing form logic */
body.b2s30-discovery-page #b2s2039Search{
  border-radius:18px!important;
  padding:18px!important;
  background:#ffffff!important;
  border:1px solid #e0e5eb!important;
  box-shadow:0 10px 28px rgba(15,23,42,.07)!important;
}

body.b2s30-discovery-page #b2s2039Search .b2s28414-stay-type,
body.b2s30-discovery-page #b2s2039Search .b2s2039-stay-type{
  grid-column:1/-1!important;
  margin:0 0 14px!important;
}

body.b2s30-discovery-page #b2s2039Search .b2s28414-stay-type > label,
body.b2s30-discovery-page #b2s2039Search .b2s2039-stay-type > label,
body.b2s30-discovery-page #b2s2039Search legend{
  display:block!important;
  margin:0 0 10px!important;
  color:#344054!important;
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:900!important;
}

/* Canonical two-button selector */
body.b2s30-discovery-page #b2s2039Search .b2s28414-stay-choice,
body.b2s30-discovery-page #b2s2039Search .b2s2039-stay-choice{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

body.b2s30-discovery-page #b2s2039Search .b2s28414-stay-choice label,
body.b2s30-discovery-page #b2s2039Search .b2s2039-stay-choice label{
  display:block!important;
  margin:0!important;
  padding:0!important;
  min-width:0!important;
  cursor:pointer;
}

body.b2s30-discovery-page #b2s2039Search .b2s28414-stay-choice input,
body.b2s30-discovery-page #b2s2039Search .b2s2039-stay-choice input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
  width:1px!important;
  height:1px!important;
}

body.b2s30-discovery-page #b2s2039Search .b2s28414-stay-choice span,
body.b2s30-discovery-page #b2s2039Search .b2s2039-stay-choice span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:46px!important;
  height:46px!important;
  padding:0 14px!important;
  border:1px solid #d9e0e7!important;
  border-radius:11px!important;
  background:#f8fafc!important;
  color:#475467!important;
  -webkit-text-fill-color:#475467!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:900!important;
  text-align:center!important;
  white-space:normal!important;
  box-shadow:none!important;
}

body.b2s30-discovery-page #b2s2039Search .b2s28414-stay-choice input:checked + span,
body.b2s30-discovery-page #b2s2039Search .b2s2039-stay-choice input:checked + span,
body.b2s30-discovery-page #b2s2039Search .b2s28414-stay-choice label:has(input:checked) span,
body.b2s30-discovery-page #b2s2039Search .b2s2039-stay-choice label:has(input:checked) span{
  background:#111923!important;
  border-color:#111923!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  box-shadow:0 4px 12px rgba(17,25,35,.12)!important;
}

/* Destination and remaining fields */
body.b2s30-discovery-page #b2s2039Search label{
  color:#344054!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:900!important;
}

body.b2s30-discovery-page #b2s2039Search input:not([type="checkbox"]):not([type="radio"]),
body.b2s30-discovery-page #b2s2039Search select{
  min-height:46px!important;
  height:46px!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#172033!important;
  -webkit-text-fill-color:#172033!important;
  border-color:#d9e0e7!important;
  font-size:14px!important;
}

body.b2s30-discovery-page #b2s2039Search .b2s2039-grid,
body.b2s30-discovery-page #b2s2039Search .form-grid{
  gap:12px!important;
}

@media(max-width:760px){
  body.b2s30-discovery-page #b2s2039Search{
    padding:12px!important;
    border-radius:14px!important;
  }

  body.b2s30-discovery-page #b2s2039Search .b2s28414-stay-type > label,
  body.b2s30-discovery-page #b2s2039Search .b2s2039-stay-type > label,
  body.b2s30-discovery-page #b2s2039Search legend{
    margin-bottom:7px!important;
    font-size:14px!important;
  }

  body.b2s30-discovery-page #b2s2039Search .b2s28414-stay-choice,
  body.b2s30-discovery-page #b2s2039Search .b2s2039-stay-choice{
    gap:5px!important;
  }

  body.b2s30-discovery-page #b2s2039Search .b2s28414-stay-choice span,
  body.b2s30-discovery-page #b2s2039Search .b2s2039-stay-choice span{
    min-height:40px!important;
    height:40px!important;
    padding:0 8px!important;
    border-radius:9px!important;
    font-size:11.5px!important;
  }

  body.b2s30-discovery-page #b2s2039Search input:not([type="checkbox"]):not([type="radio"]),
  body.b2s30-discovery-page #b2s2039Search select{
    min-height:44px!important;
    height:44px!important;
    font-size:15px!important;
  }
}
