/**
 * fixeo-marketplace-density.css  v1.0 (V1-D)
 * Honest marketplace density UI — empty states, adjacent-city, submit CTA.
 * Append-only. No overrides to existing marketplace CSS.
 */

/* ══════════════════════════════════════════════════════════
   Empty state wrapper
   ══════════════════════════════════════════════════════════ */

#no-artisan .fxmd-empty-wrap,
.fxmd-empty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px 40px;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  font-family: inherit;
}

.fxmd-empty-icon {
  font-size: 2.2rem;
  opacity: 0.38;
  margin-bottom: 4px;
}

.fxmd-empty-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.35;
  max-width: 340px;
}

.fxmd-empty-sub {
  font-size: 0.85rem;
  color: rgba(50,50,80,0.55);
  line-height: 1.55;
  max-width: 340px;
}

/* ══════════════════════════════════════════════════════════
   Adjacent-city suggestion
   ══════════════════════════════════════════════════════════ */

.fxmd-adj-suggestion {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(64,93,230,0.06);
  border: 1px solid rgba(64,93,230,0.14);
  text-align: left;
  width: 100%;
  max-width: 400px;
  margin: 4px 0;
}

.fxmd-adj-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.fxmd-adj-body { flex: 1; min-width: 0; }

.fxmd-adj-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #4055e0;
  margin-bottom: 8px;
  line-height: 1.3;
}

.fxmd-adj-cities {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.fxmd-adj-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(64,93,230,0.09);
  color: #4055e0;
  border: 1px solid rgba(64,93,230,0.20);
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
  -webkit-tap-highlight-color: transparent;
}
.fxmd-adj-chip:hover {
  background: rgba(64,93,230,0.16);
  color: #2a3bbf;
}

/* ══════════════════════════════════════════════════════════
   Submit-request CTA (honest funnel continuation)
   ══════════════════════════════════════════════════════════ */

.fxmd-submit-cta {
  margin-top: 8px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(32,201,151,0.06);
  border: 1px solid rgba(32,201,151,0.14);
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.fxmd-submit-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 5px;
}

.fxmd-submit-sub {
  font-size: 0.78rem;
  color: rgba(50,50,80,0.55);
  line-height: 1.5;
  margin-bottom: 12px;
}

.fxmd-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  background: linear-gradient(135deg, #20c997, #1da577);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.16s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.fxmd-submit-btn:hover  { opacity: 0.90; }
.fxmd-submit-btn:active { transform: scale(0.97); }

/* ══════════════════════════════════════════════════════════
   Artisan-dashboard-p4: adjacent city separator
   ══════════════════════════════════════════════════════════ */

.fxadp4-adj-separator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fxadp4-adj-separator::before,
.fxadp4-adj-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}
.fxadp4-adj-separator span { white-space: nowrap; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   Artisan-dashboard-p4: adjacent city requests — softer look
   ══════════════════════════════════════════════════════════ */

.fxadp4-card[data-adjacent="1"] {
  opacity: 0.80;
  border-color: rgba(255,255,255,0.07);
}
.fxadp4-card[data-adjacent="1"]:hover { opacity: 0.92; }

/* ══════════════════════════════════════════════════════════
   Artisan-dashboard-p4: empty state adjacent hint
   ══════════════════════════════════════════════════════════ */

.fxadp4-empty-adj {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(108,143,245,0.07);
  border: 1px solid rgba(108,143,245,0.14);
  font-size: 0.78rem;
  color: rgba(200,210,255,0.65);
  line-height: 1.45;
  text-align: left;
  margin: 8px 0;
  width: 100%;
  max-width: 360px;
}
.fxadp4-adj-icon { flex-shrink: 0; }

.fxadp4-empty-hint {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.28);
  margin-top: 4px;
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════
   Mobile
   ══════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .fxmd-empty-wrap { padding: 36px 16px 32px; }
  .fxmd-empty-title { font-size: 0.94rem; }
  .fxmd-submit-cta, .fxmd-adj-suggestion { padding: 14px 14px; }
  .fxmd-submit-btn { border-radius: 10px; padding: 10px 20px; font-size: 0.83rem; }
  .fxadp4-adj-separator { font-size: 0.70rem; }
}
@media (max-width: 360px) {
  .fxmd-empty-icon { font-size: 1.8rem; }
  .fxmd-adj-chip { font-size: 0.73rem; padding: 4px 10px; }
}
