/* ============================================
   DACHI DOMA — Base Styles + Light Mode
   ============================================ */

/* === PRELOADER === */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
}

.preloader-icon {
  margin-bottom: 16px;
}

.preloader-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-logo {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.08em;
}

.preloader-logo p {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

/* === ANIMATIONS === */
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: modalFadeIn 0.3s ease-out;
}

/* === GOLDEN BUTTON — Base (both dark & light) === */
.golden-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FFD159 0%, #F6B800 100%);
  color: #ffffff;
  font-weight: 600;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(246, 184, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
}

.golden-btn:hover {
  box-shadow: 0 6px 20px rgba(246, 184, 0, 0.55);
  transform: translateY(-1px);
}

.golden-btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 10px rgba(246, 184, 0, 0.3);
}

/* === BTN ANIMATED === */
.btn-animated {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-animated:hover {
  transform: translateY(-2px);
}

.btn-animated:active {
  transform: translateY(0) scale(0.97);
}

/* === INPUT ANIMATED === */
.input-animated {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-animated:focus {
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.15);
}

/* ============================================
   Light Mode Overrides
   [data-theme="light"] selector ishlaydi
   ============================================ */

/* === BODY & ROOT === */
[data-theme="light"] body,
body.light-mode {
  background: #f1f5f9 !important;
  color: #1e293b !important;
}

[data-theme="light"] #root,
body.light-mode #root {
  background: linear-gradient(to bottom, #f8fafc, #eef2f7) !important;
  min-height: 100vh;
}

/* === NAVBAR / HEADER === */
[data-theme="light"] .navbar-sticky,
body.light-mode .navbar-sticky {
  background: rgba(248, 250, 252, 0.95) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06) !important;
}

[data-theme="light"] .navbar-sticky .text-white,
[data-theme="light"] .navbar-sticky .text-white\/90,
[data-theme="light"] .navbar-sticky .text-white\/80,
body.light-mode .navbar-sticky .text-white,
body.light-mode .navbar-sticky .text-white\/90 {
  color: #1e293b !important;
}

[data-theme="light"] .navbar-sticky button,
[data-theme="light"] .navbar-sticky a,
body.light-mode .navbar-sticky button,
body.light-mode .navbar-sticky a {
  color: #1e293b !important;
}

[data-theme="light"] .navbar-sticky .border-white\/10,
body.light-mode .navbar-sticky .border-white\/10 {
  border-color: #e2e8f0 !important;
}

/* === MAIN PAGE BACKGROUND === */
[data-theme="light"] body,
body.light-mode {
  background: linear-gradient(to bottom, #f8fafc, #eef2f7) !important;
}

[data-theme="light"] .min-h-screen,
body.light-mode .min-h-screen {
  background: linear-gradient(to bottom, #f8fafc, #eef2f7) !important;
}

[data-theme="light"] .bg-gradient-to-b,
body.light-mode .bg-gradient-to-b {
  background: linear-gradient(to bottom, #f8fafc, #eef2f7) !important;
}

/* Body's own Tailwind dark gradient classes */
[data-theme="light"] .from-\[\#242f3d\],
body.light-mode .from-\[\#242f3d\],
body.light-mode.from-\[\#242f3d\] {
  --tw-gradient-from: #f8fafc !important;
  background: linear-gradient(to bottom, #f8fafc, #eef2f7) !important;
}

[data-theme="light"] .to-\[\#17212b\],
body.light-mode .to-\[\#17212b\],
body.light-mode.to-\[\#17212b\] {
  --tw-gradient-to: #eef2f7 !important;
}

body.light-mode.bg-gradient-to-b {
  background: linear-gradient(to bottom, #f8fafc, #eef2f7) !important;
}

/* === CATALOG & SECTION DARK CONTAINERS === */
[data-theme="light"] .bg-\[#2c3e50\],
body.light-mode .bg-\[#2c3e50\] {
  background: #ffffff !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06) !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .bg-\[#344556\],
body.light-mode .bg-\[#344556\] {
  background: #ffffff !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06) !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .bg-\[#2c3e50\] h2,
[data-theme="light"] .bg-\[#2c3e50\] h1,
[data-theme="light"] .bg-\[#2c3e50\] h3,
body.light-mode .bg-\[#2c3e50\] h2,
body.light-mode .bg-\[#2c3e50\] h1,
body.light-mode .bg-\[#2c3e50\] h3 {
  color: #1e293b !important;
}

/* === FILTER BUTTONS (bg-white/10 on dark → light alternatives) === */
[data-theme="light"] .bg-white\/10,
body.light-mode .bg-white\/10 {
  background: #f1f5f9 !important;
}

[data-theme="light"] .bg-white\/10:hover,
body.light-mode .bg-white\/10:hover {
  background: #e2e8f0 !important;
}

[data-theme="light"] .bg-white\/20,
body.light-mode .bg-white\/20 {
  background: #e2e8f0 !important;
}

[data-theme="light"] .bg-white\/5,
body.light-mode .bg-white\/5 {
  background: #f8fafc !important;
}

/* Filter button borders */
[data-theme="light"] .border-white\/20,
body.light-mode .border-white\/20 {
  border-color: #cbd5e1 !important;
}

[data-theme="light"] .border-white\/10,
body.light-mode .border-white\/10 {
  border-color: #e2e8f0 !important;
}

/* === TEXT OVERRIDES === */
[data-theme="light"] .text-white,
body.light-mode .text-white { color: #1e293b !important; }

[data-theme="light"] .text-white\/90,
body.light-mode .text-white\/90 { color: #1e293b !important; }

[data-theme="light"] .text-white\/80,
body.light-mode .text-white\/80 { color: #334155 !important; }

[data-theme="light"] .text-white\/70,
body.light-mode .text-white\/70 { color: #475569 !important; }

[data-theme="light"] .text-white\/60,
body.light-mode .text-white\/60 { color: #64748b !important; }

[data-theme="light"] .text-white\/50,
body.light-mode .text-white\/50 { color: #94a3b8 !important; }

[data-theme="light"] .text-white\/30,
body.light-mode .text-white\/30 { color: #94a3b8 !important; }

[data-theme="light"] .text-slate-300,
body.light-mode .text-slate-300 { color: #475569 !important; }

[data-theme="light"] .text-slate-400,
body.light-mode .text-slate-400 { color: #64748b !important; }

/* === AMBER COUNTER BADGES === */
[data-theme="light"] .bg-amber-400\/20,
body.light-mode .bg-amber-400\/20 {
  background: #fef3c7 !important;
}

[data-theme="light"] .text-amber-300,
body.light-mode .text-amber-300 {
  color: #b45309 !important;
}

[data-theme="light"] .border-amber-400\/30,
body.light-mode .border-amber-400\/30 {
  border-color: #fbbf24 !important;
}

/* === AMBER SHADOW on pagination === */
[data-theme="light"] .shadow-amber-500\/50,
body.light-mode .shadow-amber-500\/50 {
  --tw-shadow-color: rgba(245, 158, 11, 0.3) !important;
}

/* === MOBILE HERO === */
[data-theme="light"] [style*="1e3a5f"],
body.light-mode [style*="1e3a5f"] {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 50%, #f0f9ff 100%) !important;
}

[data-theme="light"] [style*="1e3a5f"] *,
body.light-mode [style*="1e3a5f"] * {
  color: #1e293b !important;
}

/* === DISTRICT DROPDOWN === */
[data-theme="light"] aside .rounded-3xl,
body.light-mode aside .rounded-3xl {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
}

[data-theme="light"] aside .rounded-3xl button,
body.light-mode aside .rounded-3xl button {
  color: #1e293b !important;
}

/* === SEARCH PANEL === */
[data-theme="light"] [data-search-panel],
body.light-mode [data-search-panel] {
  border-top-color: #e2e8f0 !important;
}

[data-theme="light"] [data-search-panel] input,
body.light-mode [data-search-panel] input {
  background: #ffffff !important;
  color: #1e293b !important;
}

/* === MOBILE BOTTOM NAV === */
body.light-mode .md\:hidden.fixed.bottom-0 {
  background: #ffffff !important;
  border-top-color: #e2e8f0 !important;
}

/* === PAGINATION BUTTONS === */
[data-theme="light"] .bg-gradient-to-r.from-blue-500,
body.light-mode .bg-gradient-to-r.from-blue-500 {
  background: linear-gradient(to right, #3b82f6, #2563eb) !important;
}

/* === SECTION PAGES (Rent, Sell, etc.) DARK BG === */
[data-theme="light"] .from-\[\#2d3e50\],
body.light-mode .from-\[\#2d3e50\] {
  --tw-gradient-from: #f8fafc !important;
  --tw-gradient-to: #eef2f7 !important;
  background: linear-gradient(to bottom, #f8fafc, #eef2f7) !important;
}

[data-theme="light"] .to-\[\#1e2a38\],
body.light-mode .to-\[\#1e2a38\] {
  --tw-gradient-to: #eef2f7 !important;
}

/* === SLATE DARK BACKGROUNDS === */
[data-theme="light"] .bg-slate-700,
body.light-mode .bg-slate-700 {
  background-color: #e2e8f0 !important;
  color: #1e293b !important;
}

[data-theme="light"] .bg-slate-800,
body.light-mode .bg-slate-800 {
  background-color: #2563eb !important;
}

[data-theme="light"] .bg-slate-900,
body.light-mode .bg-slate-900 {
  background-color: #1e3a8a !important;
}

/* === DROP SHADOW TEXT === */
[data-theme="light"] .drop-shadow-sm,
body.light-mode .drop-shadow-sm {
  filter: none !important;
  -webkit-filter: none !important;
}

/* === FOOTER === */
[data-theme="light"] footer,
body.light-mode footer {
  background: #f8fafc !important;
  color: #1e293b !important;
  border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] footer .text-white,
body.light-mode footer .text-white {
  color: #1e293b !important;
}

[data-theme="light"] footer .text-slate-300,
body.light-mode footer .text-slate-300 {
  color: #475569 !important;
}

[data-theme="light"] footer .text-slate-400,
body.light-mode footer .text-slate-400 {
  color: #64748b !important;
}

[data-theme="light"] footer .border-slate-600,
body.light-mode footer .border-slate-600 {
  border-color: #e2e8f0 !important;
}

[data-theme="light"] footer h3,
[data-theme="light"] footer h4,
body.light-mode footer h3,
body.light-mode footer h4 {
  color: #1e293b !important;
}

/* === SOCIAL ICONS - keep white text on colored backgrounds === */
[data-theme="light"] .navbar-sticky .inline-flex.items-center.gap-2 a,
body.light-mode .navbar-sticky .inline-flex.items-center.gap-2 a {
  color: #ffffff !important;
}

/* === GOLDEN BTN in light mode — ensure white text stays === */
[data-theme="light"] .golden-btn,
body.light-mode .golden-btn,
[data-theme="light"] .navbar-sticky .golden-btn,
body.light-mode .navbar-sticky .golden-btn {
  color: #ffffff !important;
  background: linear-gradient(180deg, #FFD159 0%, #F6B800 100%) !important;
  border-radius: 2rem !important;
  box-shadow: 0 4px 15px rgba(246, 184, 0, 0.4) !important;
}

/* === KEEP WHITE TEXT on colored/gradient backgrounds in light mode === */
[data-theme="light"] .bg-amber-500,
[data-theme="light"] .bg-amber-600,
[data-theme="light"] .bg-amber-700,
body.light-mode .bg-amber-500,
body.light-mode .bg-amber-600,
body.light-mode .bg-amber-700 {
  color: #ffffff !important;
}

[data-theme="light"] .bg-gradient-to-r.from-blue-500,
[data-theme="light"] .bg-gradient-to-r.from-blue-600,
body.light-mode .bg-gradient-to-r.from-blue-500,
body.light-mode .bg-gradient-to-r.from-blue-600 {
  color: #ffffff !important;
}

[data-theme="light"] .bg-gradient-to-r.from-green-500,
[data-theme="light"] .bg-gradient-to-r.from-green-600,
body.light-mode .bg-gradient-to-r.from-green-500,
body.light-mode .bg-gradient-to-r.from-green-600 {
  color: #ffffff !important;
}

[data-theme="light"] .bg-gradient-to-r.from-red-500,
[data-theme="light"] .bg-gradient-to-r.from-red-600,
body.light-mode .bg-gradient-to-r.from-red-500,
body.light-mode .bg-gradient-to-r.from-red-600 {
  color: #ffffff !important;
}

[data-theme="light"] .bg-slate-900\/90,
body.light-mode .bg-slate-900\/90 {
  color: #ffffff !important;
}

/* === SCROLL TO TOP BUTTON — keep white text === */
[data-theme="light"] .rounded-full.bg-amber-500,
body.light-mode .rounded-full.bg-amber-500 {
  color: #ffffff !important;
}

/* === LISTING CARD — "Подробнее" button keep white text === */
[data-theme="light"] .card button.bg-gradient-to-r,
body.light-mode .card button.bg-gradient-to-r {
  color: #ffffff !important;
}

/* === CONSULTATION SECTION — light mode fine-tune === */
[data-theme="light"] #consultation,
body.light-mode #consultation {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] #consultation .golden-btn,
body.light-mode #consultation .golden-btn {
  color: #ffffff !important;
}

/* === MODALS - proper light mode styling === */
[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b {
  background: #ffffff !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .text-white,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .text-white {
  color: #1e293b !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .text-white\/90,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .text-white\/90 {
  color: #1e293b !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .text-white\/80,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .text-white\/80 {
  color: #475569 !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .text-white\/70,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .text-white\/70 {
  color: #64748b !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .bg-white\/10,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .bg-white\/10 {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .bg-white\/10:hover,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .bg-white\/10:hover {
  background: #f1f5f9 !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .bg-white\/20,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .bg-white\/20 {
  background: #f1f5f9 !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .border-white\/10,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .border-white\/10 {
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .text-slate-300,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .text-slate-300 {
  color: #475569 !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .text-slate-400,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .text-slate-400 {
  color: #64748b !important;
}

/* Modal info boxes - blue tip */
[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .bg-blue-500\/20,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .bg-blue-500\/20 {
  background: #dbeafe !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .border-blue-400\/30,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .border-blue-400\/30 {
  border-color: #93c5fd !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .text-blue-200,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .text-blue-200 {
  color: #1e40af !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .text-blue-100,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .text-blue-100 {
  color: #1e3a8a !important;
}

/* Modal info boxes - amber new */
[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .bg-amber-500\/20,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .bg-amber-500\/20 {
  background: #fef3c7 !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .border-amber-400\/30,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .border-amber-400\/30 {
  border-color: #fbbf24 !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .text-amber-200,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .text-amber-200 {
  color: #92400e !important;
}

[data-theme="light"] .fixed.inset-0.z-50 > .bg-gradient-to-b .text-amber-100,
body.light-mode .fixed.inset-0.z-50 > .bg-gradient-to-b .text-amber-100 {
  color: #78350f !important;
}

/* Modal overlay - lighter in light mode */
[data-theme="light"] .fixed.inset-0.z-50.bg-black\/80,
body.light-mode .fixed.inset-0.z-50.bg-black\/80 {
  background: rgba(0, 0, 0, 0.4) !important;
}

/* z-[9999] modals (Favorites, Profile) - light mode */
[data-theme="light"] .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b,
body.light-mode .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b {
  background: #ffffff !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b .text-white,
body.light-mode .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b .text-white {
  color: #1e293b !important;
}

[data-theme="light"] .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b .text-white\/80,
body.light-mode .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b .text-white\/80 {
  color: #475569 !important;
}

[data-theme="light"] .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b .text-white\/50,
body.light-mode .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b .text-white\/50 {
  color: #94a3b8 !important;
}

[data-theme="light"] .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b .bg-white\/10,
body.light-mode .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b .bg-white\/10 {
  background: #f1f5f9 !important;
}

[data-theme="light"] .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b svg[stroke="white"],
body.light-mode .fixed.inset-0.z-\[9999\] > .bg-gradient-to-b svg[stroke="white"] {
  stroke: #1e293b !important;
}

/* === LISTING MODAL — Dark Mode (default, no .light-mode on body) === */
body:not(.light-mode) .listing-modal-content {
  background: linear-gradient(to bottom right, #1e293b, #0f172a, #1e293b) !important;
}

body:not(.light-mode) .listing-modal-content .bg-gradient-to-b.from-slate-100 {
  background: linear-gradient(to bottom, #334155, transparent) !important;
}

body:not(.light-mode) .listing-modal-content .bg-slate-300 {
  background-color: #475569 !important;
}

body:not(.light-mode) .listing-modal-content .bg-slate-100 {
  background-color: #1e293b !important;
}

body:not(.light-mode) .listing-modal-content .bg-white {
  background-color: #1e293b !important;
}

body:not(.light-mode) .listing-modal-content .bg-gradient-to-br.from-blue-50 {
  background: linear-gradient(to bottom right, #1a2332, #0f172a, #1a1f3a) !important;
}

body:not(.light-mode) .listing-modal-content .bg-slate-50 {
  background-color: #1e293b !important;
}

body:not(.light-mode) .listing-modal-content .text-slate-900 {
  color: #f1f5f9 !important;
}

body:not(.light-mode) .listing-modal-content .text-slate-800 {
  color: #e2e8f0 !important;
}

body:not(.light-mode) .listing-modal-content .text-slate-700 {
  color: #cbd5e1 !important;
}

body:not(.light-mode) .listing-modal-content .text-slate-600 {
  color: #94a3b8 !important;
}

body:not(.light-mode) .listing-modal-content .text-slate-500 {
  color: #64748b !important;
}

body:not(.light-mode) .listing-modal-content .border-slate-200 {
  border-color: #334155 !important;
}

body:not(.light-mode) .listing-modal-content .border-slate-300 {
  border-color: #475569 !important;
}

body:not(.light-mode) .listing-modal-content .bg-white\/95 {
  background-color: rgba(30, 41, 59, 0.95) !important;
  color: #e2e8f0 !important;
}

body:not(.light-mode) .listing-modal-content .bg-white\/95 svg {
  stroke: #94a3b8 !important;
}

body:not(.light-mode) .listing-modal-content .bg-slate-200 {
  background-color: #334155 !important;
}

/* Tags inside modal */
body:not(.light-mode) .listing-modal-content .bg-teal-50 {
  background-color: rgba(20, 184, 166, 0.15) !important;
}

body:not(.light-mode) .listing-modal-content .border-teal-200 {
  border-color: rgba(20, 184, 166, 0.3) !important;
}

body:not(.light-mode) .listing-modal-content .text-teal-700 {
  color: #5eead4 !important;
}

body:not(.light-mode) .listing-modal-content .bg-blue-50 {
  background-color: rgba(59, 130, 246, 0.15) !important;
}

body:not(.light-mode) .listing-modal-content .border-blue-200 {
  border-color: rgba(59, 130, 246, 0.3) !important;
}

body:not(.light-mode) .listing-modal-content .text-blue-700 {
  color: #93c5fd !important;
}

body:not(.light-mode) .listing-modal-content .bg-green-50 {
  background-color: rgba(34, 197, 94, 0.15) !important;
}

body:not(.light-mode) .listing-modal-content .border-green-200 {
  border-color: rgba(34, 197, 94, 0.3) !important;
}

body:not(.light-mode) .listing-modal-content .text-green-700 {
  color: #86efac !important;
}

body:not(.light-mode) .listing-modal-content .bg-amber-50 {
  background-color: rgba(245, 158, 11, 0.15) !important;
}

body:not(.light-mode) .listing-modal-content .border-amber-200 {
  border-color: rgba(245, 158, 11, 0.3) !important;
}

body:not(.light-mode) .listing-modal-content .text-amber-700 {
  color: #fcd34d !important;
}

body:not(.light-mode) .listing-modal-content .bg-orange-50 {
  background-color: rgba(249, 115, 22, 0.15) !important;
}

body:not(.light-mode) .listing-modal-content .border-orange-400 {
  border-color: rgba(249, 115, 22, 0.4) !important;
}

body:not(.light-mode) .listing-modal-content .text-orange-700 {
  color: #fdba74 !important;
}

body:not(.light-mode) .listing-modal-content .bg-purple-50 {
  background-color: rgba(168, 85, 247, 0.15) !important;
}

body:not(.light-mode) .listing-modal-content .border-purple-400 {
  border-color: rgba(168, 85, 247, 0.4) !important;
}

body:not(.light-mode) .listing-modal-content .text-purple-700 {
  color: #d8b4fe !important;
}

/* Link/share section */
body:not(.light-mode) .listing-modal-content .p-3.bg-slate-50 {
  background-color: #0f172a !important;
  border-color: #334155 !important;
}

body:not(.light-mode) .listing-modal-content .bg-transparent.text-sm.text-slate-600 {
  color: #94a3b8 !important;
}

body:not(.light-mode) .listing-modal-content .text-blue-500 {
  color: #60a5fa !important;
}

/* Price badge */
body:not(.light-mode) .listing-modal-content .bg-white\/95.text-slate-900 {
  background-color: rgba(15, 23, 42, 0.9) !important;
  color: #f1f5f9 !important;
}

/* === ADMIN FORM SELECTS — force light style === */
select {
  background-color: #ffffff !important;
  color: #1e293b !important;
  color-scheme: light;
}

select option {
  background-color: #ffffff;
  color: #1e293b;
}

/* === TRANSITION === */
body, #root, .navbar-sticky, footer {
  transition: background-color 0.3s ease, color 0.2s ease;
}
