/* ============================================
   Ish Bor: asosiy sayt sahifalari
   ============================================ */

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Sarlavha ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.is-scrolled .site-header {
  padding: 10px 0;
  background: var(--glass);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -20px rgba(15, 20, 40, 0.35);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  user-select: none;
  border: 0;
  background: none;
  padding: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-size: 1.05rem;
  background: var(--grad);
  box-shadow: var(--shadow-brand);
  transition: transform 0.4s var(--ease-spring);
}

.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }

.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.logo-word span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 5px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-link:hover { color: var(--text); background: var(--surface-2); }

.nav-link.active {
  color: var(--brand);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.nav-link i { font-size: 0.95rem; }

.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

#guestMenu { display: flex; gap: 10px; }

#userMenu { align-items: center; gap: 10px; }

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease);
}

.user-chip:hover { border-color: var(--brand-ring); }

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--grad);
}

#userName {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Asosiy qism ---------- */

.main-content {
  padding: 1.5rem 0 4rem;
  min-height: calc(100vh - 260px);
}

#appContent.page-enter { animation: rise 0.5s var(--ease) both; }

.section { margin-bottom: 4.5rem; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
}

.section-sub { color: var(--muted); margin-top: 0.4rem; max-width: 560px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  border: 0;
  background: none;
  white-space: nowrap;
}

.link-more i { transition: transform 0.25s var(--ease); }
.link-more:hover i { transform: translateX(4px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 4.5rem;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  border-radius: 32px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] .detail-hero,
html[data-theme="dark"] .auth-aside,
html[data-theme="dark"] .site-footer {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), var(--shadow-lg);
}

.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.75;
  animation: drift 18s ease-in-out infinite;
}

.orb-1 { width: 460px; height: 460px; top: -160px; left: -80px; background: #5B4BFF; }
.orb-2 { width: 380px; height: 380px; bottom: -180px; right: 8%; background: #0EA5C6; animation-delay: -6s; animation-duration: 22s; }
.orb-3 { width: 300px; height: 300px; top: 20%; right: -90px; background: #A855F7; animation-delay: -11s; opacity: 0.55; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}

.hero-content > * { animation: rise 0.7s var(--ease) both; }
.hero-content > *:nth-child(2) { animation-delay: 0.08s; }
.hero-content > *:nth-child(3) { animation-delay: 0.16s; }
.hero-content > *:nth-child(4) { animation-delay: 0.24s; }
.hero-content > *:nth-child(5) { animation-delay: 0.32s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ED39B;
  animation: pulse-ring 1.8s infinite;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
}

.hero h1 .text-gradient {
  background: linear-gradient(100deg, #A99BFF, #E3B5FF 40%, #7FE3F7 80%, #A99BFF);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient-pan 6s linear infinite;
}

.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  padding: 7px 7px 7px 18px;
  margin-bottom: 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.hero-search:focus-within {
  border-color: rgba(169, 155, 255, 0.8);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 5px rgba(124, 109, 255, 0.22);
}

.hero-search > i { color: rgba(255, 255, 255, 0.6); }

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  padding: 0.6rem 0.2rem;
}

.hero-search input::placeholder { color: rgba(255, 255, 255, 0.5); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.4rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-stats span { color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; }

.hero-visual {
  position: relative;
  height: 400px;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: float 7s ease-in-out infinite;
  white-space: nowrap;
}

.float-card b { display: block; font-size: 0.95rem; }
.float-card small { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; }

.fc-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.05rem;
  color: #fff;
}

.fc-1 { top: 6%; left: 4%; }
.fc-1 .fc-icon { background: linear-gradient(135deg, #5B4BFF, #8B5CF6); }
.fc-2 { top: 34%; right: 0; animation-delay: -2s; }
.fc-2 .fc-icon { background: linear-gradient(135deg, #EC4899, #F97316); }
.fc-3 { bottom: 22%; left: 0; animation-delay: -4s; }
.fc-3 .fc-icon { background: linear-gradient(135deg, #10B981, #0EA5A4); }
.fc-4 { bottom: 0; right: 10%; animation-delay: -1s; }
.fc-4 .fc-icon { background: linear-gradient(135deg, #06B6D4, #3B82F6); }

/* ---------- Kategoriyalar ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.category-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 1.2rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.category-tile:hover {
  transform: translateY(-4px);
  border-color: var(--brand-ring);
  box-shadow: var(--shadow-md);
}

.category-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.1rem;
  color: var(--brand);
  background: var(--brand-soft);
  transition: all 0.35s var(--ease-spring);
}

.category-tile:hover .category-icon {
  color: #fff;
  background: var(--grad);
  transform: rotate(-8deg) scale(1.08);
}

.category-tile strong { font-family: var(--font-display); font-size: 1rem; color: var(--text); }
.category-tile small { color: var(--muted); font-size: 0.82rem; display: flex; align-items: center; gap: 6px; }

/* ---------- E'lon kartalari ---------- */

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.job-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.35rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.job-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-ring);
  box-shadow: var(--shadow-md);
}

.job-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
}

.cat-chip i {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand);
  background: var(--brand-soft);
  transition: all 0.35s var(--ease-spring);
}

.job-card:hover .cat-chip i { color: #fff; background: var(--grad); transform: rotate(-8deg); }

.cat-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.type-badge { font-size: 0.72rem; }
.type-temporary { background: var(--warning-soft); color: var(--warning); }
.type-permanent { background: var(--success-soft); color: var(--success); }
.type-project { background: var(--brand-soft); color: var(--brand); }
.type-remote { background: rgba(6, 182, 212, 0.12); color: #0891B2; }
html[data-theme="dark"] .type-remote { color: #4FD8F0; }

.job-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--border-strong);
}

.job-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.job-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 0.8rem;
  color: var(--muted);
  min-width: 0;
}

.job-meta span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.job-meta i { font-size: 0.75rem; }

.job-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.job-card.is-closed { opacity: 0.72; }

/* Skelet karta */
.job-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 1.35rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.sk-row { display: flex; justify-content: space-between; align-items: center; }
.sk-circle { width: 32px; height: 32px; border-radius: 10px; }
.sk-line { height: 12px; }

/* ---------- Bo'sh holat ---------- */

.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 3.5rem 1.5rem;
  border-radius: var(--r-xl);
  border: 1px dashed var(--border-strong);
  background: var(--surface);
}

.empty-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 0.6rem;
  border-radius: 22px;
  font-size: 1.7rem;
  color: var(--brand);
  background: var(--brand-soft);
  animation: float 5s ease-in-out infinite;
}

.empty-state.is-error .empty-icon { color: var(--danger); background: var(--danger-soft); }
.empty-state h3 { font-size: 1.2rem; }
.empty-state p { color: var(--muted); max-width: 420px; }
.empty-state .btn { margin-top: 0.8rem; }

/* ---------- Qanday ishlaydi ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 1.8rem 1.6rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.step-card::after {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 0.6rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--brand-soft-2);
  line-height: 1;
}

.step-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 15px;
  color: #fff;
  font-size: 1.15rem;
  background: var(--grad);
  box-shadow: var(--shadow-brand);
}

.step-card h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.step-card p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Chaqiruv bloki ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 28px;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-brand);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(400px 200px at 90% 0%, rgba(255, 255, 255, 0.28), transparent 70%),
    radial-gradient(300px 200px at 0% 100%, rgba(255, 255, 255, 0.18), transparent 70%);
}

.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255, 255, 255, 0.82); }
.cta-band .btn { --btn-bg: #fff; --btn-fg: #3B2FD0; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.4); }

/* ---------- Sahifa sarlavhasi ---------- */

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.page-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  width: min(380px, 100%);
}

.search-field i { position: absolute; left: 1rem; color: var(--muted); }
.search-field .form-control { padding-left: 2.7rem; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); }

.chip-row {
  display: flex;
  gap: 8px;
  margin-bottom: 1.6rem;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.87rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.chip:hover { border-color: var(--brand-ring); color: var(--brand); }

.chip.is-active {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  box-shadow: var(--shadow-brand);
}

.result-count { color: var(--muted); font-weight: 500; margin-top: 0.3rem; }

/* ---------- E'lon tafsilotlari ---------- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.2rem;
  padding: 0.5rem 0.9rem 0.5rem 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.back-link i { transition: transform 0.25s var(--ease); }
.back-link:hover { color: var(--brand); border-color: var(--brand-ring); }
.back-link:hover i { transform: translateX(-3px); }

.detail-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.4rem;
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.detail-hero .orb { opacity: 0.6; }
.detail-hero .orb-1 { width: 360px; height: 360px; top: -180px; left: -60px; }
.detail-hero .orb-2 { width: 300px; height: 300px; bottom: -200px; right: 10%; }

.detail-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }

.glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.detail-meta span { display: inline-flex; align-items: center; gap: 8px; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.4rem;
  align-items: start;
}

.detail-main { padding: clamp(1.4rem, 3vw, 2.2rem); }
.detail-main h2 { font-size: 1.25rem; margin-bottom: 1rem; }

.detail-desc {
  color: var(--text-2);
  font-size: 1.02rem;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.price-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-soft), transparent 80%), var(--surface-2);
  border: 1px solid var(--border);
}

.price-panel span { color: var(--muted); font-weight: 600; font-size: 0.9rem; }

.price-panel strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.detail-side { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 92px; }

.owner-card { padding: 1.3rem; }

.owner-row { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }

.owner-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
}

.owner-row h4 { font-size: 1.02rem; overflow-wrap: anywhere; }
.owner-row p { color: var(--muted); font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }
.owner-row .fa-star { color: #F5A524; }

.owner-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.owner-stats div {
  padding: 0.7rem;
  border-radius: 12px;
  background: var(--surface-2);
  text-align: center;
}

.owner-stats strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.owner-stats span { font-size: 0.78rem; color: var(--muted); }

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}

.contact-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.contact-card p { color: var(--muted); font-size: 0.9rem; }

.contact-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 20px;
  font-size: 1.5rem;
}

.contact-card.is-locked {
  background:
    radial-gradient(300px 160px at 50% 0%, var(--brand-soft-2), transparent 70%),
    var(--surface);
  border-color: var(--brand-ring);
}

.contact-card.is-locked .contact-icon {
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-brand);
  animation: float 4s ease-in-out infinite;
}

.contact-card.is-open,
.contact-card.is-owner {
  border-color: color-mix(in srgb, var(--success) 35%, transparent);
  background:
    radial-gradient(300px 160px at 50% 0%, var(--success-soft), transparent 70%),
    var(--surface);
}

.contact-card.is-open .contact-icon,
.contact-card.is-owner .contact-icon { color: var(--success); background: var(--success-soft); }

.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 1.1rem 0 1.2rem;
  padding: 0.55rem 1.1rem;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.price-pill strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.price-pill small { color: var(--muted); font-weight: 600; }

.contact-balance { margin-top: 0.9rem; font-size: 0.85rem; color: var(--muted); }
.contact-balance strong { color: var(--text); }

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* Tafsilot skeleti */
.detail-skeleton .sk-hero { height: 210px; border-radius: 28px; margin-bottom: 1.4rem; }
.detail-skeleton .sk-body { height: 320px; border-radius: var(--r-lg); }
.detail-skeleton .sk-side { height: 320px; border-radius: var(--r-lg); }

/* ---------- Forma sahifalari ---------- */

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.4rem;
  align-items: start;
}

.form-card { padding: clamp(1.4rem, 3vw, 2.2rem); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.form-card .btn[type="submit"] { margin-top: 0.6rem; }

.tips-card {
  position: sticky;
  top: 92px;
  padding: 1.6rem;
  overflow: hidden;
}

.tips-card h3 { font-size: 1.05rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.tips-card h3 i { color: #F5A524; }

.tips-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }

.tips-card li {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.tips-card li i { color: var(--success); margin-top: 4px; }

.tips-note {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--text-2);
  font-size: 0.85rem;
}

/* Kirish va ro'yxatdan o'tish */
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1040px;
  margin: 1.5rem auto 0;
  border-radius: 32px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.auth-aside {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.6rem;
  color: #fff;
  background: var(--ink);
}

.auth-aside .orb-1 { width: 340px; height: 340px; top: -120px; left: -100px; }
.auth-aside .orb-2 { width: 300px; height: 300px; bottom: -140px; right: -80px; }

.auth-aside h2 { color: #fff; font-size: 2rem; margin-bottom: 0.7rem; }
.auth-aside p { color: rgba(255, 255, 255, 0.7); }

.auth-benefits { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }

.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.auth-benefits i {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad);
}

.auth-card { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.auth-title { font-size: 1.9rem; margin-bottom: 0.35rem; }
.auth-sub { color: var(--muted); margin-bottom: 1.8rem; }

.auth-switch { margin-top: 1.4rem; text-align: center; color: var(--muted); font-size: 0.93rem; }
.auth-switch a { font-weight: 700; cursor: pointer; }

/* ---------- Profil ---------- */

.profile-card { overflow: hidden; margin-bottom: 1.4rem; }

.profile-cover {
  position: relative;
  height: 130px;
  overflow: hidden;
  background: var(--ink);
}

.profile-cover .orb-1 { width: 300px; height: 300px; top: -150px; left: 10%; }
.profile-cover .orb-2 { width: 260px; height: 260px; top: -100px; right: 5%; }

.profile-body {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 0 2rem 1.6rem;
  flex-wrap: wrap;
}

.profile-avatar {
  position: relative;
  margin-top: -54px;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 32px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--grad);
  border: 5px solid var(--surface);
  box-shadow: var(--shadow-brand);
}

.profile-info { padding-top: 1rem; min-width: 0; }
.profile-info h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.4rem; overflow-wrap: anywhere; }

.profile-info p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 1.2rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}

.wallet-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 1.8rem;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, #3B2FD0 0%, #6D4BFF 45%, #1BA6D1 120%);
  box-shadow: var(--shadow-brand);
}

/* Bank kartasiga o'xshash yaltirash */
.wallet-card::before {
  content: '';
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(255, 255, 255, 0.16) 60deg, transparent 120deg);
  animation: spin 9s linear infinite;
}

.wallet-card::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  z-index: -1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, 0.08);
}

.wallet-label { display: flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }

.balance-amount {
  margin: 1rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.wallet-note { color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; margin-bottom: 1.4rem; }

.stats-card { padding: 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }

.stats-card h3 { grid-column: 1 / -1; font-size: 1rem; color: var(--text-2); }

.mini-stat {
  padding: 1rem;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.mini-stat i { color: var(--brand); margin-bottom: 0.6rem; display: block; }
.mini-stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.mini-stat span { color: var(--muted); font-size: 0.82rem; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  margin-top: 2rem;
  padding: 3.5rem 0 2rem;
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7C6DFF, #22B8E0, transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-word { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 360px; font-size: 0.93rem; }

.footer-section h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-section p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}

.footer-section p i { width: 16px; color: #A99BFF; }

.social-row { display: flex; gap: 10px; }

.social-row span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s var(--ease);
}

.social-row span:hover { background: var(--grad); transform: translateY(-3px); }

.footer-bottom {
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Moslashuvchanlik ---------- */

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .detail-grid,
  .post-layout { grid-template-columns: 1fr; }
  .detail-side,
  .tips-card { position: static; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }

  .site-header,
  .is-scrolled .site-header { padding: 10px 0; }

  /* backdrop-filter fixed pastki menyuni sarlavha ichiga "qamab" qo'yadi, shuning uchun telefonda yo'q */
  .is-scrolled .site-header {
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-content { gap: 0.6rem; }
  .logo-word { font-size: 1.2rem; }
  .logo-mark { width: 36px; height: 36px; }

  /* Pastki navigatsiya paneli */
  .main-nav ul {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1000;
    justify-content: space-around;
    padding: 6px;
    border-radius: 20px;
    background: var(--glass);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
  }

  .main-nav li { flex: 1; }

  .nav-link {
    flex-direction: column;
    gap: 3px;
    padding: 0.5rem 0.2rem;
    font-size: 0.7rem;
    text-align: center;
  }

  .nav-link i { font-size: 1.15rem; }

  #guestMenu .btn { padding: 0.55rem 0.85rem; font-size: 0.85rem; }
  #guestMenu .btn-outline { display: none; }
  #userName { display: none; }
  .user-chip { padding: 3px; }

  .main-content { padding-bottom: 110px; }
  .section { margin-bottom: 3rem; }
  .section-head { flex-direction: column; align-items: flex-start; }

  .hero { border-radius: 24px; margin-bottom: 3rem; }
  .hero-search { flex-wrap: wrap; padding: 8px; }
  .hero-search > i { display: none; }
  .hero-search input { padding: 0.5rem 0.6rem; }
  .hero-search .btn { width: 100%; }
  .hero-stats { gap: 1.4rem; }
  .hero-stats strong { font-size: 1.5rem; }

  .jobs-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .profile-body { padding: 0 1.2rem 1.4rem; }
  .profile-avatar { width: 92px; height: 92px; font-size: 2.2rem; border-radius: 26px; }

  .footer-content { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 7rem; }
}

@media (max-width: 340px) {
  .logo-word { display: none; }
}
