
/* ============================================================
   HDC DRONE IMAGERY VIEWER
   STYLES.CSS
   ============================================================ */

:root {
  --bg: #fcf8ed;
  --surface: #ffffff;
  --surface-soft: #f7f9f6;
  --border: #e4e9e3;
  --text: #1c2a21;
  --text-secondary: #46564b;
  --text-muted: #7a887d;
  --accent: #648b76;
  --accent-soft: #eaf2ec;
  --topbar-bg: #7f9c88;
  --topbar-text: #ffffff;
  --shadow: 0 4px 20px rgba(28, 42, 33, 0.08);
  --font-sans: "Inter", sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --sidebar-width: 340px;
  --header-height: 68px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

.app {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

/* HEADER */

.topbar {
  height: var(--header-height);
  min-height: var(--header-height);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--topbar-bg);
  color: var(--topbar-text);
  z-index: 100;
}

.brand,
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: auto;
  height: 35px;
  max-width: 180px;
  object-fit: contain;
}

.brand-divider {
  height: 28px;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.brand-subtitle {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5c76a;
}

.status-dot.ready {
  background: #b6f0bd;
}

.status-dot.error {
  background: #ff9e9e;
}

.header-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  transition: background 0.2s ease;
}

.header-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.header-btn svg,
.icon-btn svg,
.map-tool svg {
  width: 17px;
  height: 17px;
}

.mobile-menu {
  display: none;
}

/* WORKSPACE */

.workspace {
  flex: 1;
  min-height: 0;
  display: flex;
  position: relative;
}

/* SIDEBAR */

.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 30;
}

.sidebar-header {
  padding: 27px 24px 23px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.sidebar-header h2 {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.6px;
}

.sidebar-header p {
  margin-top: 9px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.6;
}

.sidebar-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c8d2c9 transparent;
}

.sidebar-section {
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}

.section-heading h3 {
  font-size: 12px;
  font-weight: 700;
}

.section-heading p {
  margin-top: 5px;
  font-size: 10px;
  color: var(--text-muted);
}

.count-pill {
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

/* IMAGERY LIST */

.imagery-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.imagery-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: white;
  text-align: left;
  transition: all 0.2s ease;
}

.imagery-item:hover {
  border-color: #b3c7b8;
  background: #fbfdfb;
}

.imagery-item.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.imagery-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: #edf3ee;
}

.imagery-icon svg {
  width: 17px;
  height: 17px;
}

.imagery-info {
  flex: 1;
  min-width: 0;
}

.imagery-info strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.imagery-info small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.4;
}

.imagery-arrow {
  color: var(--text-muted);
}

.imagery-arrow svg {
  width: 15px;
  height: 15px;
}

.imagery-item.active .imagery-arrow {
  color: var(--accent);
}

.imagery-item.unavailable {
  opacity: 0.6;
}

.empty-message {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* SETTINGS */

.setting-card{
  border: 1px solid var(--border);
  border-radius: 11px;
  background: white;
}

.setting-card {
  padding: 5px 14px;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 0;
}

.setting-info {
  display: flex;
  align-items: center;
  gap: 11px;
}

.setting-info > svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.setting-info strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}

.setting-info small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: var(--text-muted);
}

.setting-divider {
  height: 1px;
  background: var(--border);
}

.switch {
  position: relative;
  width: 34px;
  height: 20px;
  flex-shrink: 0;
}

.switch input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.switch-track {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: #d3dcd4;
  transition: background 0.2s ease;
  pointer-events: none;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.switch input:checked + .switch-track {
  background: var(--accent);
}

.switch input:checked + .switch-track::after {
  transform: translateX(14px);
}

.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}


.opacity-heading {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 14px;
}

.opacity-heading strong {
  color: var(--accent);
}

#opacitySlider {
  width: 100%;
  height: 5px;
  accent-color: var(--accent);
  cursor: pointer;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 9px;
}

/* BASEMAP */

.basemap-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.basemap-option {
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--text-secondary);
  font-size: 10px;
}

.basemap-option svg {
  width: 19px;
  height: 19px;
}

.basemap-option:hover {
  background: var(--surface-soft);
}

.basemap-option.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

/* LEGEND */

.legend-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 10px;
  color: var(--text-secondary);
}

.legend-color {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 3px;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 10px;
}

.sidebar-footer svg {
  width: 14px;
  height: 14px;
}

/* MAP */

.map-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: #e8ede8;
}

#viewDiv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-status {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 40px);
  padding: 12px 17px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  box-shadow: var(--shadow);
  color: var(--text-secondary);
  font-size: 11px;
}

.map-status.error {
  color: #a53d3d;
  border-color: #edcaca;
}

.loading-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid #dce9df;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.map-status.error .loading-spinner {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* MAP TOOLBAR */

.map-toolbar {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: 5px;
  gap: 3px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow);
}

.map-tool {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
}

.map-tool:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.toolbar-divider {
  height: 1px;
  margin: 4px;
  background: var(--border);
}

/* SELECTED LOCATION */

.location-card {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-width: 215px;
  max-width: calc(100% - 110px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow);
}

.location-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.location-card-icon svg {
  width: 17px;
  height: 17px;
}

.location-card-info {
  flex: 1;
}

.location-card-info span {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  color: var(--text-muted);
}

.location-card-info strong {
  font-size: 12px;
}

.icon-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: var(--accent-soft);
}

/* BOTTOM MAP BAR */

.map-bottom-bar {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.map-bottom-left,
.map-bottom-right {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  color: var(--text-secondary);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.map-bottom-left svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.bottom-divider {
  height: 13px;
  width: 1px;
  background: var(--border);
}

/* ARCGIS OVERRIDES */

.esri-view .esri-view-surface--inset-outline:focus::after {
  outline: none;
}

.esri-view .esri-attribution {
  background: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-size: 9px;
}

.esri-popup__main-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.esri-popup__header-title {
  font-family: var(--font-sans);
  font-weight: 600;
}

.esri-popup__content {
  font-family: var(--font-sans);
  font-size: 12px;
}

/* MOBILE BACKDROP */

.sidebar-backdrop {
  display: none;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  :root {
    --sidebar-width: 310px;
  }

  .sidebar-section {
    padding: 20px;
  }

  .sidebar-header {
    padding: 24px 20px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 60px;
  }

  .topbar {
    padding: 0 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    height: 28px;
    max-width: 120px;
  }

  .brand-name {
    font-size: 12px;
  }

  .brand-subtitle,
  .header-status,
  .brand-divider {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height);
    bottom: 0;
    width: min(340px, 88vw);
    min-width: 0;
    z-index: 90;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-backdrop.open {
    display: block;
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 80;
    background: rgba(19, 35, 25, 0.4);
  }

  .map-toolbar {
    top: 14px;
    right: 14px;
  }

  .location-card {
    top: 14px;
    left: 14px;
    min-width: 0;
    padding: 10px;
  }

  .map-bottom-bar {
    bottom: 28px;
    left: 10px;
    right: 10px;
  }

  .map-bottom-left,
  .map-bottom-right {
    padding: 9px;
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    height: 24px;
    max-width: 95px;
  }

  .header-actions {
    gap: 6px;
  }

  .location-card {
    max-width: calc(100% - 90px);
  }

  .map-bottom-right {
    display: none;
  }
}


/* ============================================================
   PARCEL SEARCH
   ============================================================ */

.parcel-search-section {
  --search-green: #608b78;
  --search-green-dark: #426b59;
  --search-green-light: #e8f0ea;
  --search-border: #dfe6df;
  --search-text: #17251f;
  --search-muted: #7d8b83;

  position: relative;
  width: 100%;
  box-sizing: border-box;

  padding: 22px 24px;

  background: #ffffff;
  border-bottom: 1px solid var(--search-border);
}

/* ============================================================
   SEARCH HEADING
   ============================================================ */

.parcel-search-heading {
  margin-bottom: 14px;
}

.parcel-search-heading h2 {
  margin: 0 0 5px;

  font-family: inherit;
  font-size: 13px;
  font-weight: 600;

  color: var(--search-text);
}

.parcel-search-heading p {
  margin: 0;

  font-size: 11px;
  line-height: 1.5;

  color: var(--search-muted);
}

/* ============================================================
   SEARCH INPUT CONTAINER
   ============================================================ */

.parcel-search-box {
  position: relative;

  display: flex;
  align-items: center;
  gap: 10px;

  width: 100%;
  min-height: 44px;

  padding: 0 12px;

  box-sizing: border-box;

  background: #f8faf8;

  border: 1px solid var(--search-border);
  border-radius: 10px;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.parcel-search-box:hover {
  border-color: #b6c9bc;
}

.parcel-search-box:focus-within {
  background: #ffffff;

  border-color: var(--search-green);

  box-shadow:
    0 0 0 3px rgba(96, 139, 120, 0.1);
}

/* Search icon */

.parcel-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  color: var(--search-green);
}

.parcel-search-icon svg {
  width: 17px;
  height: 17px;

  stroke-width: 1.8;
}

/* Input */

.parcel-search-input {
  flex: 1;

  width: 100%;
  min-width: 0;
  height: 42px;

  padding: 0;

  background: transparent;

  border: none;
  outline: none;
  box-shadow: none;

  font-family: inherit;
  font-size: 11px;
  font-weight: 400;

  color: var(--search-text);

  appearance: none;
  -webkit-appearance: none;
}

.parcel-search-input:focus {
  outline: none;
  box-shadow: none;
}

.parcel-search-input::placeholder {
  color: #8a988f;
  opacity: 1;
}

/* Remove native browser search clear button */

.parcel-search-input::-webkit-search-cancel-button,
.parcel-search-input::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
}

/* ============================================================
   CLEAR SEARCH BUTTON
   ============================================================ */

.parcel-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 25px;
  height: 25px;

  padding: 0;

  border: none;
  border-radius: 6px;

  background: transparent;

  color: var(--search-muted);

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.parcel-search-clear:hover {
  background: var(--search-green-light);
  color: var(--search-green-dark);
}

.parcel-search-clear svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

/* Ensure hidden elements remain hidden */

.parcel-search-clear[hidden],
.parcel-search-dropdown[hidden],
.parcel-search-status[hidden] {
  display: none !important;
}

/* ============================================================
   SEARCH RESULTS CONTAINER
   ============================================================ */

.parcel-search-dropdown {
  position: relative;

  width: 100%;

  margin-top: 8px;

  box-sizing: border-box;

  background: #ffffff;

  border: 1px solid var(--search-border);
  border-radius: 10px;

  overflow: hidden;

  box-shadow:
    0 5px 16px rgba(26, 49, 36, 0.05);

  animation: parcel-search-reveal 0.2s ease;
}

@keyframes parcel-search-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   SEARCH STATUS
   ============================================================ */

.parcel-search-status {
  padding: 10px 12px;

  background: #f8faf8;

  border-bottom: 1px solid #edf1ed;

  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;

  color: var(--search-muted);
}

/* ============================================================
   SEARCH RESULT LIST
   ============================================================ */

.parcel-search-results {
  display: flex;
  flex-direction: column;

  max-height: 280px;

  overflow-x: hidden;
  overflow-y: auto;

  overscroll-behavior: contain;

  scrollbar-width: thin;
  scrollbar-color: #c2d0c6 transparent;
}

.parcel-search-results:empty {
  display: none;
}

.parcel-search-results::-webkit-scrollbar {
  width: 5px;
}

.parcel-search-results::-webkit-scrollbar-track {
  background: transparent;
}

.parcel-search-results::-webkit-scrollbar-thumb {
  background: #c2d0c6;
  border-radius: 10px;
}

.parcel-search-results::-webkit-scrollbar-thumb:hover {
  background: #9eb3a5;
}

/* ============================================================
   INDIVIDUAL SEARCH RESULT
   ============================================================ */

.parcel-result {
  display: flex;
  align-items: center;

  gap: 10px;

  width: 100%;
  min-height: 64px;

  padding: 11px 12px;

  box-sizing: border-box;

  background: #ffffff;

  border: none;
  border-bottom: 1px solid #edf1ed;

  font-family: inherit;
  text-align: left;

  color: var(--search-text);

  cursor: pointer;

  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.parcel-result:last-child {
  border-bottom: none;
}

.parcel-result:hover,
.parcel-result.active,
.parcel-result:focus-visible {
  background: var(--search-green-light);
}

.parcel-result:focus-visible {
  outline: 2px solid var(--search-green);
  outline-offset: -2px;
}

/* ============================================================
   RESULT ICON
   ============================================================ */

.parcel-result-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 32px;
  height: 34px;

  background: var(--search-green-light);

  border-radius: 8px;

  color: var(--search-green);

  transition: background 0.2s ease;
}

.parcel-result-icon svg {
  width: 16px;
  height: 16px;

  stroke-width: 1.8;
}

.parcel-result:hover .parcel-result-icon,
.parcel-result.active .parcel-result-icon {
  background: #dbe9df;
}

/* ============================================================
   RESULT INFORMATION
   ============================================================ */

.parcel-result-info {
  display: flex;
  flex-direction: column;

  flex: 1;

  gap: 5px;

  min-width: 0;
}

.parcel-result-info strong {
  display: block;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;

  color: var(--search-text);

  overflow-wrap: anywhere;
}

.parcel-result-info small {
  display: block;

  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;

  color: var(--search-muted);

  overflow-wrap: anywhere;
}

/* ============================================================
   RESULT ARROW
   ============================================================ */

.parcel-result-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  color: var(--search-green);

  transition: transform 0.2s ease;
}

.parcel-result-arrow svg {
  width: 13px;
  height: 13px;

  stroke-width: 1.8;
}

.parcel-result:hover .parcel-result-arrow {
  transform: translateX(2px);
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

  .parcel-search-section {
    padding: 18px 20px;
  }

  .parcel-search-heading {
    margin-bottom: 12px;
  }

  .parcel-search-box {
    min-height: 46px;
  }

  .parcel-search-input {
    height: 44px;

    /* Prevent automatic input zoom on iOS */
    font-size: 16px;
  }

  .parcel-search-input::placeholder {
    font-size: 11px;
  }

  .parcel-search-results {
    max-height: 240px;
  }

  .parcel-result {
    min-height: 64px;
    padding: 12px;
  }

  .parcel-search-clear {
    width: 30px;
    height: 30px;
  }

}

@media (max-width: 480px) {

  .parcel-search-section {
    padding: 16px;
  }

  .parcel-search-results {
    max-height: 220px;
  }

}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  .parcel-search-dropdown {
    animation: none;
  }

  .parcel-search-box,
  .parcel-search-clear,
  .parcel-result,
  .parcel-result-icon,
  .parcel-result-arrow {
    transition: none;
  }

}