#find, #search {
min-height: 1rem!Important;
  }


/* Parent header layout */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;  /* wrap on smaller screens */
  gap: 20px;
  padding: 10px 20px;
}

/* Search wrapper: force inline row */
.search-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-wrapper label,
.search-wrapper select,
.search-wrapper input,
.search-wrapper button {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  /* Navigation: keep items next to each other, scroll if needed */
  .header-block.nav nav {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 15px;
    overflow-x: auto;
    width: 100%;
  }

  .header-block.nav nav a {
    font-size: 16px;
    white-space: nowrap;
  }

  /* Search form full width stacked */
  #searchForm {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  #find,
  #search,
  #searchForm button {
    width: 100%;
  }

  #searchForm button {
    margin-top: 8px;
  }

  /* Sell / Buy buttons: same line, each 48% width with gap */
  .sell-btn,
  .buy-btn {
    display: inline-block;
    width: 48%;
    margin: 0 1%; /* small gap between them */
  }

  /* Language switcher centered */
  .header-block.language {
    align-self: center;
    margin-top: 10px;
  }
}


.header-block.nav nav {
  display: flex;
  gap: 30px; /* adjust: 20px, 40px, etc. */
}

.header-block.nav nav a {
  text-decoration: none;
  color: #000; /* your menu color */
  font-weight: 500;
}

#searchForm {
  display: flex;
  align-items: baseline;
  gap: 10px; /* spacing between input and button */
}

#search {
  flex: 1; /* takes remaining space */
}

#find {
  flex: 0 0 20%; /* fixed width at 20% of the form container */
  min-width: fit-content!Important;
}



/* ========= Global button & dropdown system for HubSpot pages =========
   Guidelines implemented:
   - Primary (40px, Noto Sans Medium, 14px)
   - Secondary (32px, <=36px, Noto Sans Regular, 12-13px)
   - Tertiary (text-only, underline on hover)
   - Dropdown arrow 12px
   - Icon alignment utilities
   - HubSpot-specific selectors (hs-cta fallback)
   ==================================================================== */

/* Box-sizing & base */
*, *::before, *::after { box-sizing: border-box; }

/* Font family — use Noto Sans if available, else system fallbacks */
:root {
  --btn-primary-height: 40px;
  --btn-primary-font-size: 14px;
  --btn-primary-font-weight: 500; /* Noto Sans Medium */
  --btn-primary-padding-x: 11px;
  --btn-primary-radius: 8px;

  --btn-secondary-height: 32px;
  --btn-secondary-font-size: 13px; /* within 12-13 */
  --btn-secondary-font-weight: 400; /* Noto Sans Regular */
  --btn-secondary-padding-x: 9px; /* 8-10px */
  --btn-secondary-radius: 6px;
  --btn-secondary-max-height: 36px;

  --btn-tertiary-font-size: 13px;
  --btn-tertiary-font-weight: 400;

  --dropdown-arrow-size: 12px;

  --color-primary-bg: #2563eb;    /* change to your brand color */
  --color-primary-text: #ffffff;
  --color-secondary-bg: #f3f4f6;  /* subtle background for secondary */
  --color-secondary-text: #111827;
  --color-border: #e5e7eb;
  --color-focus: #93c5fd;
  --transition-fast: 150ms ease;
}

html, body {
  font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========= Buttons: base classes ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  line-height: 1;
  vertical-align: middle;
  border-radius: 6px; /* default, overwritten by variants */
  padding: 0 var(--btn-secondary-padding-x);
  font-weight: var(--btn-secondary-font-weight);
  font-size: var(--btn-secondary-font-size);
  height: var(--btn-secondary-height);
}

/* Focus & keyboard accessibility */
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.18); /* subtle focus ring */
  border-color: transparent;
}

/* Disabled */
.btn[disabled], .btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* ========= Primary action ========= */
.btn--primary,
.hs-cta, /* HubSpot CTA fallback */
button[type="submit"].btn--primary {
  height: var(--btn-primary-height);
  font-size: var(--btn-primary-font-size);
  font-weight: var(--btn-primary-font-weight);
  padding: 0 var(--btn-primary-padding-x);
  border-radius: var(--btn-primary-radius);
  background-color: var(--color-primary-bg);
  color: var(--color-primary-text);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

/* Primary hover/focus */
.btn--primary:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

/* ========= Secondary action ========= */
.btn--secondary {
  height: var(--btn-secondary-height);
  max-height: var(--btn-secondary-max-height);
  font-size: var(--btn-secondary-font-size);
  font-weight: var(--btn-secondary-font-weight);
  padding: 0 var(--btn-secondary-padding-x);
  border-radius: var(--btn-secondary-radius);
  background-color: var(--color-secondary-bg);
  color: var(--color-secondary-text);
  border: 1px solid var(--color-border);
}

/* Secondary hover/focus */
.btn--secondary:hover {
  background-color: rgba(243,244,246,0.95);
  transform: translateY(-1px);
}

/* ========= Tertiary action (text-only) ========= */
.btn--tertiary {
  background: transparent;
  color: var(--color-secondary-text);
  border: none;
  padding: 0;
  height: auto;
  font-size: var(--btn-tertiary-font-size);
  font-weight: var(--btn-tertiary-font-weight);
  line-height: 1.2;
}

.btn--tertiary:hover {
  text-decoration: underline;
}

/* ========= Icon utilities ========= */
/* Use inside buttons: <span class="btn__icon btn__icon--left">...</span> */
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 1;
  flex: 0 0 16px;
  font-size: 16px; /* for icon fonts or inline svgs */
}

/* icon spacing rules (left / right) */
.btn__icon--left { margin-right: 8px; }
.btn__icon--right { margin-left: 8px; }

/* If the icon should visually align to button height center, the inline-flex above handles it */

/* ========= Dropdown (select) styling ========= */
/* Generic select reset & custom arrow */
.select-reset {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none;
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px; /* space for arrow */
}

/* Visible select control used as a "secondary" control by default */
.select-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--btn-secondary-height);
  max-height: var(--btn-secondary-max-height);
  font-size: var(--btn-secondary-font-size);
  padding: 0 var(--btn-secondary-padding-x);
  border-radius: var(--btn-secondary-radius);
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  color: var(--color-secondary-text);
  position: relative;
}

/* For <select> element specifically */
.select-control select {
  border: none;
  background: transparent;
  font: inherit;
  height: 100%;
  padding: 0;
  margin: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Custom arrow using pseudo-element for consistency and exact size */
.select-control::after {
  content: "";
  pointer-events: none;
  width: var(--dropdown-arrow-size);
  height: var(--dropdown-arrow-size);
  display: inline-block;
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%) rotate(0);
  background-image: radial-gradient(circle at 50% 35%, transparent 46%, rgba(0,0,0,0.35) 47%),
                    linear-gradient(45deg, transparent 45%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.35) 55%, transparent 55%),
                    linear-gradient(-45deg, transparent 45%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.35) 55%, transparent 55%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  transform-origin: center;
  /* Use a simpler arrow if the above is odd in some browsers */
}

/* If you prefer an SVG data-uri arrow instead (cleaner): */
.select-control[data-arrow="svg"]::after{
  /* small down chevron SVG (fill currentColor) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111627' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========= HubSpot form / chat dropdown adjustments ========= */
/* HubSpot uses .hs-form and .hs-form-field often — style select inputs inside forms */
.hs-form .select-control,
.hs-form select,
.hs-form .input[data-field-type="select"] {
  font-family: inherit;
  font-size: var(--btn-secondary-font-size);
  height: var(--btn-secondary-height);
  border-radius: var(--btn-secondary-radius);
}

/* If a HubSpot CTA is output with an anchor or button, ensure class mapping works */
.hs-cta a, .hs-cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ========= Small helpers ========= */
.btn--small { height: 28px; font-size: 12px; padding: 0 8px; border-radius: 6px; }
.full-width { width: 100%; display: inline-flex; }

/* ========= Accessibility: focus-visible support ========= */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.18);
}

/* ========= Example: explicit classes for common hubs ======== */
/* Primary CTA often produced by HubSpot - make sure both btn and hs-cta align */
.hs-cta.btn--primary, .cta.btn--primary { height: var(--btn-primary-height); }

/* ========= End stylesheet ========= */

<style>
/* =========================================================
   ✅ GLOBAL UI STYLE SYSTEM — "Binance-Style"
   ========================================================= */

/* ----------------------------
   1️⃣ FONT IMPORTS
----------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;700&family=Noto+Sans:wght@400;500;700&display=swap');

/* ----------------------------
   2️⃣ COLOR VARIABLES
----------------------------- */
:root {
  --color-white: #fefefe;
  --color-black: #000000;
  --border-light: rgba(0, 0, 0, 0.1);
  --border-dark: rgba(255, 255, 255, 0.1);
  --hover-light: rgba(0, 0, 0, 0.05);
  --hover-dark: rgba(255, 255, 255, 0.1);

  /* Spacing scale (Binance-style) */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;

  /* Font families */
  --font-user: 'Abhaya Libre', serif;
  --font-system: 'Noto Sans', sans-serif;

  /* Button colors */
  --btn-primary-bg: #000000;
  --btn-primary-text: #fefefe;
  --btn-secondary-bg: transparent;
  --btn-secondary-border: rgba(0,0,0,0.2);
  --btn-tertiary-text: #000000;
}

/* ----------------------------
   3️⃣ BASE RESET & STRUCTURE
----------------------------- */
html, body {
  background-color: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-system);
  margin: 0;
  padding: 0;
  line-height: 1.45;
}

* {
  box-sizing: border-box;
}

p {
  margin-bottom: var(--space-12);
  line-height: 1.5;
}

/* ----------------------------
   4️⃣ TYPOGRAPHY
----------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-system);
  font-weight: 700;
  margin-bottom: var(--space-8);
}

.user-content {
  font-family: var(--font-user);
  font-size: 14px;
  line-height: 1.5;
}

.system-text {
  font-family: var(--font-system);
  font-size: 14px;
}

.zone-title {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: var(--space-8);
}

/* ----------------------------
   5️⃣ ZONES (Cards / Sections)
----------------------------- */
.zone {
  border-radius: 8px;
  padding: var(--space-16);
  margin-bottom: var(--space-20);
  border: 1px solid var(--border-light);
  background: var(--color-white);
  transition: background 0.2s;
}
.zone.black {
  background: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--border-dark);
}
.zone:hover {
  background: var(--hover-light);
}
.zone.black:hover {
  background: var(--hover-dark);
}

/* Spacing inside zones */
.zone .sub-block {
  margin-bottom: var(--space-12);
}

/* ----------------------------
   6️⃣ BUTTONS
----------------------------- */

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 var(--space-11, 11px);
  font-family: var(--font-system);
  font-weight: 500;
  font-size: 14px;
  color: var(--btn-primary-text);
  background-color: var(--btn-primary-bg);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary:hover {
  opacity: 0.85;
}

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 var(--space-10, 10px);
  font-family: var(--font-system);
  font-size: 13px;
  color: var(--color-black);
  background-color: var(--btn-secondary-bg);
  border: 1px solid var(--btn-secondary-border);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-secondary:hover {
  background: var(--hover-light);
}

/* Tertiary Button */
.btn-tertiary {
  background: none;
  border: none;
  font-family: var(--font-system);
  font-size: 13px;
  color: var(--btn-tertiary-text);
  cursor: pointer;
}
.btn-tertiary:hover {
  text-decoration: underline;
}

/* Button Groups */
.btn-group > *:not(:last-child) {
  margin-right: var(--space-8);
}

/* ----------------------------
   7️⃣ FORMS & FILTERS
----------------------------- */
label {
  display: block;
  margin-bottom: var(--space-6, 6px);
  font-size: 13px;
  font-family: var(--font-system);
}

input:not([type="checkbox"]), select, textarea {
  width: 100%;
  padding: 8px 12px;
  font-family: var(--font-system);
  font-size: 14px;
  border: 1px solid #000;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(0,0,0,0.3);
}

/* ----------------------------
   8️⃣ NAVIGATION / HEADER
----------------------------- */
.header {
  height: 56px;
  padding: 0 var(--space-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-white);
  border-bottom: 1px solid var(--border-light);
}

.nav {
  display: flex;
  gap: var(--space-20);
  align-items: center;
  font-family: var(--font-system);
  font-size: 0.95rem;
}

/* ----------------------------
   9️⃣ TABLES & LISTS
----------------------------- */
.table, .list {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-system);
  font-size: 14px;
}
.table th, .table td,
.list .row {
  padding: 8px 12px;
  height: 32px;
  border-bottom: 1px solid var(--border-light);
}
.list .row:hover {
  background: var(--hover-light);
}

/* ----------------------------
   🔟 UTILITY CLASSES
----------------------------- */
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.p-16 { padding: var(--space-16); }

.text-center { text-align: center; }
.text-right { text-align: right; }





</style>


