/* Marketplace feature styles — soft neomorphism (matches profile / site blues) */

:root {
  --mp-ink: #0f172a;
  --mp-muted: #64748b;
  --mp-blue: #2563eb;
  --mp-blue-deep: #1d4ed8;
  --mp-surface: #eef3f9;
  --mp-surface-2: #f4f7fc;
  --mp-white: #f8fbff;
}

.verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
  background: #334155;
  box-shadow:
    3px 3px 8px rgba(15, 23, 42, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.verify-badge--verified {
  background: linear-gradient(135deg, #10b981, #059669);
}

.verify-badge--pending {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.verify-badge--none {
  background: linear-gradient(135deg, #64748b, #475569);
}

.home-card-verify {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
}

.home-card-boost {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 1.25rem;
  line-height: 1;
  pointer-events: none;
}

.home-card-boost i,
.home-card-boost i::before {
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.home-card-boost--publisher {
  color: #7dd3fc;
  filter:
    drop-shadow(0 0 4px rgba(125, 211, 252, 1))
    drop-shadow(0 0 10px rgba(56, 189, 248, 0.95))
    drop-shadow(0 0 18px rgba(14, 165, 233, 0.7));
  animation: publisher-diamond-glow 1.8s ease-in-out infinite;
}

.home-card-boost--agency {
  color: #fbbf24;
  filter:
    drop-shadow(0 0 4px rgba(251, 191, 36, 0.95))
    drop-shadow(0 0 10px rgba(245, 158, 11, 0.85))
    drop-shadow(0 0 18px rgba(234, 88, 12, 0.55));
}

@keyframes publisher-diamond-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 3px rgba(186, 230, 253, 0.9))
      drop-shadow(0 0 8px rgba(56, 189, 248, 0.75))
      drop-shadow(0 0 14px rgba(14, 165, 233, 0.45));
    transform: scale(1);
  }
  50% {
    filter:
      drop-shadow(0 0 6px rgba(255, 255, 255, 1))
      drop-shadow(0 0 14px rgba(125, 211, 252, 1))
      drop-shadow(0 0 24px rgba(14, 165, 233, 0.85));
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-card-boost--publisher {
    animation: none;
  }
}

/* ---- Listings filters (vertical sidebar tabs) ---- */
.listings-filters {
  margin: 14px 0 18px;
  padding: 16px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(160deg, #f8fbff 0%, #eef3f9 100%);
  display: grid;
  gap: 14px;
  box-shadow:
    10px 10px 22px rgba(15, 40, 90, 0.08),
    -8px -8px 18px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.listings-filters-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
}

.listings-filters-top strong {
  color: var(--mp-ink);
  font-size: 0.95rem;
}

.listings-filters-hint {
  color: var(--mp-muted);
  font-size: 0.82rem;
}

.listings-filters-shell {
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-width: 0;
}

.listings-filter-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: #edf2f8;
  box-shadow:
    inset 5px 5px 12px rgba(15, 40, 80, 0.1),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85);
}

.listings-filter-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 12px 12px;
  text-align: left;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: #475569;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.listings-filter-tab i {
  width: 1.1rem;
  text-align: center;
  color: #64748b;
}

.listings-filter-tab:hover {
  color: var(--mp-blue-deep);
  background: rgba(255, 255, 255, 0.65);
}

.listings-filter-tab.is-active {
  color: var(--mp-blue-deep);
  background: #f8fbff;
  box-shadow:
    5px 5px 12px rgba(15, 40, 80, 0.08),
    -3px -3px 8px rgba(255, 255, 255, 0.95);
}

.listings-filter-tab.is-active i {
  color: var(--mp-blue);
}

.listings-filter-panels {
  min-width: 0;
  border-radius: 18px;
  background: #f4f7fc;
  padding: 16px;
  box-shadow:
    6px 6px 14px rgba(15, 40, 90, 0.06),
    -5px -5px 12px rgba(255, 255, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.listings-filter-panel[hidden] {
  display: none !important;
}

.listings-filter-panel-title {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--mp-ink);
}

.listings-filter-panel-lead {
  margin: 0 0 14px;
  color: var(--mp-muted);
  font-size: 0.84rem;
}

.listings-filters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.listings-filters-grid--single {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.listings-filters-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listings-filters label {
  display: grid;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mp-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 0;
}

.listings-filters input,
.listings-filters select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--mp-ink);
  background: #edf2f8;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.1),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85);
  transition: box-shadow 0.2s ease;
}

.listings-filters input:focus,
.listings-filters select:focus {
  outline: none;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.08),
    inset -4px -4px 10px rgba(255, 255, 255, 0.9),
    0 0 0 2px rgba(59, 130, 246, 0.35);
}

.listings-filters-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.listings-filters-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Verified-only toggle */
.mp-verify-toggle {
  display: block;
  margin-top: 14px;
  max-width: 420px;
  cursor: pointer;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.mp-verify-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.mp-verify-toggle-ui {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #edf2f8;
  box-shadow:
    5px 5px 12px rgba(15, 40, 80, 0.08),
    -4px -4px 10px rgba(255, 255, 255, 0.95);
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

.mp-verify-toggle-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #f8fbff;
  box-shadow:
    inset 3px 3px 7px rgba(15, 40, 80, 0.08),
    inset -2px -2px 6px rgba(255, 255, 255, 0.9);
}

.mp-verify-toggle-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.mp-verify-toggle-copy strong {
  font-size: 0.9rem;
  color: var(--mp-ink);
}

.mp-verify-toggle-copy small {
  font-size: 0.75rem;
  color: var(--mp-muted);
  line-height: 1.3;
}

.mp-verify-switch {
  flex-shrink: 0;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  box-shadow:
    inset 3px 3px 6px rgba(15, 40, 80, 0.16),
    inset -2px -2px 5px rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease;
}

.mp-verify-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 2px 2px 6px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease;
}

.mp-verify-toggle input:checked + .mp-verify-toggle-ui {
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  box-shadow:
    5px 5px 12px rgba(16, 185, 129, 0.14),
    -4px -4px 10px rgba(255, 255, 255, 0.9),
    0 0 0 2px rgba(16, 185, 129, 0.25);
}

.mp-verify-toggle input:checked + .mp-verify-toggle-ui .mp-verify-toggle-icon {
  color: #047857;
  background: #ecfdf5;
}

.mp-verify-toggle input:checked + .mp-verify-toggle-ui .mp-verify-switch {
  background: linear-gradient(135deg, #34d399, #059669);
}

.mp-verify-toggle input:checked + .mp-verify-toggle-ui .mp-verify-knob {
  transform: translateX(20px);
}

.mp-verify-toggle input:focus-visible + .mp-verify-toggle-ui {
  box-shadow:
    5px 5px 12px rgba(15, 40, 80, 0.08),
    -4px -4px 10px rgba(255, 255, 255, 0.95),
    0 0 0 2px rgba(59, 130, 246, 0.45);
}

.listings-filters-actions .mp-btn,
.mp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 14px;
  padding: 10px 16px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #60a5fa, #2563eb 55%, #1d4ed8);
  box-shadow:
    6px 6px 14px rgba(37, 99, 235, 0.28),
    -3px -3px 8px rgba(255, 255, 255, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.mp-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.mp-btn:active {
  transform: translateY(0);
  box-shadow:
    inset 4px 4px 10px rgba(15, 40, 80, 0.18),
    inset -3px -3px 8px rgba(255, 255, 255, 0.35);
}

.mp-btn-outline {
  color: var(--mp-blue-deep);
  background: #edf2f8;
  box-shadow:
    5px 5px 12px rgba(15, 40, 80, 0.08),
    -4px -4px 10px rgba(255, 255, 255, 0.95);
}

.mp-btn-outline:hover {
  filter: brightness(1.02);
}

.mp-btn-danger {
  background: linear-gradient(135deg, #f87171, #dc2626);
  box-shadow:
    6px 6px 14px rgba(220, 38, 38, 0.28),
    -3px -3px 8px rgba(255, 255, 255, 0.55);
}

.mp-check {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  text-transform: none !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  padding: 8px 12px;
  border-radius: 14px;
  background: #edf2f8;
  box-shadow:
    inset 3px 3px 7px rgba(15, 40, 80, 0.08),
    inset -2px -2px 6px rgba(255, 255, 255, 0.85);
}

.mp-check input {
  accent-color: var(--mp-blue);
}

/* ---- Report modal ---- */
.mp-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.mp-modal.is-open { display: flex; }

.mp-modal-card {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(160deg, #f8fbff 0%, #eef3f9 100%);
  border: none;
  border-radius: 22px;
  padding: 24px 20px 20px;
  box-shadow:
    14px 14px 32px rgba(15, 23, 42, 0.22),
    -8px -8px 20px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.mp-modal-card h3 {
  margin: 0 0 14px;
  color: var(--mp-ink);
}

.mp-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--mp-muted);
  background: #edf2f8;
  box-shadow:
    4px 4px 10px rgba(15, 40, 80, 0.1),
    -3px -3px 8px rgba(255, 255, 255, 0.95);
}

.mp-modal-x:active {
  box-shadow:
    inset 3px 3px 7px rgba(15, 40, 80, 0.12),
    inset -2px -2px 6px rgba(255, 255, 255, 0.85);
}

.mp-form {
  display: grid;
  gap: 8px;
}

.mp-form label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mp-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mp-form select,
.mp-form textarea,
.mp-form input {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
  color: var(--mp-ink);
  background: #edf2f8;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.1),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85);
}

.mp-form select:focus,
.mp-form textarea:focus,
.mp-form input:focus {
  outline: none;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.08),
    inset -4px -4px 10px rgba(255, 255, 255, 0.9),
    0 0 0 2px rgba(59, 130, 246, 0.35);
}

.mp-detail-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.mp-detail-tools--under-map {
  justify-content: flex-start;
  margin: 12px 0 28px;
}

.mp-detail-tools .mp-btn {
  flex: 1 1 160px;
}

.mp-detail-tools--under-map .mp-btn {
  flex: 0 0 auto;
  min-width: 160px;
}

/* ---- Neighborhood ---- */
.mp-neighborhood {
  margin: 28px 0;
  padding: 20px;
  border: none;
  border-radius: 22px;
  background: linear-gradient(160deg, #f8fbff 0%, #eef3f9 100%);
  box-shadow:
    10px 10px 22px rgba(15, 40, 90, 0.08),
    -8px -8px 18px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mp-neighborhood h3 {
  margin: 0 0 6px;
  color: var(--mp-blue-deep);
}

.mp-muted {
  color: var(--mp-muted);
  margin: 0 0 14px;
}

.mp-neighbor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mp-neighbor-grid article {
  background: #f4f7fc;
  border: none;
  border-radius: 16px;
  padding: 14px;
  box-shadow:
    6px 6px 14px rgba(15, 40, 90, 0.07),
    -5px -5px 12px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mp-neighbor-grid h4 {
  margin: 0 0 6px;
  font-size: 0.86rem;
  color: var(--mp-blue-deep);
}

.mp-neighbor-grid ul {
  margin: 0;
  padding-left: 16px;
  color: #334155;
  font-size: 0.86rem;
}

.verify-badge--detail { margin-bottom: 10px; }

/* ---- Signup account types (button cards) ---- */
.account-type-label {
  font-size: 0.85rem;
  color: #64748b;
  margin: 4px 0 8px;
}

.account-type-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.account-type-btn {
  display: block;
  margin: 0;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  opacity: 0;
  transform: translateY(18px);
  animation: accountTypeSlideIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.account-type-btn:nth-child(1) { animation-delay: 0.35s; }
.account-type-btn:nth-child(2) { animation-delay: 0.48s; }
.account-type-btn:nth-child(3) { animation-delay: 0.61s; }

@keyframes accountTypeSlideIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-type-btn {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.account-type-btn input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.account-type-btn-ui {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 108px;
  height: 100%;
  box-sizing: border-box;
  padding: 14px 12px;
  border-radius: 16px;
  background: #edf2f8;
  color: #0f172a;
  box-shadow:
    5px 5px 12px rgba(15, 40, 80, 0.08),
    -4px -4px 10px rgba(255, 255, 255, 0.95);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.account-type-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2563eb;
  background: #f8fbff;
  box-shadow:
    inset 3px 3px 7px rgba(15, 40, 80, 0.08),
    inset -2px -2px 6px rgba(255, 255, 255, 0.9);
}

.account-type-btn-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  width: 100%;
}

.account-type-btn-copy strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  color: inherit;
}

.account-type-btn-copy small {
  display: block;
  font-size: 0.72rem;
  line-height: 1.3;
  color: #64748b;
}

.account-type-btn:hover .account-type-btn-ui {
  transform: translateY(-1px);
  box-shadow:
    6px 6px 14px rgba(15, 40, 80, 0.1),
    -4px -4px 10px rgba(255, 255, 255, 0.95);
}

.account-type-btn input:checked + .account-type-btn-ui {
  color: #1d4ed8;
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  box-shadow:
    inset 4px 4px 10px rgba(37, 99, 235, 0.12),
    inset -3px -3px 8px rgba(255, 255, 255, 0.85),
    0 0 0 2px rgba(59, 130, 246, 0.4);
}

.account-type-btn input:checked + .account-type-btn-ui .account-type-btn-icon {
  color: #fff;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow:
    4px 4px 10px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.account-type-btn input:checked + .account-type-btn-ui .account-type-btn-copy small {
  color: #3b82f6;
}

.account-type-btn input:focus-visible + .account-type-btn-ui {
  box-shadow:
    5px 5px 12px rgba(15, 40, 80, 0.08),
    -4px -4px 10px rgba(255, 255, 255, 0.95),
    0 0 0 2px rgba(59, 130, 246, 0.5);
}

.forgot-panel {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 4px 4px 10px rgba(0, 0, 0, 0.18),
    inset -3px -3px 8px rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  .listings-filters {
    padding: 14px;
    border-radius: 18px;
  }

  .listings-filters-shell {
    grid-template-columns: 1fr;
  }

  .listings-filter-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .listings-filter-tab {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 6px;
    width: auto;
    max-width: none;
    padding: 9px 8px;
    border-radius: 12px;
    font-size: 0.78rem;
    white-space: nowrap;
    text-align: center;
  }

  .listings-filter-tab i {
    width: auto;
    font-size: 0.85rem;
  }

  .listings-filter-tab span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .listings-filter-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, #60a5fa, #2563eb 55%, #1d4ed8);
    box-shadow:
      4px 4px 10px rgba(37, 99, 235, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .listings-filter-tab.is-active i {
    color: #fff;
  }

  .listings-filter-tab:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.75);
  }

  .listings-filters-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mp-neighbor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-type-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
    margin: 0 0 14px;
    overflow: visible;
  }

  .account-type-btn {
    flex: none;
    width: 100%;
    min-width: 0;
    animation-name: accountTypeSlideInLeft;
  }

  .account-type-btn:nth-child(1) { animation-delay: 0.06s; }
  .account-type-btn:nth-child(2) { animation-delay: 0.14s; }
  .account-type-btn:nth-child(3) { animation-delay: 0.22s; }

  .account-type-btn-ui {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    width: 100%;
  }

  .account-type-btn-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .account-type-btn-copy strong {
    font-size: 0.9rem;
  }

  .account-type-btn-copy small {
    font-size: 0.74rem;
  }
}

@keyframes accountTypeSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 640px) {
  .listings-filters-grid,
  .listings-filters-grid--two,
  .mp-neighbor-grid {
    grid-template-columns: 1fr;
  }

  .account-type-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    overflow: visible;
  }

  .account-type-btn {
    width: 100%;
    min-width: 0;
  }

  .account-type-btn-ui {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
  }

  .listings-filter-panels {
    padding: 14px;
  }

  .listings-filters-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .listings-filters-btns {
    display: grid;
    grid-template-columns: 1fr;
  }

  .listings-filters-btns .mp-btn,
  .mp-detail-tools .mp-btn {
    width: 100%;
    flex: 1 1 auto;
  }

  .mp-detail-tools--under-map .mp-btn {
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
  }

  .mp-verify-toggle {
    max-width: none;
  }

  .mp-modal {
    padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
    align-items: flex-end;
  }

  .mp-modal-card {
    width: 100%;
    border-radius: 20px 20px 14px 14px;
    max-height: min(88vh, 720px);
    overflow: auto;
  }

  .mp-neighborhood {
    padding: 14px;
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .mp-btn {
    padding: 11px 14px;
    font-size: 0.84rem;
  }

  .listings-filter-tabs {
    gap: 4px;
    padding: 5px;
  }

  .listings-filter-tab {
    flex-direction: column;
    gap: 3px;
    padding: 8px 4px;
    font-size: 0.68rem;
    border-radius: 11px;
    line-height: 1.15;
  }

  .listings-filter-tab i {
    font-size: 0.92rem;
  }

  .listings-filter-tab span {
    font-size: 0.66rem;
    font-weight: 700;
    max-width: 100%;
  }

  .listings-filter-tab.is-active {
    box-shadow:
      3px 3px 8px rgba(37, 99, 235, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
}
