/* =========================================
   SHOWTIMEVEGAS LOCAL SEARCH WIDGET
========================================== */

.stv-local-search-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 24px auto;
  padding: 0 14px;
  box-sizing: border-box;
}

.stv-local-search {
  width: 100%;
  box-sizing: border-box;
}

.stv-local-search-panel {
  width: 100%;
  background: #000000;
  border: 3px solid #f99903;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  padding: 24px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
}

.stv-local-search-header {
  text-align: center;
  margin-bottom: 18px;
}

.stv-local-search-title {
  margin: 0 0 8px;
  color: #f99903;
  font-size: 24px;
  line-height: 1.2;
  font-weight: bold;
}

.stv-local-search-subtitle {
  max-width: 850px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
}

.stv-local-search-form {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr auto;
  gap: 14px;
  align-items: end;
  margin-top: 20px;
}

.stv-local-search-field {
  text-align: left;
}

.stv-local-search-field label {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
}

.stv-local-location,
.stv-local-radius,
.stv-local-category {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 2px solid #f99903;
  border-radius: 9px;
  background: #ffffff;
  color: #000000;
  font-size: 14px;
  box-sizing: border-box;
}

.stv-local-location:focus,
.stv-local-radius:focus,
.stv-local-category:focus {
  outline: 3px solid rgba(249,153,3,.35);
}

.stv-local-search-action {
  text-align: center;
}

.stv-local-search-btn {
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 9px;
  background: #0284c7;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.stv-local-search-btn:hover {
  background: #f99903;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

.stv-local-search-output {
  display: none;
  margin-top: 18px;
  padding: 12px;
  background: #111111;
  border: 1px solid #f99903;
  border-radius: 10px;
  text-align: left;
}

.stv-local-query-label {
  margin: 0 0 4px;
  color: #f99903;
  font-size: 13px;
  font-weight: bold;
}

.stv-local-query-text {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
}

.stv-local-search-links {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.stv-local-link {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 999px;
  background: #f99903;
  color: #000000 !important;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}

.stv-local-link:hover {
  background: #ffffff;
  color: #000000 !important;
  text-decoration: none;
}

.stv-local-search-note {
  max-width: 850px;
  margin: 16px auto 0;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

/* Tablet / iPhone Landscape */
@media screen and (max-width: 950px) {
  .stv-local-search-form {
    grid-template-columns: 1fr 1fr;
  }

  .stv-local-search-action {
    grid-column: 1 / -1;
  }

  .stv-local-search-btn {
    width: 100%;
  }
}

/* iPhone Portrait */
@media screen and (max-width: 600px) {
  .stv-local-search-wrap {
    padding: 0 10px;
  }

  .stv-local-search-panel {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .stv-local-search-title {
    font-size: 20px;
  }

  .stv-local-search-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stv-local-location,
  .stv-local-radius,
  .stv-local-category,
  .stv-local-search-btn {
    font-size: 14px;
    min-height: 44px;
  }

  .stv-local-search-links {
    flex-direction: column;
    align-items: stretch;
  }

  .stv-local-link {
    text-align: center;
  }
}