:root {
  --bg: #0f0f13;
  --surface: #1a1a24;
  --s2: #22222f;
  --s3: #2a2a3a;
  --accent: #ff6b2b;
  --accent2: #ffb347;
  --text: #f0eff5;
  --t2: #9998b0;
  --border: #2e2e3f;
  --ok: #2ecc71;
  --err: #e74c3c;
  --r: 14px;
  --vip: #f1c40f;
  --vipp: #a855f7
}

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

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden
}

::-webkit-scrollbar {
  width: 5px
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 19, .95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 12px
}

.logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap
}

.logo span {
  color: var(--accent)
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none
}

.nav-links::-webkit-scrollbar {
  display: none
}

.nav-a {
  color: var(--t2);
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
  white-space: nowrap
}

.bp {
  background: var(--accent);
  color: #fff
}

.bp:hover {
  background: #ff8c55;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 43, .35)
}

.bo {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border)
}

.bo:hover {
  border-color: var(--accent);
  color: var(--accent)
}

.bg {
  background: var(--surface);
  color: var(--text)
}

.bg:hover {
  background: var(--s2)
}

.bok {
  background: var(--ok);
  color: #fff
}

.berr {
  background: var(--err);
  color: #fff
}

.bvip {
  background: linear-gradient(135deg, #f1c40f, #e67e22);
  color: #000
}

.bvipp {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff
}

.bs {
  padding: 7px 13px;
  font-size: 12px
}

/* PAGES */
.page {
  display: none;
  min-height: 100vh;
  padding-top: 64px
}

.page.active {
  display: block
}

@media(max-width:600px) {
  .page {
    padding-top: 56px
  }
}

/* HERO */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: radial-gradient(ellipse 80% 50% at 50% -5%, rgba(255, 107, 43, .13), transparent)
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 43, .1);
  border: 1px solid rgba(255, 107, 43, .3);
  color: var(--accent);
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fid .6s ease
}

.hero h1 {
  font-size: clamp(32px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 16px;
  animation: fid .6s ease .1s both
}

.hero h1 span {
  color: var(--accent)
}

.hero p {
  font-size: 17px;
  color: var(--t2);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 36px;
  animation: fid .6s ease .2s both
}

.search-wrap {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 540px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  overflow: hidden;
  margin-bottom: 36px;
  animation: fid .6s ease .3s both;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .4)
}

.search-wrap input {
  flex: 1;
  padding: 15px 18px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text)
}

.search-wrap input::placeholder {
  color: var(--t2)
}

.search-wrap button {
  padding: 10px 20px;
  margin: 6px;
  border-radius: 9px
}

.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 620px;
  animation: fid .6s ease .4s both
}

.pill {
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 12px;
  color: var(--t2);
  cursor: pointer;
  transition: .2s
}

.pill:hover,
.pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fid .6s ease .5s both
}

.stat .sn {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent)
}

.stat .sl {
  font-size: 12px;
  color: var(--t2);
  margin-top: 3px
}

/* SECTION */
.sec {
  padding: 64px 20px;
  max-width: 1080px;
  margin: 0 auto
}

.sh {
  margin-bottom: 32px
}

.sh h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px
}

.sh p {
  color: var(--t2);
  margin-top: 6px
}

.sh-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px
}

/* HANDYMAN CARD */
.hcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  cursor: pointer;
  transition: all .25s;
  position: relative;
  overflow: hidden
}

.hcard:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .4)
}

.hcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: .3s
}

.hcard:hover::before {
  transform: scaleX(1)
}

.hcard.is-vip {
  border-color: rgba(241, 196, 15, .35)
}

.hcard.is-vipp {
  border-color: rgba(168, 85, 247, .45)
}

.vip-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800
}

.vip-ribbon.vip {
  background: rgba(241, 196, 15, .15);
  color: var(--vip);
  border: 1px solid rgba(241, 196, 15, .4)
}

.vip-ribbon.vipp {
  background: rgba(168, 85, 247, .15);
  color: var(--vipp);
  border: 1px solid rgba(168, 85, 247, .4)
}

.ct {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px
}

.av {
  width: 52px;
  height: 52px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0
}

.ci h3 {
  font-size: 15px;
  font-weight: 700
}

.ci .sp {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px
}

.ci .loc {
  font-size: 11px;
  color: var(--t2);
  margin-top: 3px
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700
}

.bv {
  background: rgba(46, 204, 113, .12);
  color: var(--ok)
}

.bt {
  background: rgba(255, 107, 43, .12);
  color: var(--accent)
}

.cs {
  display: flex;
  gap: 14px;
  margin-top: 10px
}

.cst {
  font-size: 11px;
  color: var(--t2)
}

.cst strong {
  color: var(--text);
  font-size: 13px;
  display: block
}

.stars {
  color: #ffd700;
  font-size: 12px
}

/* ══════ HANDYMAN CARD v2 (reference match) ══════════ */
/* Premium CHAT CARD — same family of cards as request/handyman v2 */
.chats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 800px) {
  .chats-grid { grid-template-columns: 1fr }
}
.chat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
}
.chat-card:hover {
  border-color: rgba(255, 107, 43, .4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.chat-card.unread {
  background: linear-gradient(135deg, var(--surface), rgba(255,107,43,.04));
  border-color: rgba(255,107,43,.3);
}
.chat-card-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--s2);
}
.chat-card-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.chat-card-emoji {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}
.chat-card-body {
  flex: 1;
  min-width: 0;
}
.chat-card-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.chat-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.chat-card-time {
  font-size: 11px;
  color: var(--t2);
  flex-shrink: 0;
}
.chat-card-req {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-card-last {
  font-size: 12px;
  color: var(--t2);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.chat-card-unread {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Premium PROPOSAL CARD (received & sent) */
.proposal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.proposal-card:hover {
  border-color: rgba(155,89,182,.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(155,89,182,.18);
}
.proposal-card-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.proposal-card-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--s2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}
.proposal-card-avatar img { width: 100%; height: 100%; object-fit: cover }
.proposal-card-info { flex: 1; min-width: 0 }
.proposal-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proposal-card-title {
  font-size: 14px;
  color: var(--text);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.proposal-card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.proposal-card-right {
  text-align: right;
  flex-shrink: 0;
}
.proposal-card-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

/* ══════ HANDYMAN CARD v2 ══════════ */
/* VIP+ COMPANIES showcase — purple gradient frame, reference-match */
.vipp-showcase {
  background: linear-gradient(135deg, rgba(139,92,246,.16), rgba(155,89,182,.10) 50%, rgba(59,130,246,.08));
  border: 1px solid rgba(155,89,182,.35);
  border-radius: 20px;
  padding: 22px 24px 26px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.vipp-showcase::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(168,85,247,.25), transparent 70%);
  pointer-events: none;
}
.vipp-showcase-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.vipp-crown {
  font-size: 32px;
  filter: drop-shadow(0 4px 10px rgba(255,193,7,.4));
}
.vipp-showcase-titles { flex: 1; min-width: 0 }
.vipp-showcase-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.3px;
}
.vipp-showcase-sub {
  color: var(--t2);
  font-size: 13px;
  margin-top: 2px;
  line-height: 1.5;
}

.vipp-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1200px) {
  .vipp-showcase-grid { grid-template-columns: repeat(3, 1fr) }
}
@media (max-width: 900px) {
  .vipp-showcase-grid { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 520px) {
  .vipp-showcase-grid { grid-template-columns: 1fr }
  .vipp-showcase { padding: 18px 16px }
  .vipp-showcase-title { font-size: 17px }
}

/* Compact company card (inside showcase) — no action button */
.vipp-company {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: .2s ease;
  position: relative;
}
.vipp-company:hover {
  border-color: rgba(168,85,247,.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(168,85,247,.2);
}
.vipp-company-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.vipp-company-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--s2);
  font-size: 20px;
}
.vipp-company-logo img {
  width: 100%; height: 100%; object-fit: cover;
}
.vipp-company-info { flex: 1; min-width: 0 }
.vipp-company-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.25;
}
.vipp-company-name .vipp-tag {
  padding: 2px 6px;
  background: rgba(168,85,247,.18);
  color: #a855f7;
  border: 1px solid rgba(168,85,247,.45);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}
.vipp-company-spec {
  font-size: 11px;
  color: var(--t2);
  margin-top: 3px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vipp-company-city {
  font-size: 11px;
  color: var(--t2);
  margin-top: 3px;
}
.vipp-company-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text);
}
.vipp-company-stats .rating {
  color: #fbbf24;
  font-weight: 700;
}
.vipp-company-verified {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: rgba(46,204,113,.12);
  color: var(--ok);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  width: fit-content;
}

/* ══════ HANDYMAN CARD v2 ══════════ */
.handymen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .handymen-grid { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 700px) {
  .handymen-grid { grid-template-columns: 1fr }
}

.hcard-v2 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
}
.hcard-v2:hover {
  border-color: rgba(255, 107, 43, .4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}

.hcard-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hcard-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  color: #fff;
}
.hcard-info {
  flex: 1;
  min-width: 0;
}
.hcard-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hcard-spec {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hcard-loc {
  font-size: 11px;
  color: var(--t2);
  margin-top: 4px;
}
.hcard-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hcard-plan {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3px;
}
.hcard-verified {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(46,204,113,.12);
  border: 1px solid rgba(46,204,113,.3);
  color: var(--ok);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
}

.hcard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
  background: var(--s2);
  border-radius: 10px;
}
.hcard-stat {
  text-align: center;
  font-size: 11px;
  color: var(--t2);
}
.hcard-stat strong {
  display: block;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 2px;
}

/* "New profile" stats — used while user has 0 reviews and < 2 jobs */
.hcard-stats-new {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  padding: 10px 8px;
  background: linear-gradient(135deg, rgba(255,193,7,.07), rgba(168,85,247,.07));
  border: 1px solid var(--border);
  border-radius: 10px;
}
.hcard-stat-new {
  text-align: center;
  flex: 1;
  min-width: 0;
}
.hcard-stat-new-emoji {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 4px;
}
.hcard-stat-new-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
}
.hcard-stat-new.r .hcard-stat-new-label { color: #fbbf24 }
.hcard-stat-new.s .hcard-stat-new-label { color: #a855f7 }
.hcard-stat-new.j .hcard-stat-new-label { color: var(--ok) }
@media (max-width: 600px) {
  .hcard-stats-new { padding: 8px 6px }
  .hcard-stat-new-emoji { font-size: 16px }
  .hcard-stat-new-label { font-size: 9px }
}

.hcard-skills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.hcard-skill {
  padding: 4px 9px;
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 10px;
  color: var(--t2);
  font-weight: 500;
}

.hcard-action {
  margin-top: auto;
  padding: 11px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: .15s;
  width: 100%;
}
.hcard-action:hover { filter: brightness(1.1); transform: translateY(-1px) }
.hcard-action:active { transform: translateY(0) }

@media (max-width: 600px) {
  .hcard-v2 { padding: 14px; border-radius: 14px }
  .hcard-name { font-size: 14px }
  .hcard-stats { padding: 8px }
  .hcard-stat strong { font-size: 14px }
  .hcard-action { padding: 10px; font-size: 12px }
}
/* ── Request card: horizontal layout (image left, content right) ── */
.rcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 0;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rcard:hover {
  border-color: rgba(255, 107, 43, .4);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
}

/* Body: flex row containing image + content */
.rcard-body {
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 14px;
}

/* Image wrapper — fixed square */
.rcard-img-wrap {
  width: 110px;
  min-width: 110px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.rcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rcard-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}
/* Category label overlaid on image (top-left) */
.rcard-img-cat {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  max-width: calc(100% - 12px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

/* Content area */
.rcard-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Top row: badges left + heart right */
.rcard-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}
.rcard-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.rcard-top-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0 }

/* Status pills */
.rcard-status {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
}
.rcard-status.new     { background: rgba(46,204,113,.18); color: var(--ok); }
.rcard-status.pending { background: rgba(255,107,43,.18); color: var(--accent); }
.rcard-status.closed  { background: rgba(153,152,176,.18); color: var(--t2); }
.rcard-status.urgent  { background: rgba(231,76,60,.18); color: #ff4848; }

/* Favorite button */
.rcard-fav {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 15px;
  color: var(--t2);
  background: transparent;
  border: none;
  transition: .15s;
}
.rcard-fav:hover { background: rgba(231,76,60,.15); color: #ff4848 }
.rcard-fav.active { color: #ff4848 }

/* Title */
.rcard-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta row: location, price, offer count */
.rcard-meta-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: auto;
}
.rcard-meta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 9px;
  background: rgba(30,30,40,.5);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 11px;
  color: var(--t2);
  font-weight: 600;
}
.rcard-meta-price { color: #fbbf24 }
.rcard-meta-offers { color: var(--ok) }

/* rcard-cat is still used in detail view — keep it */
.rcard-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  max-width: 65%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Action button — flush with bottom, full width */
.rcard-action {
  padding: 11px;
  border-radius: 0 0 15px 15px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: .15s;
  width: 100%;
}
.rcard-action:hover { filter: brightness(1.12) }
.rcard-action:active { filter: brightness(0.95) }

/* Desktop grid — 2 columns for horizontal cards */
.requests-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) {
  .requests-grid { grid-template-columns: 1fr }
}

/* ═══ FILTER BAR (reference-match) ══════════════════════════ */
.filter-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: .15s;
  min-width: 140px;
}
.filter-btn:hover { border-color: rgba(255,107,43,.5) }
.filter-btn.active {
  background: rgba(255,107,43,.1);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}
.filter-btn .arrow { color: var(--t2); font-size: 11px }
.filter-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 12px;
  flex: 1;
  min-width: 200px;
}
.filter-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  padding: 11px 0;
  font-size: 13px;
  flex: 1;
  width: 100%;
}
.filter-search-icon { color: var(--t2); font-size: 14px; flex-shrink: 0 }
.filter-icon-btn {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  transition: .15s;
  flex-shrink: 0;
}
.filter-icon-btn:hover { border-color: var(--accent); color: var(--accent) }
.filter-icon-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Mobile: single "ფილტრები" button opens modal */
.filter-mobile {
  display: none;
  flex: 1;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}

/* ══ CITY PICKER modal ════════════════════════════════════ */
.city-picker-list {
  max-height: 60vh;
  overflow-y: auto;
  margin: 10px 0;
}
.city-item {
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: .1s;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
}
.city-item:hover { background: var(--s2); border-color: var(--border) }
.city-item.selected {
  background: rgba(255,107,43,.1);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.city-search-box {
  margin-bottom: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  width: 100%;
  font-size: 14px;
}

/* ══ CTA banner "შენი მოთხოვნა არ არის ნახვენი?" ═══════════ */
.cta-banner {
  margin-top: 24px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta-banner-icon {
  font-size: 36px;
  flex-shrink: 0;
}
.cta-banner-content { flex: 1; min-width: 0 }
.cta-banner-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.cta-banner-sub {
  color: var(--t2);
  font-size: 13px;
  line-height: 1.5;
}
.cta-banner-btn {
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--accent), #ff8c55);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cta-banner-btn:hover { filter: brightness(1.1) }
@media (max-width: 600px) {
  .cta-banner { flex-direction: column; text-align: center }
  .cta-banner-btn { width: 100% }
}

.tag.urg {
  background: rgba(231, 76, 60, .1);
  border-color: rgba(231, 76, 60, .3);
  color: #e74c3c
}

/* STATUS */
.status {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700
}

.sn {
  background: rgba(255, 107, 43, .15);
  color: var(--accent)
}

.sa {
  background: rgba(46, 204, 113, .15);
  color: var(--ok)
}

.sd {
  background: rgba(231, 76, 60, .15);
  color: var(--err, #e74c3c)
}

/* MODAL */
.mo {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px
}

.mo.open {
  display: flex
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: min .3s ease;
  position: relative
}

.modal.wide {
  max-width: 680px
}

@keyframes min {
  from {
    opacity: 0;
    transform: scale(.92) translateY(20px)
  }

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

.modal h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px
}

.modal>.sub {
  color: var(--t2);
  font-size: 13px;
  margin-bottom: 24px
}

.mc {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--s2);
  border: none;
  color: var(--t2);
  width: 30px;
  height: 30px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s
}

.mc:hover {
  color: var(--text);
  background: var(--border)
}

.fg {
  margin-bottom: 16px
}

.fg label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--t2)
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: .2s;
  font-family: inherit
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--accent)
}

.fg select option {
  background: var(--surface)
}

.fg textarea {
  min-height: 80px;
  resize: vertical
}

.fr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 14px 18px;
  max-width: 300px;
  animation: tin .3s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5)
}

.toast.ok {
  border-color: var(--ok)
}

.toast.err {
  border-color: var(--err)
}

.tt {
  font-weight: 700;
  font-size: 14px
}

.tm {
  color: var(--t2);
  font-size: 12px;
  margin-top: 3px
}

@keyframes tin {
  from {
    opacity: 0;
    transform: translateX(20px)
  }

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

/* TABS */
.tabs {
  display: flex;
  gap: 3px;
  background: var(--surface);
  border-radius: 9px;
  padding: 3px;
  margin-bottom: 20px
}

.tab {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 7px;
  transition: .2s;
  color: var(--t2)
}

.tab.active {
  background: var(--accent);
  color: #fff
}

/* PAGE HEADER */
.ph {
  background: linear-gradient(180deg, rgba(255, 107, 43, .06), transparent);
  border-bottom: 1px solid var(--border);
  padding: 36px 20px 28px
}

.phi {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px
}

.phi h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px
}

.phi p {
  color: var(--t2);
  margin-top: 6px;
  font-size: 13px
}

/* FILTER BAR */
.fb {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center
}

.fb select {
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  outline: none;
  cursor: pointer
}

/* PROFILE */
.prof-hero {
  background: linear-gradient(180deg, rgba(255, 107, 43, .07), transparent);
  border-bottom: 1px solid var(--border);
  padding: 36px 20px
}

.prof-c {
  max-width: 880px;
  margin: 0 auto
}

.prof-top {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap
}

.prof-top > div {
  min-width: 0;
  flex: 1
}

.pav {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  flex-shrink: 0
}

.pname {
  font-size: 26px;
  font-weight: 800;
  word-break: break-word;
  overflow-wrap: break-word
}

.psp {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-top: 3px
}

.pbadges {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap
}

.pactions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap
}

.prof-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  padding: 32px 20px;
  max-width: 880px;
  margin: 0 auto;
  box-sizing: border-box
}

.prof-grid > div {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word
}

@media(max-width:660px) {
  .prof-grid {
    grid-template-columns: 1fr;
    padding: 16px 12px;
    gap: 14px;
    overflow-x: hidden
  }

  .fr {
    grid-template-columns: 1fr
  }
}

/* ===== MOBILE RESPONSIVE ===== */
@media(max-width:600px) {

  /* Nav */
  nav {
    padding: 0 10px;
    height: 56px
  }

  .logo {
    font-size: 16px
  }

  .nav-links {
    gap: 3px
  }

  .nav-a {
    font-size: 11px;
    padding: 5px 7px
  }

  .btn.bs {
    padding: 6px 9px;
    font-size: 11px
  }

  .btn-user-nav {
    font-size: 11px;
    padding: 6px 9px
  }

  /* Hero */
  .hero {
    padding: 22px 12px;
    min-height: auto
  }

  .hero h1 {
    font-size: clamp(24px, 8vw, 40px);
    letter-spacing: -1px
  }

  .hero p {
    font-size: 13px;
    margin-bottom: 20px
  }

  .search-wrap {
    border-radius: 11px
  }

  .search-wrap input {
    padding: 11px 12px;
    font-size: 13px
  }

  .stats-row {
    gap: 16px;
    margin-top: 24px
  }

  .stat .sn {
    font-size: 20px
  }

  /* Section */
  .sec {
    padding: 28px 12px
  }

  .sh h2 {
    font-size: 20px
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .hcard {
    padding: 14px
  }

  /* Page header */
  .ph {
    padding: 20px 12px 16px
  }

  .phi {
    flex-direction: column;
    align-items: flex-start
  }

  .phi h1 {
    font-size: 20px
  }

  /* Profile */
  .prof-hero {
    padding: 18px 12px
  }

  .prof-top {
    flex-direction: column;
    gap: 12px
  }

  .pav {
    width: 64px;
    height: 64px;
    font-size: 24px;
    border-radius: 14px
  }

  .pname {
    font-size: 19px
  }

  .pactions {
    flex-wrap: wrap;
    gap: 6px
  }

  .pactions .btn {
    font-size: 11px;
    padding: 7px 10px
  }

  .prof-grid {
    grid-template-columns: 1fr;
    padding: 14px 12px;
    gap: 12px;
    overflow-x: hidden
  }

  .prof-grid > div {
    min-width: 0;
    max-width: 100%
  }

  .prof-top > div:last-child {
    min-width: 0;
    flex: 1;
    max-width: 100%
  }

  .pname {
    word-break: break-word;
    overflow-wrap: break-word
  }

  .pactions {
    flex-wrap: wrap
  }

  .pactions .btn {
    white-space: normal;
    text-align: center;
    flex-shrink: 1
  }

  #pInfo, #pServices {
    word-break: break-word;
    overflow-wrap: break-word
  }

  #pInfo div, #pServices div {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis
  }

  .ic {
    padding: 12px;
    overflow: hidden
  }

  .wgrid {
    grid-template-columns: repeat(3, 1fr)
  }

  /* Modal */
  .modal {
    padding: 20px 14px;
    border-radius: 14px;
    max-width: 100%
  }

  .modal h2 {
    font-size: 17px
  }

  .mo {
    padding: 8px
  }

  .fr {
    grid-template-columns: 1fr
  }

  .atype {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px
  }

  .at {
    padding: 9px 5px
  }

  .at .ate {
    font-size: 17px
  }

  .at .atn {
    font-size: 9px
  }

  .at .atd {
    font-size: 9px
  }

  /* Dashboard */
  .dg {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px
  }

  .dc {
    padding: 12px
  }

  .dc .dn {
    font-size: 22px
  }

  .dash-tabs {
    margin-bottom: 16px
  }

  .dash-tab {
    font-size: 12px;
    padding: 11px 8px
  }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none
  }

  .tabs::-webkit-scrollbar {
    display: none
  }

  .tab {
    white-space: nowrap;
    min-width: fit-content;
    font-size: 12px;
    padding: 7px 12px
  }

  /* Chat */
  .chat-header {
    padding: 10px 12px;
    gap: 8px
  }

  .chat-body {
    padding: 10px
  }

  .chat-footer {
    padding: 8px 10px
  }

  .msg {
    max-width: 87%;
    font-size: 12px
  }

  /* Requests — mobile */
  .requests-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rcard-body { padding: 11px; gap: 10px }
  .rcard-img-wrap { width: 88px; min-width: 88px; height: 88px }
  .rcard-img-placeholder { font-size: 34px }
  .rcard-title { font-size: 14px }
  .rcard-meta { font-size: 10px; padding: 3px 7px }
  .rcard-action { padding: 10px; font-size: 12px }

  /* Hide full filter row, show single mobile filter button */
  .filter-row .filter-btn:not(.filter-mobile) {
    display: none;
  }
  .filter-row .filter-search { flex: 1 }
  .filter-mobile { display: flex !important }

  .oi {
    flex-direction: column;
    align-items: flex-start
  }

  /* Filter bar */
  .fb {
    gap: 6px
  }

  .fb select {
    font-size: 11px;
    padding: 5px 7px
  }

  /* Admin table */
  .admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
  }

  /* VIP cards */
  .vip-cards {
    grid-template-columns: 1fr;
    max-width: 100%
  }

  /* Pricing */
  .pg {
    grid-template-columns: 1fr
  }

  .pc {
    padding: 20px 16px
  }

  /* Tariff cards */
  .tariff-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px
  }

  .tc {
    padding: 9px 5px
  }

  .tc .tc-name {
    font-size: 11px
  }

  .tc .tc-price {
    font-size: 13px
  }

  /* How grid */
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
  }

  .how-c {
    padding: 16px 12px
  }

  /* Toast */
  .toast {
    left: 10px;
    right: 10px;
    bottom: 72px;
    max-width: none
  }

  /* Pills */
  .pills {
    gap: 5px
  }

  .pill {
    font-size: 10px;
    padding: 5px 10px
  }

  /* Footer */
  footer {
    padding: 20px 12px
  }

  /* ARIA widget */
  #ariaWidget {
    width: calc(100vw - 20px);
    right: 10px;
    bottom: 72px;
    max-height: 440px
  }

  #ariaToggle {
    bottom: 14px;
    right: 14px
  }

  /* Spec grid mobile */
  .spec-grid {
    grid-template-columns: 1fr
  }

  /* Card form */
  .card-visual {
    padding: 18px 16px;
    min-height: 150px
  }

  .card-number-display {
    font-size: 15px;
    letter-spacing: 2px
  }
}

/* Tablet */
@media(min-width:601px) and (max-width:900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .dg {
    grid-template-columns: repeat(2, 1fr)
  }

  nav {
    padding: 0 16px
  }
}

/* Safe area for mobile browsers */
@supports(padding-bottom:env(safe-area-inset-bottom)) {

  .chat-footer,
  .chat-wrap {
    padding-bottom: calc(12px + env(safe-area-inset-bottom))
  }

  #ariaToggle {
    bottom: calc(16px + env(safe-area-inset-bottom))
  }

  #ariaWidget {
    bottom: calc(76px + env(safe-area-inset-bottom))
  }

  .toast {
    bottom: calc(80px + env(safe-area-inset-bottom))
  }
}

.ic {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  margin-bottom: 16px
}

.ic h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px
}

.wgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px
}

.wp {
  aspect-ratio: 1;
  border-radius: 7px;
  background: var(--s2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  overflow: hidden;
  position: relative
}

.wp img,
.wp video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0
}

.rev-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border)
}

.rev-item:last-child {
  border-bottom: none
}

.rev-author {
  font-weight: 600;
  font-size: 13px
}

.rev-txt {
  color: var(--t2);
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.5
}

.rev-date {
  font-size: 11px;
  color: var(--t2);
  margin-top: 3px
}

/* DASHBOARD */
.dg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 28px
}

.dc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px
}

.dc .dn {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent)
}

.dc .dl {
  font-size: 12px;
  color: var(--t2);
  margin-top: 3px
}

/* OFFER ITEMS */
.oi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px
}

.oprice {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent)
}

/* CHAT */
.chat-wrap {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 64px)
}

.chat-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px
}

/* "შევთანხმდით? ▾" combined dropdown button */
.chat-decision-wrap { position: relative; margin-left: auto; flex-shrink: 0 }
.chat-decision-btn {
  background: rgba(46,204,113,.12);
  border: 1px solid var(--ok);
  color: var(--ok);
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  transition: .15s;
  white-space: nowrap;
}
.chat-decision-btn:hover { background: rgba(46,204,113,.22) }
.chat-decision-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
  overflow: hidden;
  z-index: 50;
  min-width: 220px;
}
.chat-decision-menu.open { display: flex; flex-direction: column }
.chat-decision-menu.open.desktop-row { flex-direction: row; min-width: 340px }
.chat-decision-opt {
  padding: 12px 14px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  flex: 1;
  transition: .12s;
  border: none;
  background: transparent;
  line-height: 1.3;
}
.chat-decision-opt.err   { color: var(--err, #e74c3c); border-right: 1px solid var(--border) }
.chat-decision-opt.ok    { color: var(--ok) }
.chat-decision-opt:hover { background: var(--bg) }
@media (max-width: 520px) {
  .chat-decision-menu.open { flex-direction: column !important }
  .chat-decision-opt.err   { border-right: none; border-bottom: 1px solid var(--border) }
}

/* "მოთხოვნა" button shown in chat body above system "ჩათი გაიხსნა:" msg */
.chat-req-btn {
  display: inline-block;
  background: rgba(255,107,43,.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: .15s;
  margin: 12px auto;
}
.chat-req-btn:hover { background: var(--accent); color: #fff }
.chat-req-btn-wrap { display: flex; justify-content: center; padding: 8px 0 }

/* Live countdown banner in chat (visible on 'agreed' offers) */
.chat-countdown {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 8px 14px;
  margin: 8px auto;
  max-width: 90%;
  text-align: center;
  font-size: 13px;
  color: var(--text);
}
.chat-countdown-timer { color: var(--accent); font-weight: 700 }

/* Instruction banner shown ONLY to the request owner, above "ჩათი გაიხსნა:" */
.chat-instruction {
  background: rgba(255,107,43,.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 8px auto;
  max-width: 92%;
  font-size: 12px;
  color: var(--t2);
  text-align: center;
  line-height: 1.5;
}

/* "ვერ შევთანხმდით" button — inline on desktop, stacked 2-liner on mobile */
.chat-disagree-btn {
  flex-shrink: 0;
  background: rgba(231,76,60,.12);
  border: 1px solid var(--err, #e74c3c);
  color: var(--err, #e74c3c);
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  transition: .15s;
  margin-left: auto;
}
.chat-disagree-btn:hover { background: rgba(231,76,60,.22) }
.chat-disagree-full { display: inline }
.chat-disagree-short { display: none }
@media (max-width: 520px) {
  .chat-disagree-btn { padding: 6px 10px; font-size: 11px; text-align: center }
  .chat-disagree-full { display: none }
  .chat-disagree-short { display: inline }
}

/* Admin: clickable stat cards */
.adm-stat-clickable { cursor: pointer; transition: .15s; position: relative }
.adm-stat-clickable:hover { background: rgba(255,107,43,.1); border-color: var(--accent); transform: translateY(-1px) }
.adm-stat-clickable::after { content: '▸'; position: absolute; top: 4px; right: 6px; color: var(--accent); font-size: 11px; opacity: .6 }

/* "ფასი შეთანხმებით" checkbox — tight on desktop, centered on mobile */
.negotiable-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--t2);
  width: fit-content;
}
.negotiable-label input[type="checkbox"] {
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
  width: 16px;
  height: 16px;
}
.negotiable-label span { line-height: 1 }
@media (max-width: 600px) {
  .negotiable-label {
    justify-content: center;
    width: 100%;
    gap: 6px;
  }
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg)
}

.msg {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  position: relative
}

.msg.me {
  background: var(--accent);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 3px
}

.msg.them {
  background: var(--surface);
  border: 1px solid var(--border);
  margin-right: auto;
  border-bottom-left-radius: 3px
}

.msg .mtime {
  font-size: 10px;
  opacity: .6;
  margin-top: 3px;
  text-align: right
}

.msg img,
.msg video {
  max-width: 240px;
  border-radius: 8px;
  display: block;
  margin-bottom: 4px
}

.msg audio {
  width: 200px
}

.chat-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 12px 16px
}

.chat-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end
}

.chat-input-row textarea {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  resize: none;
  max-height: 120px;
  font-family: inherit;
  transition: .2s
}

.chat-input-row textarea:focus {
  border-color: var(--accent)
}

.cib {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s;
  border: 1px solid var(--border);
  background: var(--s2);
  font-size: 16px;
  flex-shrink: 0
}

.cib:hover {
  background: var(--accent);
  border-color: var(--accent)
}

.cib.recording {
  background: var(--err);
  border-color: var(--err);
  animation: pulse 1s infinite
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .5
  }
}

/* HOW */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px
}

.how-c {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 22px;
  text-align: center
}

.how-n {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px
}

.how-c h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px
}

.how-c p {
  font-size: 12px;
  color: var(--t2);
  line-height: 1.6
}

/* PRICING */
.pg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  max-width: 820px
}

.pc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  position: relative
}

.pc.feat {
  border-color: var(--accent)
}

.pc.feat::before {
  content: 'პოპულარული';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 50px
}

.pp {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent)
}

.pp span {
  font-size: 14px;
  color: var(--t2)
}

.pn {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px
}

.pf {
  list-style: none;
  margin: 16px 0 24px
}

.pf li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--t2)
}

.pf li::before {
  content: '✓ ';
  color: var(--ok);
  font-weight: 700
}

/* VIP SECTION */
.vip-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 600px;
  margin: 32px auto
}

.vc {
  border-radius: var(--r);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all .2s
}

.vc.vip {
  background: rgba(241, 196, 15, .08);
  border: 2px solid rgba(241, 196, 15, .4)
}

.vc.vipp {
  background: rgba(168, 85, 247, .08);
  border: 2px solid rgba(168, 85, 247, .4)
}

.vc:hover {
  transform: translateY(-3px)
}

.vc .vc-price {
  font-size: 32px;
  font-weight: 800
}

.vc.vip .vc-price {
  color: var(--vip)
}

.vc.vipp .vc-price {
  color: var(--vipp)
}

.vc h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px
}

.vc p {
  font-size: 12px;
  color: var(--t2);
  line-height: 1.6
}

/* ACCT TYPE SELECTOR */
.atype {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px
}

.at {
  background: var(--s2);
  border: 2px solid var(--border);
  border-radius: 11px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: .2s
}

.at:hover {
  border-color: var(--accent)
}

.at.sel {
  border-color: var(--accent);
  background: rgba(255, 107, 43, .1)
}

.at .ate {
  font-size: 22px;
  margin-bottom: 4px
}

.at .atn {
  font-size: 12px;
  font-weight: 700
}

.at .atd {
  font-size: 10px;
  color: var(--t2);
  margin-top: 2px
}

/* STAR RATING INPUT */
.star-inp {
  display: flex;
  gap: 6px;
  font-size: 28px;
  cursor: pointer
}

.star-inp span {
  color: var(--t2);
  transition: .2s
}

.star-inp span.lit {
  color: #ffd700
}

/* OFFER ACCEPT CARD */
.oac {
  background: var(--s3);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 16px;
  margin-bottom: 10px
}

.oac .oah {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px
}

/* EMPTY */
.empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--t2)
}

.empty .ei {
  font-size: 48px;
  margin-bottom: 12px
}

.empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px
}

/* LOGIN PROMPT */
.login-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
  text-align: center;
  padding: 20px
}

.login-prompt .lpi {
  font-size: 64px;
  margin-bottom: 20px
}

.login-prompt h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px
}

.login-prompt p {
  color: var(--t2);
  margin-bottom: 28px
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 20px;
  text-align: center;
  color: var(--t2);
  font-size: 12px
}

@keyframes fid {
  from {
    opacity: 0;
    transform: translateY(-16px)
  }

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

/* PORTFOLIO UPLOAD */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: 11px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: .2s;
  color: var(--t2);
  font-size: 13px
}

.upload-area:hover {
  border-color: var(--accent);
  color: var(--accent)
}

.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .port-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.port-item {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--s2);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: transform .15s ease;
}
.port-item:hover { transform: scale(1.03) }

.port-vid-ind {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 12px;
  pointer-events: none;
}

.port-item img,
.port-item video {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.port-del {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(231, 76, 60, .8);
  border: none;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, .92);
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.lightbox.open {
  display: flex
}

.lightbox img,
.lightbox video {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
  cursor: default
}

.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, .12);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center
}

.lb-close:hover {
  background: rgba(255, 255, 255, .25)
}

/* PASSWORD STRENGTH */
.ps-bar {
  height: 4px;
  border-radius: 3px;
  margin-top: 6px;
  transition: .3s;
  background: var(--border)
}

.ps-bar.weak {
  background: #e74c3c;
  width: 33%
}

.ps-bar.mid {
  background: #f39c12;
  width: 66%
}

.ps-bar.strong {
  background: var(--ok);
  width: 100%
}

.ps-label {
  font-size: 10px;
  margin-top: 4px;
  color: var(--t2)
}

/* ADMIN */
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(155, 89, 182, .15);
  color: #9b59b6;
  border: 1px solid rgba(155, 89, 182, .3)
}

.berr {
  background: var(--err);
  color: #fff
}

.bok {
  background: var(--ok);
  color: #fff
}

/* END ADMIN */
.edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--s2);
  border: 1px solid var(--border);
  color: var(--t2);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  transition: .2s;
  margin-left: 8px
}

.edit-btn:hover {
  color: var(--accent);
  border-color: var(--accent)
}

/* REQUEST MEDIA PREVIEW */
.req-media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px
}

.req-media-item {
  aspect-ratio: 1;
  border-radius: 7px;
  background: var(--s2);
  overflow: hidden;
  position: relative
}

.req-media-item img,
.req-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.req-media-del {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(231, 76, 60, .85);
  border: none;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2
}

.req-media-move {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .65);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0
}

.req-media-move-left {
  left: 3px
}

.req-media-move-right {
  right: 3px
}

.req-media-move:hover,
.req-media-del:hover {
  background: rgba(0, 0, 0, .85)
}

.req-media-primary {
  position: absolute;
  bottom: 3px;
  left: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  z-index: 2;
  letter-spacing: .3px
}

/* ── Notification bell ─────────────────────────────────── */
.nav-bell {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: .15s;
  flex-shrink: 0
}

.nav-bell:hover {
  background: var(--surface);
  border-color: var(--accent)
}

.nav-bell-dot {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  background: #e74c3c;
  border-radius: 10px;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  pointer-events: none;
}

#notifDropdown {
  display: none;
  position: fixed;
  top: 60px;
  right: 20px;
  width: 340px;
  max-width: calc(100vw - 40px);
  max-height: 70vh;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  z-index: 2000;
  overflow: hidden;
  flex-direction: column
}

#notifDropdown.open {
  display: flex
}

.notif-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg)
}

.notif-list {
  overflow-y: auto;
  flex: 1;
  max-height: 50vh
}

.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: .1s;
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.notif-item:hover {
  background: var(--bg)
}

.notif-item.unread {
  background: rgba(255, 107, 43, .06)
}

.notif-item.unread:hover {
  background: rgba(255, 107, 43, .1)
}

.notif-ico {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px
}

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

.notif-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 2px
}

.notif-desc {
  font-size: 12px;
  color: var(--t2);
  line-height: 1.4;
  word-break: break-word
}

.notif-time {
  font-size: 10px;
  color: var(--t3, #6b6b80);
  margin-top: 3px
}

.notif-empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--t2);
  font-size: 13px
}

/* VERIFY CODE INPUT */
.code-inputs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 20px 0
}

.code-inputs input {
  width: 44px;
  height: 52px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  outline: none;
  transition: .2s
}

.code-inputs input:focus {
  border-color: var(--accent)
}

/* CATEGORY PILL SCROLL */
.cat-scroll {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none
}

.cat-scroll::-webkit-scrollbar {
  display: none
}

.cat-pill {
  flex-shrink: 0;
  padding: 6px 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 12px;
  color: var(--t2);
  cursor: pointer;
  transition: .2s;
  white-space: nowrap
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

/* USER NAME NAV BUTTON */
.btn-user-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(180, 220, 60, .18), rgba(100, 200, 120, .15));
  border: 1.5px solid rgba(160, 210, 80, .45);
  color: #c8e85a;
  transition: all .2s;
  white-space: nowrap
}

.btn-user-nav:hover {
  background: linear-gradient(135deg, rgba(180, 220, 60, .28), rgba(100, 200, 120, .25));
  border-color: rgba(160, 210, 80, .7);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(140, 210, 60, .25)
}

/* DASH TABS */
.dash-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border)
}

.dash-tab {
  flex: 1;
  padding: 13px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: var(--surface);
  color: var(--t2);
  transition: all .2s;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px
}

.dash-tab:first-child {
  border-right: 1px solid var(--border)
}

.dash-tab.active {
  background: var(--accent);
  color: #fff
}

/* SPEC CHECKBOXES GRID */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg)
}

@media(max-width:480px) {
  .spec-grid {
    grid-template-columns: 1fr
  }
}

.spec-item label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: .2s;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--s2)
}

.spec-item label:hover {
  border-color: var(--accent);
  color: var(--accent)
}

.spec-item input[type=checkbox] {
  accent-color: var(--accent)
}

/* TARIFF SELECT CARDS */
.tariff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px
}

.tc {
  padding: 11px 8px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--s2);
  transition: .2s
}

.tc:hover {
  border-color: var(--accent)
}

.tc.sel {
  border-color: var(--accent);
  background: rgba(255, 107, 43, .12)
}

.tc .tc-name {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px
}

.tc .tc-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2px
}

.tc .tc-desc {
  font-size: 10px;
  color: var(--t2);
  line-height: 1.3
}

/* CARD FORM */
.card-form-wrap {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, .1)
}

.card-visual {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 14px;
  padding: 24px 22px;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  min-height: 170px
}

.card-chip {
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, #f6d860, #e8c030);
  border-radius: 5px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center
}

.card-chip::after {
  content: '';
  width: 20px;
  height: 14px;
  border: 1.5px solid rgba(0, 0, 0, .25);
  border-radius: 3px;
  display: block
}

.card-number-display {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
  font-family: monospace
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end
}

.card-label-sm {
  font-size: 9px;
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px
}

.card-value {
  font-size: 13px;
  font-weight: 700
}

.card-brand {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 28px
}

/* ── Request card click interaction ────────────────────── */
.rcard-clickable {
  cursor: pointer;
}
.rcard-clickable:hover {
  transform: translateY(-3px);
}
.rcard-clickable:active {
  transform: translateY(0)
}

/* ═══ REQUEST DETAIL — v2 layout ═══ */
.rd-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.rd-hero-left {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}
.rd-hero-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.rd-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 14px;
}
@media (max-width: 820px) {
  .rd-body-grid { grid-template-columns: 1fr }
}
.rd-body-full {
  margin-top: 14px;
  /* When no media exists, details span full width (no empty left column) */
}
.rd-col-left, .rd-col-right { min-width: 0 }
.rd-gallery-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rd-gallery-2x2 .rd-gallery-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--s2);
  cursor: pointer;
}
.rd-gallery-2x2 .rd-gallery-item img,
.rd-gallery-2x2 .rd-gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* "+N" overlay on the 4th thumbnail when >4 media items exist */
.rd-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .5px;
  pointer-events: none;
}

.rd-info-list {
  background: var(--s2);
  border-radius: 12px;
  padding: 6px 14px;
}
.rd-info-list .rd-info-row {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  /* Allow wrapping so "მომსახურების ტიპი" value doesn't clip */
  flex-wrap: wrap;
}
.rd-info-list .rd-info-row:last-child { border-bottom: none }
.rd-info-list .rd-info-row > span:first-child {
  color: var(--t2);
  flex-shrink: 0;
}
.rd-info-list .rd-info-row > span:last-child {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  max-width: 100%;
  word-break: break-word;
}
/* Category badge inside info row — allow wrap, don't force ellipsis */
.rd-info-list .rd-info-row .rcard-cat {
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.4;
  padding: 6px 12px;
}

/* Request detail modal tweaks — make modal fit nicely */
.mo#moReqDetail .modal {
  padding: 24px;
}
@media (max-width: 600px) {
  .mo#moReqDetail .modal { padding: 16px }
  .rd-hero { flex-direction: column; gap: 12px }
  .rd-hero-actions { width: 100% }
  .rd-hero-actions .btn { flex: 1 }
  .rd-more-overlay { font-size: 22px }
}

/* Fix offer list item visibility — calm neutral background instead of harsh red */
.oi {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .15s ease;
}
.oi:hover { border-color: rgba(255,107,43,.3) }
/* For rejected offers, use subtle red accent on left instead of whole tinted card */
.oi.rejected {
  border-left: 3px solid #e74c3c;
  opacity: .85;
}
.rd-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 12px
}

.rd-gallery-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--s2);
  cursor: pointer;
  position: relative
}

.rd-gallery-item img,
.rd-gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.rd-gallery-item .vid-ind {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, .55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  pointer-events: none
}

.rd-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border)
}

.rd-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px
}

.rd-info-row span:first-child {
  color: var(--t2)
}

.rd-info-row span:last-child {
  color: var(--text);
  font-weight: 600;
  max-width: 60%;
  text-align: right;
  word-break: break-word
}


/* LANGUAGE SWITCHER BUTTON */
.lang-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 299;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1
}

.lang-btn:hover {
  background: var(--s2);
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 107, 43, .25)
}

@media (max-width: 600px) {
  .lang-btn {
    bottom: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    font-size: 20px
  }
}
