/* =========================================================
   FixAlways — Global Theme
========================================================= */

:root {
  --bg: #070b14;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --muted2: rgba(255, 255, 255, 0.55);
  --accent: rgba(124, 220, 255, 0.90);
  --accentBg: rgba(124, 220, 255, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 15% 0%, rgba(124, 220, 255, 0.14), transparent 55%),
              radial-gradient(1200px 700px at 85% 15%, rgba(186, 124, 255, 0.12), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.45;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   Layout
========================================================= */

.siteMain {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 50px;
}

.section {
  margin-top: 26px;
}

.sectionTight {
  margin-top: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =========================================================
   Header
========================================================= */

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 20, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.headerInner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
}

.brandLink {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 950;
}

.brandMark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.brandName {
  font-size: 15px;
}

.brandBadge {
  font-size: 12px;
  color: var(--muted2);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

.nav {
  display: flex;
  gap: 14px;
  margin-left: 10px;
}

.navLink {
  color: var(--muted);
  font-weight: 850;
  font-size: 13px;
}

.headerSearch {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =========================================================
   Inputs + Buttons
========================================================= */

.input,
.select {
  height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.select {
  cursor: pointer;
}

.select option {
  background: #0b1020;
  color: white;
}

.btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 950;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.07);
}

.btnPrimary {
  background: rgba(124, 220, 255, 0.16);
  border-color: rgba(124, 220, 255, 0.25);
}

.btnPrimary:hover {
  background: rgba(124, 220, 255, 0.22);
}

.btnGhost {
  background: rgba(255, 255, 255, 0.03);
}

.btnFull {
  width: 100%;
}

.btnPill,
.selectPill,
.inputPill {
  border-radius: 999px;
}

/* smaller buttons used inside listings */
.btnSmall {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
}

/* =========================================================
   Hero + Quote panel
========================================================= */

.heroWrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 980px) {
  .headerInner {
    flex-wrap: wrap;
  }
  .brand {
    min-width: auto;
  }
  .nav {
    display: none;
  }
  .headerSearch {
    width: 100%;
  }
  .heroWrap {
    grid-template-columns: 1fr;
  }
}

.heroTitle {
  font-size: 46px;
  line-height: 1.05;
  margin: 8px 0 12px;
}

.heroSubtitle {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.heroBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.badge {
  font-size: 12px;
  font-weight: 950;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
}

.heroActions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.panel {
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.panelHeader {
  margin-bottom: 10px;
}

.panelTitle {
  font-weight: 950;
  font-size: 14px;
}

.panelSubtitle {
  color: var(--muted2);
  font-size: 13px;
  margin-top: 2px;
}

.field {
  margin-top: 10px;
}

.label {
  display: block;
  font-size: 12px;
  font-weight: 950;
  color: var(--muted2);
  margin-bottom: 6px;
}

.finePrint {
  margin-top: 10px;
  color: var(--muted2);
  font-size: 12px;
}

/* =========================================================
   ✅ Quote Panel sizing fix (prevents hero from being pushed down)
========================================================= */

/* Give the hero left side breathing room so the page doesn't feel like "form first" */
.heroWrap > :first-child {
  padding-top: 6px;
}

/* Make the quote panel behave like a "contained" panel instead of expanding forever */
.quotePanel {
  max-height: calc(100vh - 140px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* The inner form content scrolls, not the whole page */
.quotePanelBody {
  overflow: auto;
  padding-right: 6px;
}

/* Nice scrollbar for Webkit */
.quotePanelBody::-webkit-scrollbar {
  width: 10px;
}
.quotePanelBody::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}
.quotePanelBody::-webkit-scrollbar-track {
  background: transparent;
}

/* Sticky submit area so the CTA is always visible */
.quotePanelFooter {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  bottom: 0;
  background: rgba(7, 11, 20, 0.35);
  backdrop-filter: blur(10px);
}

/* On mobile, let it be normal (no scroll container inside a scroll container) */
@media (max-width: 980px) {
  .quotePanel {
    max-height: none;
  }
  .quotePanelBody {
    overflow: visible;
    padding-right: 0;
  }
  .quotePanelFooter {
    position: static;
    background: transparent;
    backdrop-filter: none;
  }
}

/* =========================================================
   Footer
========================================================= */

.siteFooter {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 40px;
  padding: 22px 0;
  background: rgba(7, 11, 20, 0.40);
}

.footerInner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footerLogo {
  font-weight: 950;
}

.footerMeta {
  color: var(--muted2);
  font-size: 12px;
  margin-top: 4px;
}

.footerLink {
  color: var(--muted);
  margin-left: 12px;
  font-weight: 850;
  font-size: 13px;
}

/* =========================================================
   City browser (homepage)
========================================================= */

.cityPanel {
  padding: 14px;
}

.cityTools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cityCount {
  font-size: 12px;
  font-weight: 900;
  color: var(--muted2);
}

.citySearchRow {
  display: flex;
  gap: 8px;
  align-items: center;
}

.citySectionLabel {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 950;
  color: var(--muted2);
}

.cityGrid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 980px) {
  .cityGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cityGrid {
    grid-template-columns: 1fr;
  }
}

.cityCard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 950;
  text-decoration: none;
}

.cityCard:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.cityCardMeta {
  color: rgba(255, 255, 255, 0.60);
  font-weight: 900;
  font-size: 12px;
}

/* collapsible */
.cityDetails {
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.citySummary {
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-weight: 950;
}

.citySummaryHint {
  color: var(--muted2);
  font-size: 12px;
  font-weight: 850;
}

.cityList {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 12px;
}

@media (max-width: 980px) {
  .cityList {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cityList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cityRow {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 850;
  text-decoration: none;
}

.cityRow:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.cityEmpty {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.cityHint {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* Utility */
.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Trade Switcher Tabs (City + Service page)
========================================================= */

.tradeTabsWrap {
  margin-top: 14px;
  position: sticky;
  top: 68px;
  z-index: 10;
}

.tradeTabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;

  padding: 10px;
  border-radius: 16px;

  background: rgba(11, 18, 32, 0.55);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
}

.tradeTab {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 34px;
  padding: 0 12px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 950;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);

  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.tradeTab:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255,255,255,0.20);
  text-decoration: none;
}

.tradeTab:active {
  transform: translateY(1px);
}

.tradeTab.isActive {
  background: rgba(124, 220, 255, 0.18);
  border-color: rgba(124, 220, 255, 0.28);
  color: rgba(255,255,255,0.95);
}

/* =========================================================
   ✅ LISTING CARDS (THIS FIXES YOUR CITY/SERVICE PAGE)
   Matches: .listingList .listingItem .listingActions etc.
========================================================= */

.listingList {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.listingItem {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.listingItem:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.listingTop {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}

@media (max-width: 720px) {
  .listingTop {
    grid-template-columns: 1fr;
  }
}

.listingInfo {
  min-width: 0;
}

.listingName {
  font-size: 16px;
  font-weight: 950;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.94);
}

.listingMeta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
  margin-bottom: 8px;
}

.stars {
  font-weight: 950;
  color: rgba(255, 255, 255, 0.90);
}

.dot {
  opacity: 0.45;
}

.pill {
  font-size: 12px;
  font-weight: 950;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.listingAddr {
  color: rgba(255, 255, 255, 0.60);
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.listingActions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .listingActions {
    justify-content: flex-start;
    margin-top: 10px;
  }
}

.listingBottom {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.link {
  color: rgba(124, 220, 255, 0.92);
  font-weight: 850;
}

.link:hover {
  text-decoration: underline;
}

/* =========================================================
   Legacy vendor styles (safe to keep; not used by your current page)
========================================================= */

.listingsWrap {
  margin-top: 14px;
}

.listingsTopRow {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.listingsCount {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 900;
  font-size: 13px;
}

.listingsControls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.filterPills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pillBtn {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.pillBtn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.pillBtn.isActive {
  background: rgba(124, 220, 255, 0.18);
  border-color: rgba(124, 220, 255, 0.30);
  color: rgba(255, 255, 255, 0.95);
}

.vendorList {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vendorItem {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;

  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.vendorItem:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.vendorMain {
  min-width: 0;
}

.vendorName {
  font-weight: 950;
  font-size: 16px;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.94);
}

.vendorMeta {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin: 0 0 6px;
}

.vendorMeta a {
  color: rgba(124, 220, 255, 0.92);
  font-weight: 900;
}

.vendorAddress {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin: 0;
  line-height: 1.35;
}

.vendorActions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

.vendorActions .btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
}

.vendorLinks {
  margin-top: 8px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}

.vendorLinks a {
  color: rgba(124, 220, 255, 0.92);
  font-weight: 850;
}

.vendorLinks a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .vendorItem {
    grid-template-columns: 1fr;
  }
  .vendorActions {
    justify-content: flex-start;
    margin-top: 10px;
  }
}
/* =========================================================
   SELECT DROPDOWN FIX (Dark dropdown options)
   - fixes white dropdown list / unreadable options
========================================================= */

select,
.select {
  color-scheme: dark; /* hints OS/browser to use dark UI */
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* Dropdown list items */
select option,
.select option {
  background-color: #0b1020; /* dark dropdown background */
  color: rgba(255, 255, 255, 0.92);
}

/* Hover/selected states (best effort; not all browsers respect) */
select option:checked,
.select option:checked {
  background-color: rgba(124, 220, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
}

/* Firefox-specific helper (keeps dropdown dark) */
@-moz-document url-prefix() {
  select,
  .select {
    background-color: #0b1020;
  }

  select option,
  .select option {
    background-color: #0b1020;
  }
}

/* Safari/Chrome: make focus look consistent */
select:focus,
.select:focus {
  outline: none;
  border-color: rgba(124, 220, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(124, 220, 255, 0.15);
}
