@import url('site-brand.css');

/* Shared premium polish for high-traffic product pages. */
body[data-pwa-page="messages"] main > aside:first-of-type nav,
body[data-pwa-page="messages"] #msg-inbox-stack,
body[data-pwa-page="messages"] #chat-panel,
body.ilan-page #ilan-content > .grid > div > .rounded-2xl,
body.ilan-page #ilan-content aside > .sticky,
body[data-pwa-page="account"] #pay-block,
body[data-pwa-page="account"] #already-worker,
body[data-pwa-page="account"] #verification-form,
body[data-pwa-page="account"] #status-box,
body[data-hesabim-page="islerim"] #worker-jobs-section,
#filters-sidebar {
  border-radius: 1.75rem !important;
  border-color: rgba(226, 232, 240, 0.88) !important;
  box-shadow: 0 18px 55px -32px rgba(15, 23, 42, 0.5), 0 1px 0 rgba(255,255,255,.75) inset !important;
}

.dark body[data-pwa-page="messages"] main > aside:first-of-type nav,
.dark body[data-pwa-page="messages"] #msg-inbox-stack,
.dark body[data-pwa-page="messages"] #chat-panel,
.dark body.ilan-page #ilan-content > .grid > div > .rounded-2xl,
.dark body.ilan-page #ilan-content aside > .sticky,
.dark body[data-pwa-page="account"] #pay-block,
.dark body[data-pwa-page="account"] #already-worker,
.dark body[data-pwa-page="account"] #verification-form,
.dark body[data-pwa-page="account"] #status-box,
.dark body[data-hesabim-page="islerim"] #worker-jobs-section,
.dark #filters-sidebar {
  border-color: rgba(71, 85, 105, 0.78) !important;
  box-shadow: 0 18px 60px -30px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.05) inset !important;
}

body[data-pwa-page="messages"] #msg-inbox-stack {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.94)) !important;
}

.dark body[data-pwa-page="messages"] #msg-inbox-stack {
  background: linear-gradient(180deg, rgba(30,41,59,.98), rgba(15,23,42,.94)) !important;
}

body[data-pwa-page="messages"] #chat-panel {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
}

.dark body[data-pwa-page="messages"] #chat-panel {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
}

body[data-pwa-page="messages"] #thread-messages {
  background-image:
    radial-gradient(900px 400px at 0% 0%, rgba(249,115,22,.08), transparent 55%),
    radial-gradient(700px 380px at 100% 100%, rgba(37,99,235,.07), transparent 50%) !important;
}

body[data-pwa-page="messages"] #message-form {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
}

.dark body[data-pwa-page="messages"] #message-form {
  background: rgba(15,23,42,.84);
}

body[data-pwa-page="messages"] .thread-btn {
  border-radius: 1.1rem !important;
  border: 1px solid transparent;
}

body[data-pwa-page="messages"] #chat-empty::before {
  content: '';
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: rgba(249,115,22,.11);
  filter: blur(18px);
  transform: translateY(-2rem);
}

body[data-pwa-page="messages"] main {
  min-height: calc(100dvh - 5rem);
}

body[data-pwa-page="messages"] main > aside:nth-of-type(2) {
  background:
    radial-gradient(360px 160px at 100% 0%, rgba(249,115,22,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,250,252,.96)) !important;
}

.dark body[data-pwa-page="messages"] main > aside:nth-of-type(2) {
  background:
    radial-gradient(360px 160px at 100% 0%, rgba(249,115,22,.16), transparent 62%),
    linear-gradient(180deg, rgba(30,41,59,.99), rgba(15,23,42,.96)) !important;
}

.msg-command-center {
  background:
    radial-gradient(280px 120px at 100% 0%, rgba(249,115,22,.13), transparent 60%),
    linear-gradient(135deg, rgba(255,247,237,.72), rgba(239,246,255,.68));
}

.dark .msg-command-center {
  background:
    radial-gradient(280px 120px at 100% 0%, rgba(249,115,22,.16), transparent 60%),
    linear-gradient(135deg, rgba(30,41,59,.86), rgba(15,23,42,.76));
}

.msg-thread-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.82);
  border-radius: 1.25rem !important;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 28px -24px rgba(15,23,42,.55);
}

.dark .msg-thread-card {
  border-color: rgba(71,85,105,.76);
  background: rgba(30,41,59,.66);
}

.msg-thread-card:hover {
  transform: translateY(-1px);
  border-color: rgba(249,115,22,.35) !important;
  box-shadow: 0 18px 42px -28px rgba(15,23,42,.68);
}

.msg-thread-card.active {
  border-color: rgba(249,115,22,.5) !important;
  background: linear-gradient(135deg, rgba(255,247,237,.96), rgba(239,246,255,.88)) !important;
  box-shadow: 0 18px 42px -28px rgba(249,115,22,.7), inset 3px 0 0 #f97316 !important;
}

.msg-thread-card-active-work {
  border-color: rgba(16,185,129,.38) !important;
  background: linear-gradient(135deg, rgba(236,253,245,.96), rgba(240,253,250,.72)) !important;
  box-shadow: 0 18px 42px -32px rgba(16,185,129,.75), inset 3px 0 0 #10b981 !important;
}

.msg-thread-card-pending-offer {
  border-color: rgba(251,191,36,.42) !important;
  box-shadow: inset 3px 0 0 #f59e0b, 0 12px 30px -28px rgba(245,158,11,.75) !important;
}

.msg-thread-card-rejected-offer {
  opacity: .82;
}

.dark .msg-thread-card-active-work {
  background: linear-gradient(135deg, rgba(6,78,59,.34), rgba(15,23,42,.88)) !important;
}

.dark .msg-thread-card.active {
  background: linear-gradient(135deg, rgba(67,42,25,.88), rgba(15,23,42,.9)) !important;
}

.msg-thread-inner {
  display: flex;
  gap: .7rem;
  padding: .64rem 2.55rem .64rem .7rem;
}

.msg-thread-avatar {
  display: flex;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(249,115,22,.16));
  color: #0f172a;
  font-size: .9rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(226,232,240,.9);
}

.dark .msg-thread-avatar {
  color: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(71,85,105,.8);
}

.msg-thread-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.msg-thread-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
}

.msg-thread-peer {
  overflow: hidden;
  color: #0f172a;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dark .msg-thread-peer {
  color: #f8fafc;
}

.msg-thread-time {
  flex-shrink: 0;
  color: #94a3b8;
  font-size: .64rem;
  font-weight: 800;
}

.msg-thread-listing {
  overflow: hidden;
  margin-top: .22rem;
  color: #64748b;
  font-size: .7rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msg-thread-subtitle {
  display: -webkit-box;
  overflow: hidden;
  margin-top: .25rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #475569;
  font-size: .72rem;
  line-height: 1.35;
}

.dark .msg-thread-subtitle,
.dark .msg-thread-listing {
  color: #cbd5e1;
}

.msg-thread-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin-top: .38rem;
}

.offer-message-card {
  width: min(24rem, 86vw);
  border: 1px solid rgba(203,213,225,.9);
  border-radius: 1.35rem;
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(37,99,235,.10), transparent 64%),
    #fff;
  padding: .85rem;
  color: #0f172a;
  box-shadow: 0 18px 44px -30px rgba(15,23,42,.72);
}

.offer-message-number {
  margin-top: .28rem;
  color: #0f172a;
  font-size: .88rem;
  font-weight: 950;
}

.dark .offer-message-number {
  color: #f8fafc;
}

.dark .offer-message-card {
  border-color: rgba(71,85,105,.85);
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(37,99,235,.16), transparent 64%),
    rgba(15,23,42,.88);
  color: #f8fafc;
}

.offer-message-head,
.offer-message-metrics,
.offer-message-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.offer-message-head {
  justify-content: space-between;
}

.offer-message-head > span {
  color: #f97316;
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.offer-message-head > b {
  border-radius: 999px;
  padding: .25rem .55rem;
  font-size: .62rem;
  font-weight: 950;
}

.offer-message-status-ok { background: #dcfce7; color: #047857; }
.offer-message-status-bad { background: #ffe4e6; color: #be123c; }
.offer-message-status-wait { background: #ffedd5; color: #c2410c; }

.offer-message-metrics {
  margin-top: .7rem;
}

.offer-message-metrics span {
  flex: 1 1 0;
  border-radius: 1rem;
  background: #f8fafc;
  padding: .65rem .7rem;
  color: #475569;
  font-size: .72rem;
  font-weight: 850;
}

.offer-message-metrics b {
  display: block;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 950;
}

.dark .offer-message-metrics span {
  background: rgba(30,41,59,.82);
  color: #cbd5e1;
}

.dark .offer-message-metrics b {
  color: #fff;
}

.offer-message-note {
  margin-top: .65rem;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.45;
}

.dark .offer-message-note {
  color: #cbd5e1;
}

.offer-message-actions {
  margin-top: .75rem;
}

.offer-message-actions button {
  flex: 1 1 0;
  border-radius: 999px;
  padding: .6rem .85rem;
  font-size: .74rem;
  font-weight: 950;
  transition: transform .15s ease, opacity .15s ease;
}

.offer-message-actions button:hover {
  transform: translateY(-1px);
}

.offer-message-actions button:first-child {
  background: #059669;
  color: #fff;
}

.offer-message-actions button:last-child {
  border: 1px solid rgba(203,213,225,.95);
  background: #fff;
  color: #475569;
}

.dark .offer-message-actions button:last-child {
  border-color: rgba(71,85,105,.86);
  background: rgba(15,23,42,.7);
  color: #e2e8f0;
}

.offer-message-time {
  margin-top: .55rem;
  color: #94a3b8;
  font-size: .64rem;
  font-weight: 750;
}

.msg-thread-pin {
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(8px);
}

.dark .msg-thread-pin {
  background: rgba(15,23,42,.42);
}

body[data-pwa-page="messages"] #chat-panel {
  overflow: visible;
}

body[data-pwa-page="messages"] #chat-active {
  overflow: hidden;
}

.msg-chat-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background:
    radial-gradient(300px 120px at 100% 0%, rgba(37,99,235,.10), transparent 62%),
    rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
}

#thread-menu-wrap {
  position: relative;
  z-index: 110;
}

#thread-menu {
  z-index: 120 !important;
}

#message-attach-preview img {
  display: block;
}

#message-attach-preview [data-remove-attach] {
  line-height: 1;
}

.dark .msg-chat-header {
  background:
    radial-gradient(300px 120px at 100% 0%, rgba(37,99,235,.16), transparent 62%),
    rgba(15,23,42,.72);
}

body[data-pwa-page="messages"] #thread-listing-summary {
  background: linear-gradient(135deg, rgba(248,250,252,.96), rgba(241,245,249,.9)) !important;
  border-color: rgba(148,163,184,.24) !important;
}

.dark body[data-pwa-page="messages"] #thread-listing-summary {
  background: linear-gradient(135deg, rgba(15,23,42,.88), rgba(30,41,59,.82)) !important;
  border-color: rgba(71,85,105,.42) !important;
}

body[data-pwa-page="messages"] #message-input {
  border-radius: 1.25rem !important;
  min-height: 2.75rem;
}

.chat-contract-shell {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.chat-contract-statusbar {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border: 1px solid rgba(203,213,225,.92);
  border-radius: 1.35rem;
  background:
    radial-gradient(220px 90px at 100% 0%, rgba(30,41,59,.14), transparent 62%),
    radial-gradient(180px 80px at 0% 100%, rgba(16,185,129,.08), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.88));
  padding: .65rem .75rem;
  color: #0f172a;
  box-shadow: 0 16px 40px -34px rgba(15,23,42,.72), inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.chat-contract-statusbar:hover {
  transform: translateY(-1px);
  border-color: rgba(15,23,42,.18);
  box-shadow: 0 20px 48px -34px rgba(15,23,42,.24), inset 0 1px 0 rgba(255,255,255,.78);
}

.dark .chat-contract-statusbar {
  border-color: rgba(71,85,105,.82);
  background:
    radial-gradient(220px 90px at 100% 0%, rgba(30,41,59,.42), transparent 62%),
    linear-gradient(135deg, rgba(30,41,59,.96), rgba(15,23,42,.9));
  color: #f8fafc;
  box-shadow: 0 16px 44px -34px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
}

.chat-contract-status-left,
.chat-contract-status-right {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .55rem;
}

.chat-contract-status-left {
  flex: 1;
}

.chat-contract-dot {
  width: .65rem;
  height: .65rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #0f172a;
  box-shadow: 0 0 0 .25rem rgba(15,23,42,.12);
}

.chat-contract-dot-ok {
  background: #10b981;
  box-shadow: 0 0 0 .25rem rgba(16,185,129,.13);
}

.chat-contract-dot-active {
  background: #2563eb;
  box-shadow: 0 0 0 .25rem rgba(37,99,235,.13);
}

.chat-contract-dot-bad {
  background: #e11d48;
  box-shadow: 0 0 0 .25rem rgba(225,29,72,.13);
}

.chat-contract-dot-wait {
  background: #334155;
  box-shadow: 0 0 0 .25rem rgba(51,65,85,.13);
}

.chat-contract-bar-title,
.chat-contract-bar-subtitle {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.chat-contract-bar-title {
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: -.01em;
}

.chat-contract-bar-subtitle {
  margin-top: .05rem;
  color: #64748b;
  font-size: .66rem;
  font-weight: 750;
}

.dark .chat-contract-bar-subtitle {
  color: #cbd5e1;
}

.chat-contract-bar-price {
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(226,232,240,.88);
  padding: .28rem .52rem;
  color: #334155;
  font-size: .68rem;
  font-weight: 950;
}

.dark .chat-contract-bar-price {
  background: rgba(30,41,59,.82);
  color: #e2e8f0;
}

#chat-contract-bar-action {
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
  padding: .28rem .55rem;
  color: #475569;
  font-size: .66rem;
  font-weight: 900;
}

.dark #chat-contract-bar-action {
  background: rgba(255,255,255,.08);
  color: #e2e8f0;
}

.chat-contract-details {
  margin-top: .5rem;
}

.chat-contract-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.26);
  border-radius: 1.6rem;
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(148,163,184,.12), transparent 62%),
    radial-gradient(420px 170px at 0% 100%, rgba(226,232,240,.52), transparent 64%),
    linear-gradient(135deg, rgba(248,250,252,.98), rgba(255,255,255,.95));
  padding: 1rem;
  box-shadow: 0 22px 60px -38px rgba(15,23,42,.16), inset 0 1px 0 rgba(255,255,255,.82);
}

.dark .chat-contract-card {
  border-color: rgba(71,85,105,.52);
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(51,65,85,.36), transparent 62%),
    linear-gradient(135deg, rgba(15,23,42,.94), rgba(30,41,59,.9));
  box-shadow: 0 18px 54px -34px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06);
}

.chat-contract-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
}

.chat-contract-eyebrow {
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .14em;
  color: #334155;
  text-transform: uppercase;
}

.chat-contract-title {
  margin-top: .2rem;
  color: #0f172a;
  font-size: .98rem;
  font-weight: 950;
  letter-spacing: -.02em;
}

.dark .chat-contract-title {
  color: #f8fafc;
}

.chat-contract-subtitle {
  margin-top: .25rem;
  max-width: 46rem;
  color: #475569;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.5;
}

.dark .chat-contract-subtitle {
  color: #cbd5e1;
}

.chat-contract-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem;
}

.chat-contract-badge {
  border-radius: 999px;
  padding: .25rem .55rem;
  font-size: .62rem;
  font-weight: 900;
}

.chat-contract-badge-ok {
  background: #dcfce7;
  color: #047857;
}

.chat-contract-badge-wait {
  background: rgba(255,255,255,.78);
  color: #475569;
}

.dark .chat-contract-badge-wait {
  background: rgba(30,41,59,.72);
  color: #cbd5e1;
}

.chat-contract-guide {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: .85rem;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 1.2rem;
  background: rgba(255,255,255,.72);
  padding: .75rem;
  color: #334155;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.chat-contract-guide-icon {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: .95rem;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 14px 28px -20px rgba(15,23,42,.8);
}

.chat-contract-guide-eyebrow {
  font-size: .58rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #334155;
}

.chat-contract-guide-text {
  margin-top: .12rem;
  color: #334155;
  font-size: .75rem;
  font-weight: 850;
  line-height: 1.35;
}

.dark .chat-contract-guide {
  border-color: rgba(71,85,105,.78);
  background: rgba(15,23,42,.55);
  color: #e2e8f0;
}

.dark .chat-contract-guide-text {
  color: #e2e8f0;
}

.chat-contract-shell[data-contract-viewer="employer"] .chat-contract-guide-icon {
  background: linear-gradient(135deg, #2563eb, #0f766e);
}

.chat-contract-shell[data-contract-viewer="worker"] .chat-contract-guide-icon {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
}

.chat-contract-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin-top: .8rem;
}

.chat-contract-steps span {
  display: flex;
  align-items: center;
  gap: .35rem;
  border-radius: 1rem;
  background: rgba(248,250,252,.88);
  padding: .5rem .55rem;
  color: #334155;
  font-size: .68rem;
  font-weight: 900;
}

.chat-contract-steps b {
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: .65rem;
}

.dark .chat-contract-steps span {
  background: rgba(15,23,42,.48);
  color: #cbd5e1;
}

.chat-contract-info {
  margin-top: .65rem;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 1rem;
  background: rgba(255,255,255,.72);
  padding: .6rem .75rem;
  color: #334155;
  font-size: .72rem;
  line-height: 1.45;
}

.chat-contract-live {
  border-color: rgba(37,99,235,.25);
  background: rgba(239,246,255,.75);
  color: #1d4ed8;
}

.chat-contract-steps:has(.chat-journey-stepper) {
  display: block;
  margin-top: 0;
}

.chat-journey-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .35rem;
  margin: .7rem 0 .25rem;
}

.chat-journey-stepper span {
  position: relative;
  display: grid;
  min-height: 3.1rem;
  place-items: center;
  gap: .2rem;
  border-radius: 1rem;
  border: 1px solid rgba(203,213,225,.85);
  background: rgba(248,250,252,.92);
  color: #64748b;
  text-align: center;
}

.chat-journey-stepper b {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e2e8f0;
  font-size: .65rem;
  font-weight: 950;
}

.chat-journey-stepper em {
  font-size: .58rem;
  font-style: normal;
  font-weight: 950;
}

.chat-journey-stepper .is-done {
  border-color: rgba(16,185,129,.32);
  background: rgba(236,253,245,.9);
  color: #047857;
}

.chat-journey-stepper .is-done b {
  background: #10b981;
  color: #fff;
}

.chat-journey-stepper .is-active {
  border-color: rgba(37,99,235,.38);
  background: linear-gradient(135deg, rgba(239,246,255,.96), rgba(241,245,249,.92));
  color: #1e3a8a;
  box-shadow: 0 16px 36px -26px rgba(30,64,175,.28);
}

.chat-journey-stepper .is-active b {
  background: #2563eb;
  color: #fff;
}

.chat-live-map-card,
.chat-delivery-proof-card,
.chat-delivery-proof-form {
  width: 100%;
  max-width: 100%;
  margin-top: .65rem;
  border: 1px solid rgba(37,99,235,.22);
  border-radius: 1.15rem;
  background:
    radial-gradient(260px 110px at 100% 0%, rgba(37,99,235,.12), transparent 68%),
    rgba(255,255,255,.78);
  padding: .75rem;
  color: #0f172a;
}

.chat-live-map-card-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.chat-live-map-head,
.chat-delivery-proof-head {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}

.chat-live-map-head b,
.chat-delivery-proof-head b,
.chat-delivery-proof-form-title {
  display: block;
  font-size: .78rem;
  font-weight: 950;
  color: #0f172a;
}

.chat-live-map-head p,
.chat-delivery-proof-head p {
  margin-top: .12rem;
  color: #475569;
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.35;
}

.chat-live-pulse {
  position: relative;
  margin-top: .25rem;
  width: .72rem;
  height: .72rem;
  flex: 0 0 .72rem;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 .35rem rgba(37,99,235,.12);
}

.chat-live-pulse::after {
  position: absolute;
  inset: -.35rem;
  border-radius: inherit;
  background: rgba(37,99,235,.32);
  animation: ping 1.45s cubic-bezier(0,0,.2,1) infinite;
  content: "";
}

.chat-live-map-canvas {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 8.5rem;
  margin-top: .7rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(147,197,253,.45);
  background:
    linear-gradient(90deg, rgba(37,99,235,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37,99,235,.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(37,99,235,.2), transparent 24%),
    linear-gradient(135deg, #eff6ff, #fff7ed);
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.chat-live-map-card-hero .chat-live-map-canvas {
  min-height: min(72vh, 34rem);
  margin-top: 0;
  border: 0;
  border-radius: 1.15rem;
}

.chat-live-map-real {
  background: linear-gradient(135deg, #eaf3ff, #f8fafc) !important;
  background-size: cover !important;
}

.chat-live-map-stage {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  will-change: transform;
  cursor: grab;
  touch-action: none;
}

.chat-live-map-stage.is-dragging {
  cursor: grabbing;
}

.chat-live-osm-layer {
  position: absolute;
  inset: -2%;
  opacity: .82;
  filter: saturate(.72) contrast(.96) brightness(1.04);
  pointer-events: none;
}

.chat-live-osm-tile {
  position: absolute;
  width: 33.334%;
  height: 33.334%;
  object-fit: cover;
}

.chat-live-osm-layer::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.36), rgba(255,255,255,.12)),
    radial-gradient(circle at 48% 48%, rgba(37,99,235,.12), transparent 34%),
    rgba(248,250,252,.18);
  content: "";
}

.chat-live-map-street-label {
  position: absolute;
  z-index: 2;
  color: rgba(51,65,85,.52);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 1px 0 rgba(255,255,255,.88);
  transform: rotate(-10deg);
  pointer-events: none;
}

.chat-live-map-street-1 { left: 12%; top: 24%; }
.chat-live-map-street-2 { right: 10%; top: 58%; transform: rotate(14deg); }
.chat-live-map-street-3 { left: 34%; bottom: 18%; transform: rotate(4deg); }

.chat-live-route-svg {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.chat-live-route-svg path {
  fill: none;
  stroke: rgba(37,99,235,.78);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 7px rgba(37,99,235,.22));
  animation: route-flow 2.4s linear infinite;
  stroke-dasharray: 7 5;
}

@keyframes route-flow {
  to { stroke-dashoffset: -24; }
}

.chat-live-route-line {
  position: absolute;
  left: 22%;
  right: 20%;
  top: 50%;
  height: .28rem;
  transform: rotate(-8deg);
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(37,99,235,.55) 0 12px, transparent 12px 20px);
  box-shadow: 0 0 0 .35rem rgba(255,255,255,.35);
}

.chat-live-map-pin {
  position: absolute;
  left: 52%;
  top: 48%;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(15,23,42,.94);
  padding: .35rem .55rem .35rem .35rem;
  color: #fff;
  box-shadow: 0 18px 38px -22px rgba(37,99,235,.9);
  z-index: 5;
  pointer-events: none;
}

.chat-live-map-pin b {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #2563eb;
  font-size: .58rem;
}

.chat-live-map-pin em {
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
}

.chat-live-map-pin-worker {
  left: 26%;
  top: 60%;
}

.chat-live-map-pin-worker::after {
  position: absolute;
  inset: -.5rem;
  z-index: -1;
  border-radius: 999px;
  background: rgba(37,99,235,.22);
  animation: ping 1.45s cubic-bezier(0,0,.2,1) infinite;
  content: "";
}

.chat-live-map-pin-target {
  left: 75%;
  top: 38%;
  background: rgba(5,150,105,.96);
}

.chat-live-map-pin-target b {
  background: #10b981;
}

.chat-live-eta-pill {
  position: absolute;
  right: 1.05rem;
  top: 1.05rem;
  z-index: 6;
  max-width: min(12rem, calc(100% - 2rem));
  text-align: center;
  line-height: 1.25;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(15,23,42,.72);
  backdrop-filter: blur(14px);
  padding: .5rem .7rem;
  color: #fff;
  font-size: .68rem;
  font-weight: 950;
  box-shadow: 0 16px 34px -24px rgba(15,23,42,.9);
  pointer-events: none;
}

.chat-live-address-card {
  display: grid;
  gap: .15rem;
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 5.35rem;
  z-index: 6;
  max-height: 4.5rem;
  overflow: hidden;
  margin-top: 0;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 1rem;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(14px);
  padding: .65rem .75rem;
  color: #334155;
  font-size: .7rem;
  font-weight: 800;
  pointer-events: none;
}

.chat-live-address-card b {
  color: #0f172a;
  font-size: .72rem;
  font-weight: 950;
}

.chat-live-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 7;
  padding: .55rem .6rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px -22px rgba(15,23,42,.65);
}

.chat-live-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 999px;
  background: #2563eb;
  padding: .5rem .8rem;
  color: #fff;
  font-size: .7rem;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.chat-live-floating-head {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 6;
  display: flex;
  max-width: min(18rem, calc(100% - 11rem));
  align-items: flex-start;
  gap: .62rem;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 1.15rem;
  background: rgba(255,255,255,.68);
  padding: .75rem .85rem;
  color: #0f172a;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px -34px rgba(15,23,42,.85);
  pointer-events: none;
}

.chat-live-floating-head b {
  display: block;
  font-size: .82rem;
  font-weight: 950;
}

.chat-live-floating-head p {
  margin-top: .12rem;
  color: #475569;
  font-size: .68rem;
  font-weight: 800;
}

.chat-live-live-pill {
  position: absolute;
  right: 1.05rem;
  top: 3.65rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  padding: .42rem .62rem;
  color: #991b1b;
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .08em;
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.chat-live-live-pill span {
  width: .48rem;
  height: .48rem;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 .28rem rgba(239,68,68,.15);
  animation: ping-soft 1.2s ease-in-out infinite;
}

@keyframes ping-soft {
  50% { transform: scale(.75); opacity: .62; }
}

.chat-live-map-link-route {
  background: #10b981;
}

.chat-live-map-link-muted {
  background: rgba(15,23,42,.08);
  color: #0f172a;
}

.chat-delivery-proof-card {
  border-color: rgba(16,185,129,.26);
  background:
    radial-gradient(260px 110px at 100% 0%, rgba(16,185,129,.13), transparent 68%),
    rgba(236,253,245,.7);
}

.chat-delivery-proof-photo {
  position: relative;
  display: block;
  width: 100%;
  margin-top: .65rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(16,185,129,.24);
}

.chat-delivery-proof-photo img {
  display: block;
  width: 100%;
  max-height: 13rem;
  object-fit: cover;
}

.chat-delivery-proof-photo span {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  border-radius: 999px;
  background: rgba(15,23,42,.82);
  padding: .35rem .6rem;
  color: #fff;
  font-size: .65rem;
  font-weight: 950;
}

.chat-delivery-proof-note {
  margin-top: .6rem;
  color: #334155;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.45;
}

.chat-delivery-proof-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .6rem;
}

.chat-delivery-proof-meta span {
  border-radius: .85rem;
  background: rgba(255,255,255,.72);
  padding: .42rem .58rem;
  color: #475569;
  font-size: .65rem;
  font-weight: 850;
}

.chat-delivery-proof-meta b {
  display: block;
  color: #047857;
  font-size: .55rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chat-delivery-proof-form-title {
  margin-bottom: .55rem;
}

.chat-delivery-proof-form-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: .55rem;
}

.chat-delivery-proof-form label {
  display: grid;
  gap: .28rem;
}

.chat-delivery-proof-form span {
  color: #64748b;
  font-size: .62rem;
  font-weight: 900;
}

.chat-delivery-proof-form input {
  width: 100%;
  border: 1px solid rgba(203,213,225,.95);
  border-radius: .85rem;
  background: rgba(255,255,255,.9);
  padding: .55rem .65rem;
  color: #0f172a;
  font-size: .78rem;
  outline: none;
}

.chat-proof-note-field {
  grid-column: 1 / -1;
}

.chat-customer-rating-form {
  margin-top: .65rem;
  border: 1px solid rgba(251,146,60,.3);
  border-radius: 1.15rem;
  background:
    radial-gradient(260px 110px at 100% 0%, rgba(251,146,60,.16), transparent 68%),
    rgba(255,247,237,.78);
  padding: .75rem;
}

.chat-customer-rating-title {
  color: #431407;
  font-size: .8rem;
  font-weight: 950;
}

.chat-customer-rating-subtitle {
  margin-top: .12rem;
  color: #9a3412;
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.35;
}

.chat-customer-stars {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .65rem;
}

.chat-customer-stars label {
  cursor: pointer;
}

.chat-customer-stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chat-customer-stars span {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251,146,60,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  padding: .4rem .65rem;
  color: #d97706;
  font-size: .8rem;
  font-weight: 950;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.chat-customer-stars input:checked + span {
  border-color: rgba(249,115,22,.72);
  background: #f97316;
  color: #fff;
  box-shadow: 0 14px 28px -20px rgba(249,115,22,.9);
}

.chat-customer-comment {
  display: grid;
  gap: .28rem;
  margin-top: .6rem;
}

.chat-customer-comment span {
  color: #9a3412;
  font-size: .62rem;
  font-weight: 900;
}

.chat-customer-comment input {
  width: 100%;
  border: 1px solid rgba(251,146,60,.28);
  border-radius: .85rem;
  background: rgba(255,255,255,.9);
  padding: .55rem .65rem;
  color: #0f172a;
  font-size: .78rem;
  outline: none;
}

.chat-contract-mini-map,
.msg-empty-mini-map {
  margin-top: .65rem;
}

.chat-contract-mini-map-canvas,
.msg-mini-map-canvas {
  position: relative;
  min-height: 7rem;
  overflow: hidden;
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 1.2rem;
  background:
    linear-gradient(90deg, rgba(37,99,235,.10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37,99,235,.10) 1px, transparent 1px),
    radial-gradient(circle at 54% 42%, rgba(249,115,22,.24), transparent .8rem),
    linear-gradient(135deg, rgba(239,246,255,.96), rgba(219,234,254,.74));
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.chat-contract-map-pin,
.msg-mini-map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  transform: translate(-50%, -50%);
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  padding: .35rem .55rem .35rem .35rem;
  color: #0f172a;
  font-size: .66rem;
  font-weight: 900;
  box-shadow: 0 14px 30px -18px rgba(37,99,235,.9);
}

.chat-contract-map-pin b,
.msg-mini-map-pin b {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #2563eb);
  color: #fff;
  font-size: .68rem;
}

.chat-contract-map-pin em,
.msg-mini-map-pin em {
  max-width: 11rem;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msg-mini-map-empty {
  border: 1px dashed rgba(148,163,184,.65);
  border-radius: 1.2rem;
  background: rgba(248,250,252,.72);
  padding: .9rem;
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
}

.dark .chat-contract-info {
  border-color: rgba(71,85,105,.8);
  background: rgba(15,23,42,.5);
  color: #e2e8f0;
}

.dark .chat-live-map-card,
.dark .chat-delivery-proof-card,
.dark .chat-delivery-proof-form {
  border-color: rgba(71,85,105,.8);
  background:
    radial-gradient(260px 110px at 100% 0%, rgba(37,99,235,.13), transparent 68%),
    rgba(15,23,42,.56);
  color: #e2e8f0;
}

.dark .chat-journey-stepper span {
  border-color: rgba(71,85,105,.75);
  background: rgba(15,23,42,.72);
  color: #cbd5e1;
}

.dark .chat-journey-stepper b {
  background: rgba(51,65,85,.95);
}

.dark .chat-journey-stepper .is-done {
  border-color: rgba(16,185,129,.32);
  background: rgba(6,78,59,.35);
  color: #a7f3d0;
}

.dark .chat-journey-stepper .is-done b {
  background: #059669;
}

.dark .chat-journey-stepper .is-active {
  border-color: rgba(96,165,250,.38);
  background: linear-gradient(135deg, rgba(30,64,175,.24), rgba(30,41,59,.42));
  color: #bfdbfe;
}

.dark .chat-live-address-card,
.dark .chat-live-map-link-muted {
  background: rgba(15,23,42,.72);
  color: #e2e8f0;
}

.dark .chat-live-floating-head,
.dark .chat-live-live-pill {
  border-color: rgba(148,163,184,.25);
  background: rgba(15,23,42,.68);
  color: #f8fafc;
}

.dark .chat-live-floating-head p {
  color: #cbd5e1;
}

.dark .chat-live-osm-layer {
  opacity: .42;
  filter: saturate(.6) contrast(.9) brightness(.72);
}

.dark .chat-live-address-card b {
  color: #f8fafc;
}

.dark .chat-live-map-head b,
.dark .chat-delivery-proof-head b,
.dark .chat-delivery-proof-form-title {
  color: #f8fafc;
}

.dark .chat-live-map-head p,
.dark .chat-delivery-proof-head p,
.dark .chat-delivery-proof-note {
  color: #cbd5e1;
}

.dark .chat-delivery-proof-form span {
  color: #cbd5e1;
}

.dark .chat-delivery-proof-form input {
  border-color: rgba(71,85,105,.88);
  background: rgba(15,23,42,.78);
  color: #f8fafc;
}

.dark .chat-delivery-proof-meta span {
  background: rgba(30,41,59,.72);
  color: #e2e8f0;
}

.dark .chat-customer-rating-form {
  border-color: rgba(251,146,60,.28);
  background:
    radial-gradient(260px 110px at 100% 0%, rgba(251,146,60,.16), transparent 68%),
    rgba(15,23,42,.56);
}

.dark .chat-customer-rating-title {
  color: #fff7ed;
}

.dark .chat-customer-rating-subtitle,
.dark .chat-customer-comment span {
  color: #fed7aa;
}

.dark .chat-customer-stars span,
.dark .chat-customer-comment input {
  border-color: rgba(251,146,60,.24);
  background: rgba(15,23,42,.78);
  color: #fed7aa;
}

.dark .chat-customer-stars input:checked + span {
  background: #f97316;
  color: #fff;
}

.dark .chat-customer-comment input {
  color: #f8fafc;
}

.dark .chat-contract-mini-map-canvas,
.dark .msg-mini-map-canvas {
  border-color: rgba(96,165,250,.22);
  background:
    linear-gradient(90deg, rgba(96,165,250,.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(96,165,250,.12) 1px, transparent 1px),
    radial-gradient(circle at 54% 42%, rgba(249,115,22,.28), transparent .8rem),
    linear-gradient(135deg, rgba(15,23,42,.95), rgba(30,64,175,.34));
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.dark .chat-contract-map-pin,
.dark .msg-mini-map-pin {
  background: rgba(15,23,42,.92);
  color: #f8fafc;
}

.dark .msg-mini-map-empty {
  border-color: rgba(71,85,105,.82);
  background: rgba(15,23,42,.54);
  color: #cbd5e1;
}

.chat-offer-form {
  margin-top: .75rem;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.82);
  padding: .75rem;
  max-width: 44rem;
}

.dark .chat-offer-form {
  border-color: rgba(71,85,105,.8);
  background: rgba(15,23,42,.55);
}

.chat-offer-form-title {
  margin-bottom: .18rem;
  color: #0f172a;
  font-size: .72rem;
  font-weight: 900;
}

.chat-offer-form-subtitle {
  margin-bottom: .6rem;
  color: #64748b;
  font-size: .68rem;
  line-height: 1.35;
  font-weight: 700;
}

.dark .chat-offer-form-title {
  color: #f8fafc;
}

.dark .chat-offer-form-subtitle {
  color: #cbd5e1;
}

.chat-offer-input-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .45rem;
}

.chat-offer-input-grid label span {
  display: block;
  margin-bottom: .2rem;
  color: #64748b;
  font-size: .58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-offer-input-grid input {
  width: 100%;
  border: 1px solid rgba(203,213,225,.95);
  border-radius: 1.05rem;
  background: #fff;
  padding: .7rem .75rem;
  color: #0f172a;
  font-size: .82rem;
  font-weight: 750;
  outline: none;
}

.chat-offer-input-grid input:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15,23,42,.12);
}

.dark .chat-offer-input-grid input {
  border-color: rgba(71,85,105,.9);
  background: rgba(15,23,42,.78);
  color: #f8fafc;
}

.chat-offer-note-label {
  display: block;
  margin-top: .55rem;
}

.chat-offer-note-label span {
  display: block;
  margin-bottom: .2rem;
  color: #64748b;
  font-size: .58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-offer-note-label textarea {
  width: 100%;
  border: 1px solid rgba(203, 213, 225, .95);
  border-radius: 1.05rem;
  background: #fff;
  padding: .65rem .75rem;
  color: #0f172a;
  font-size: .82rem;
  line-height: 1.45;
  resize: vertical;
  outline: none;
}

.chat-offer-note-label textarea:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, .12);
}

.dark .chat-offer-note-label textarea {
  border-color: rgba(71, 85, 105, .9);
  background: rgba(15, 23, 42, .78);
  color: #f8fafc;
}

.chat-offer-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: .6rem;
}

.chat-contract-primary-btn,
.chat-contract-action-btn,
.chat-contract-accept-btn,
.chat-contract-reject-btn {
  border-radius: 999px;
  padding: .55rem .9rem;
  font-size: .72rem;
  font-weight: 900;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}

.chat-contract-primary-btn:disabled,
.chat-contract-action-btn:disabled,
.chat-contract-accept-btn:disabled,
.chat-contract-reject-btn:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.chat-contract-primary-btn:hover,
.chat-contract-action-btn:hover,
.chat-contract-accept-btn:hover,
.chat-contract-reject-btn:hover {
  transform: translateY(-1px);
}

.chat-contract-primary-btn,
.chat-contract-action-brand {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: #fff;
  box-shadow: 0 14px 30px -18px rgba(15,23,42,.72);
}

.chat-contract-action-primary {
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #fff;
  box-shadow: 0 14px 30px -18px rgba(37,99,235,.75);
}

.chat-contract-action-muted,
.chat-contract-reject-btn {
  border: 1px solid rgba(203,213,225,.95);
  background: rgba(255,255,255,.8);
  color: #475569;
}

.chat-contract-dispute-btn {
  border-color: rgba(225,29,72,.24) !important;
  background: rgba(255,241,242,.92) !important;
  color: #be123c !important;
  box-shadow: 0 12px 28px -22px rgba(225,29,72,.65);
}

.dark .chat-contract-dispute-btn {
  border-color: rgba(251,113,133,.34) !important;
  background: rgba(127,29,29,.28) !important;
  color: #fecdd3 !important;
}

.chat-contract-accept-btn {
  background: #059669;
  color: #fff;
}

.chat-contract-offers {
  display: grid;
  gap: .55rem;
  margin-top: .75rem;
}

.chat-contract-empty-offers {
  border: 1px dashed rgba(51,65,85,.28);
  border-radius: 1rem;
  background: rgba(248,250,252,.88);
  padding: .75rem;
  color: #334155;
  font-size: .72rem;
  font-weight: 700;
}

.chat-contract-offer-card {
  border: 1px solid rgba(203,213,225,.86);
  border-radius: 1.35rem;
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(37,99,235,.08), transparent 64%),
    rgba(255,255,255,.88);
  padding: .85rem;
  box-shadow: 0 14px 38px -32px rgba(15,23,42,.65);
}

.dark .chat-contract-offer-card,
.dark .chat-contract-empty-offers {
  border-color: rgba(71,85,105,.82);
  background: rgba(15,23,42,.56);
  color: #cbd5e1;
}

.chat-contract-offer-top,
.chat-contract-offer-metrics,
.chat-contract-offer-actions,
.chat-contract-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}

.chat-contract-offer-top {
  justify-content: space-between;
}

.chat-contract-offer-top p {
  color: #0f172a;
  font-size: .74rem;
  font-weight: 950;
}

.chat-contract-offer-top p span {
  display: block;
  margin-bottom: .1rem;
  color: #64748b;
  font-size: .58rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.chat-contract-offer-top p b {
  display: block;
}

.dark .chat-contract-offer-top p {
  color: #f8fafc;
}

.chat-offer-status {
  border-radius: 999px;
  padding: .25rem .55rem;
  font-size: .62rem;
  font-weight: 900;
}

.chat-offer-status-ok { background: #dcfce7; color: #047857; }
.chat-offer-status-bad { background: #ffe4e6; color: #be123c; }
.chat-offer-status-wait { background: #e2e8f0; color: #334155; }

.chat-contract-offer-metrics {
  margin-top: .55rem;
}

.chat-contract-offer-metrics span {
  border-radius: .85rem;
  background: #f8fafc;
  padding: .5rem .68rem;
  color: #475569;
  font-size: .7rem;
  font-weight: 800;
}

.dark .chat-contract-offer-metrics span {
  background: rgba(30,41,59,.82);
  color: #e2e8f0;
}

.chat-contract-offer-note {
  margin-top: .5rem;
  color: #64748b;
  font-size: .72rem;
  line-height: 1.45;
}

.dark .chat-contract-offer-note {
  color: #cbd5e1;
}

.chat-contract-actions {
  margin-top: .75rem;
}

.chat-contract-error {
  margin-top: .65rem;
  color: #be123c;
  font-size: .72rem;
  font-weight: 800;
}

.chat-contract-admin-note {
  color: #64748b;
  font-size: .72rem;
  font-weight: 750;
}

@media (max-width: 1023px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
  }

  #bg-site-root,
  #main-content,
  #content,
  main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  body[data-pwa-page="messages"] #main-content {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: none !important;
  }

  body[data-pwa-page="messages"] #msg-shell-inbox,
  body[data-pwa-page="messages"] #chat-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body[data-pwa-page="messages"] main {
    gap: .75rem;
  }
  body[data-pwa-page="messages"]:not(.msg-chat-open) #chat-panel {
    display: none;
    min-height: 0;
  }
  body[data-pwa-page="messages"].msg-chat-open main > aside:nth-of-type(2) {
    display: none;
  }
  body[data-pwa-page="messages"].msg-chat-open #chat-panel {
    display: flex;
    min-height: calc(100dvh - 9.5rem);
  }
  .msg-command-center {
    padding-top: .85rem;
    padding-bottom: .85rem;
  }
  .chat-offer-input-grid {
    grid-template-columns: 1fr;
  }
  .chat-contract-steps {
    grid-template-columns: 1fr;
  }
  .chat-journey-stepper {
    display: flex;
    overflow-x: auto;
    padding-bottom: .25rem;
    scroll-snap-type: x mandatory;
  }
  .chat-journey-stepper span {
    min-width: 5.9rem;
    scroll-snap-align: start;
  }
  .chat-live-map-card-hero .chat-live-map-canvas {
    min-height: min(70vh, 30rem);
  }
  .chat-live-eta-pill {
    top: auto;
    right: .75rem;
    bottom: 8.2rem;
    display: inline-flex;
    max-width: calc(100% - 1.5rem);
  }
  .chat-live-floating-head {
    left: .75rem;
    top: .75rem;
    max-width: calc(100% - 1.5rem);
  }
  .chat-live-live-pill {
    top: 4.65rem;
    right: .75rem;
  }
  .chat-live-address-card {
    left: .75rem;
    right: .75rem;
    bottom: 5.1rem;
  }
  .chat-live-map-actions {
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
  }
  .chat-delivery-proof-form-grid {
    grid-template-columns: 1fr;
  }
}

body.ilan-page #ilan-hero-wrap {
  border-radius: 1.35rem;
  overflow: hidden;
  margin: .85rem;
  width: auto !important;
}

body.ilan-page #ilan-title {
  letter-spacing: -0.04em;
}

body.ilan-page .ilan-loading-card {
  border: 1px solid rgba(226,232,240,.8);
  border-radius: 2rem;
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(249,115,22,.12), transparent 62%),
    rgba(255,255,255,.72);
  box-shadow: 0 24px 70px -48px rgba(15,23,42,.55);
  backdrop-filter: blur(14px);
}

.dark body.ilan-page .ilan-loading-card {
  border-color: rgba(71,85,105,.75);
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(249,115,22,.18), transparent 62%),
    rgba(15,23,42,.72);
}

body.ilan-page .ilan-breadcrumb {
  border: 1px solid rgba(226,232,240,.78);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  background: rgba(255,255,255,.72);
  padding: .45rem .7rem;
  box-shadow: 0 14px 36px -30px rgba(15,23,42,.45);
  backdrop-filter: blur(12px);
}

.dark body.ilan-page .ilan-breadcrumb {
  border-color: rgba(71,85,105,.78);
  background: rgba(15,23,42,.62);
}

body.ilan-page .ilan-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(226,232,240,.82);
  border-radius: 1.25rem;
  background:
    radial-gradient(260px 140px at 100% 0%, rgba(249,115,22,.12), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.84), rgba(248,250,252,.68));
  padding: .65rem .85rem;
  box-shadow: 0 14px 38px -34px rgba(15,23,42,.52), inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter: blur(16px);
}

.dark body.ilan-page .ilan-top-strip {
  border-color: rgba(71,85,105,.78);
  background:
    radial-gradient(260px 140px at 100% 0%, rgba(249,115,22,.16), transparent 62%),
    linear-gradient(135deg, rgba(30,41,59,.82), rgba(15,23,42,.66));
}

body.ilan-page .ilan-top-strip span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 12rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.72);
  padding: .45rem .65rem;
  color: #334155;
  font-size: .68rem;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.ilan-page .ilan-top-strip b {
  display: block;
  color: #0f172a;
  font-size: .88rem;
  font-weight: 950;
}

body.ilan-page .ilan-top-strip small {
  display: block;
  margin-top: .05rem;
}

body.ilan-page .ilan-top-summary-badges span:first-child {
  background: rgba(255,237,213,.82);
  color: #c2410c;
}

.dark body.ilan-page .ilan-top-strip span {
  background: rgba(15,23,42,.52);
  color: #cbd5e1;
}

.dark body.ilan-page .ilan-top-summary-badges span:first-child {
  background: rgba(67,42,25,.72);
  color: #fed7aa;
}

.dark body.ilan-page .ilan-top-strip b {
  color: #fff;
}

body.ilan-page .ilan-main-card {
  position: relative;
  background:
    radial-gradient(360px 180px at 100% 0%, rgba(249,115,22,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.92)) !important;
}

.dark body.ilan-page .ilan-main-card {
  background:
    radial-gradient(360px 180px at 100% 0%, rgba(249,115,22,.14), transparent 62%),
    linear-gradient(180deg, rgba(30,41,59,.98), rgba(15,23,42,.9)) !important;
}

body.ilan-page .ilan-hero-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-flex;
  border-radius: 999px;
  background: rgba(15,23,42,.72);
  padding: .45rem .75rem;
  color: #fff;
  font-size: .7rem;
  font-weight: 950;
  box-shadow: 0 16px 36px -22px rgba(15,23,42,.9);
  backdrop-filter: blur(10px);
}

body.ilan-page #ilan-hero-ph {
  position: relative;
  overflow: hidden;
}

body.ilan-page .ilan-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 999px;
  background: rgba(248,250,252,.9);
  padding: .38rem .7rem;
  color: #475569;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

body.ilan-page .ilan-detail-badge:not(.is-muted):nth-child(2) {
  border-color: rgba(16,185,129,.22);
  background: rgba(236,253,245,.88);
  color: #047857;
}

body.ilan-page .ilan-detail-badge.is-muted {
  color: #64748b;
}

body.ilan-page .ilan-detail-badge-live {
  border-color: rgba(59,130,246,.2);
  background: rgba(239,246,255,.9);
  color: #1d4ed8;
}

body.ilan-page .ilan-live-dot {
  position: relative;
  display: inline-flex;
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: #2563eb;
}

body.ilan-page .ilan-live-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #60a5fa;
  animation: ping 1.4s cubic-bezier(0, 0, .2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

body.ilan-page .ilan-category-pill,
body.ilan-page .ilan-live-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .4rem .7rem;
  font-size: .68rem;
  font-weight: 950;
}

body.ilan-page .ilan-category-pill {
  border: 1px solid rgba(249,115,22,.22);
  background: rgba(255,237,213,.74);
  color: #c2410c !important;
}

body.ilan-page .ilan-live-pill {
  background: rgba(220,252,231,.85);
  color: #047857;
}

.dark body.ilan-page .ilan-category-pill {
  border-color: rgba(249,115,22,.32);
  background: rgba(67,42,25,.62);
  color: #fed7aa !important;
}

.dark body.ilan-page .ilan-live-pill {
  background: rgba(6,78,59,.6);
  color: #bbf7d0;
}

.dark body.ilan-page .ilan-detail-badge {
  border-color: rgba(71,85,105,.78);
  background: rgba(15,23,42,.58);
  color: #cbd5e1;
}

.dark body.ilan-page .ilan-detail-badge:not(.is-muted):nth-child(2) {
  border-color: rgba(16,185,129,.28);
  background: rgba(6,78,59,.32);
  color: #bbf7d0;
}

.dark body.ilan-page .ilan-detail-badge-live {
  border-color: rgba(96,165,250,.28);
  background: rgba(30,64,175,.22);
  color: #bfdbfe;
}

body.ilan-page .ilan-description-box {
  border-left: 4px solid #f97316;
  border-radius: 0 0.75rem 0.75rem 0;
  background: #f8fafc;
  padding: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.dark body.ilan-page .ilan-description-box {
  border-left-color: #f97316;
  background: rgba(15, 23, 42, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.ilan-page #ilan-description {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #334155;
}

.dark body.ilan-page #ilan-description {
  color: #cbd5e1;
}

body.ilan-page #ilan-content > .grid > div > .rounded-2xl:first-child {
  border-radius: 2rem !important;
  overflow: hidden;
}

body.ilan-page #ilan-content aside > .sticky {
  border-radius: 2rem !important;
  background: linear-gradient(180deg, #fff, #f8fafc) !important;
}

.dark body.ilan-page #ilan-content aside > .sticky {
  background: linear-gradient(180deg, #1e293b, #0f172a) !important;
}

body.ilan-page .ilan-info-card,
body.ilan-page .ilan-safety-card {
  background:
    radial-gradient(260px 130px at 100% 0%, rgba(37,99,235,.08), transparent 62%),
    rgba(255,255,255,.82) !important;
  box-shadow: 0 20px 54px -42px rgba(15,23,42,.55), inset 0 1px 0 rgba(255,255,255,.74) !important;
}

body.ilan-page .ilan-technical-card {
  opacity: .78;
  box-shadow: 0 12px 34px -34px rgba(15,23,42,.4), inset 0 1px 0 rgba(255,255,255,.68) !important;
}

body.ilan-page .ilan-technical-card dl {
  font-size: .78rem;
}

body.ilan-page .ilan-technical-card dd,
body.ilan-page .ilan-technical-card dt {
  color: #64748b !important;
}

.dark body.ilan-page .ilan-info-card,
.dark body.ilan-page .ilan-safety-card {
  background:
    radial-gradient(260px 130px at 100% 0%, rgba(37,99,235,.12), transparent 62%),
    rgba(15,23,42,.58) !important;
}

body.ilan-page .ilan-safety-card li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  border-radius: .95rem;
  background: rgba(248,250,252,.78);
  padding: .65rem;
  line-height: 1.45;
}

body.ilan-page .ilan-safety-card li span {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: .55rem;
  background: #e0f2fe;
  color: #0369a1;
  font-size: .68rem;
  font-weight: 950;
}

body.ilan-page .ilan-map-preview {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74), 0 16px 36px -30px rgba(37,99,235,.7);
}

body.ilan-page .ilan-map-canvas {
  background:
    linear-gradient(90deg, rgba(37,99,235,.10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37,99,235,.10) 1px, transparent 1px),
    radial-gradient(circle at 58% 42%, rgba(249,115,22,.30), transparent 0.65rem),
    linear-gradient(135deg, rgba(239,246,255,.96), rgba(219,234,254,.72));
  background-size: 24px 24px, 24px 24px, auto, auto;
}

body.ilan-page .ilan-map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #2563eb);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 950;
  box-shadow: 0 18px 34px -18px rgba(37,99,235,.9);
}

.dark body.ilan-page .ilan-map-canvas {
  background:
    linear-gradient(90deg, rgba(96,165,250,.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(96,165,250,.12) 1px, transparent 1px),
    radial-gradient(circle at 58% 42%, rgba(249,115,22,.34), transparent 0.65rem),
    linear-gradient(135deg, rgba(15,23,42,.95), rgba(30,64,175,.36));
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.dark body.ilan-page .ilan-safety-card li {
  background: rgba(30,41,59,.6);
}

.dark body.ilan-page .ilan-safety-card li span {
  background: rgba(2,132,199,.18);
  color: #bae6fd;
}

body.ilan-page .ilan-owner-panel {
  overflow: hidden;
  background:
    radial-gradient(280px 160px at 100% 0%, rgba(249,115,22,.12), transparent 62%),
    linear-gradient(180deg, #fff, #f8fafc) !important;
}

.dark body.ilan-page .ilan-owner-panel {
  background:
    radial-gradient(280px 160px at 100% 0%, rgba(249,115,22,.16), transparent 62%),
    linear-gradient(180deg, #1e293b, #0f172a) !important;
}

body.ilan-page .ilan-owner-stats span {
  border: 1px solid rgba(226,232,240,.82);
  border-radius: .95rem;
  background: rgba(255,255,255,.74);
  padding: .55rem .35rem;
  color: #64748b;
  font-size: .62rem;
  font-weight: 800;
}

body.ilan-page .ilan-owner-stats b {
  display: block;
  color: #0f172a;
  font-size: .72rem;
  font-weight: 950;
}

body.ilan-page .ilan-owner-stats small {
  display: block;
}

.dark body.ilan-page .ilan-owner-stats span {
  border-color: rgba(71,85,105,.78);
  background: rgba(15,23,42,.52);
  color: #cbd5e1;
}

.dark body.ilan-page .ilan-owner-stats b {
  color: #fff;
}

body.ilan-page #ilan-owner-avatar {
  background: linear-gradient(135deg, #f97316, #2563eb) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px -22px rgba(249,115,22,.8);
}

body.ilan-page #ilan-owner-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.ilan-page #ilan-owner-initial {
  position: relative;
  z-index: 0;
}

body.ilan-page .ilan-owner-superadmin-badge {
  backdrop-filter: blur(6px);
}

body.ilan-page #ilan-side-copy,
body.ilan-page #ilan-side-report {
  border-radius: 1rem !important;
  font-weight: 800 !important;
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

body.ilan-page #ilan-side-copy:hover,
body.ilan-page #ilan-side-report:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -24px rgba(15,23,42,.55);
}

body.ilan-page #ilan-side-offer,
body.ilan-page #ilan-mob-offer {
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  box-shadow: 0 18px 38px -20px rgba(37,99,235,.9) !important;
}

body.ilan-page #ilan-side-offer.is-own-listing-action,
body.ilan-page #ilan-mob-offer.is-own-listing-action {
  background: linear-gradient(135deg, #0f172a, #334155) !important;
  box-shadow: 0 18px 38px -24px rgba(15,23,42,.85) !important;
}

body.ilan-page #ilan-mobile-cta {
  background:
    radial-gradient(260px 120px at 100% 0%, rgba(249,115,22,.12), transparent 62%),
    rgba(255,255,255,.92) !important;
}

.dark body.ilan-page #ilan-mobile-cta {
  background:
    radial-gradient(260px 120px at 100% 0%, rgba(249,115,22,.16), transparent 62%),
    rgba(15,23,42,.92) !important;
}

body.ilan-page #ilan-chips span,
body.ilan-page #ilan-location {
  border: 1px solid rgba(226,232,240,.9);
  background: rgba(248,250,252,.88) !important;
  font-weight: 800;
}

.dark body.ilan-page #ilan-chips span,
.dark body.ilan-page #ilan-location {
  border-color: rgba(71,85,105,.8);
  background: rgba(15,23,42,.65) !important;
}

body.ilan-page #ilan-price {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,237,213,.78);
  padding: .45rem .8rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.dark body.ilan-page #ilan-price {
  background: rgba(67,42,25,.62);
}

body.ilan-page .ilan-related-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(249,115,22,.10), transparent 62%),
    rgba(255,255,255,.86) !important;
  box-shadow: 0 18px 46px -38px rgba(15,23,42,.55) !important;
}

body.ilan-page .ilan-related-card::after {
  content: '';
  position: absolute;
  right: -.75rem;
  top: -.75rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: rgba(249,115,22,.12);
}

.dark body.ilan-page .ilan-related-card {
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(249,115,22,.14), transparent 62%),
    rgba(15,23,42,.58) !important;
}

body.ilan-page #offer-modal > div,
body.ilan-page #report-modal > div,
body.ilan-page #worker-required-modal > div,
body.ilan-page #login-required-modal > div {
  border-radius: 2rem !important;
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(249,115,22,.12), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96)) !important;
  box-shadow: 0 28px 90px -42px rgba(15,23,42,.8) !important;
}

.dark body.ilan-page #offer-modal > div,
.dark body.ilan-page #report-modal > div,
.dark body.ilan-page #worker-required-modal > div,
.dark body.ilan-page #login-required-modal > div {
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(249,115,22,.16), transparent 62%),
    linear-gradient(180deg, rgba(30,41,59,.98), rgba(15,23,42,.96)) !important;
}

body.ilan-page #offer-form input,
body.ilan-page #offer-form textarea,
body.ilan-page #offer-form select,
body.ilan-page #report-modal textarea,
body.ilan-page #report-modal select {
  border-radius: 1rem !important;
  font-weight: 700;
}

body.ilan-page #offer-form button[type="submit"],
body.ilan-page #report-submit {
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  box-shadow: 0 18px 38px -22px rgba(37,99,235,.9) !important;
  font-weight: 900 !important;
}

@media (max-width: 640px) {
  body.ilan-page #offer-modal {
    align-items: center !important;
    padding: max(.5rem, env(safe-area-inset-top)) .75rem max(.75rem, env(safe-area-inset-bottom)) .75rem !important;
  }

  body.ilan-page #offer-modal > div {
    width: min(100%, 27rem) !important;
    max-height: calc(100dvh - max(1rem, env(safe-area-inset-top)) - max(1rem, env(safe-area-inset-bottom))) !important;
    border-radius: 1.6rem !important;
    padding: 1rem !important;
  }

  body.ilan-page #offer-form {
    gap: .6rem;
  }

  body.ilan-page #offer-form input,
  body.ilan-page #offer-form textarea,
  body.ilan-page #offer-form select {
    min-height: 2.65rem;
    font-size: .95rem;
  }

  body.ilan-page #offer-form textarea {
    max-height: 6rem;
  }

  body.ilan-page #offer-form button[type="submit"] {
    position: sticky;
    bottom: 0;
    min-height: 3rem;
    margin-top: .25rem;
  }
}

body[data-pwa-page="account"] main > .mb-8.text-center {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 2rem;
  background: linear-gradient(135deg, #fff 0%, #fff7ed 48%, #eff6ff 100%);
  padding: 2rem 1.25rem;
  box-shadow: 0 18px 55px -36px rgba(15,23,42,.55);
}

.dark body[data-pwa-page="account"] main > .mb-8.text-center {
  border-color: rgba(71,85,105,.78);
  background: linear-gradient(135deg, #1e293b 0%, #172033 52%, #0f172a 100%);
}

body[data-pwa-page="account"] main > .mb-8.text-center > div:first-child {
  width: 4.75rem !important;
  height: 4.75rem !important;
  border-radius: 1.6rem !important;
  box-shadow: 0 18px 42px -20px rgba(37,99,235,.75);
}

body[data-pwa-page="account"] #pay-block,
body[data-pwa-page="account"] #verification-form {
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
}

.dark body[data-pwa-page="account"] #pay-block,
.dark body[data-pwa-page="account"] #verification-form {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
}

body[data-pwa-page="account"] #pay-worker-btn,
body[data-pwa-page="account"] #submit-btn {
  border-radius: 1.1rem !important;
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  box-shadow: 0 18px 34px -18px rgba(249,115,22,.9) !important;
}

body[data-pwa-page="account"] .file-zone {
  border-radius: 1.5rem !important;
  background: linear-gradient(180deg, rgba(248,250,252,.88), rgba(255,255,255,.96)) !important;
}

.dark body[data-pwa-page="account"] .file-zone {
  background: linear-gradient(180deg, rgba(30,41,59,.72), rgba(15,23,42,.55)) !important;
}

body[data-hesabim-page="islerim"] #worker-jobs-section > .relative {
  background: linear-gradient(135deg, #064e3b, #0f766e 52%, #0f172a);
  color: #fff;
}

body[data-hesabim-page="gecmis"] #panel-removed > .relative {
  background: linear-gradient(135deg, #fff7ed, #ffffff 54%, #eef2ff);
}

.dark body[data-hesabim-page="gecmis"] #panel-removed > .relative {
  background: linear-gradient(135deg, rgba(124,45,18,.34), rgba(15,23,42,.96) 58%, rgba(30,41,59,.82));
}

body[data-hesabim-page="gecmis"] .past-listing-card {
  position: relative;
  overflow: hidden;
  border-left: 4px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

body[data-hesabim-page="gecmis"] .past-listing-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px -36px rgba(15,23,42,.7);
}

body[data-hesabim-page="gecmis"] .past-listing-card-completed {
  border-left-color: #10b981;
  background:
    radial-gradient(260px 120px at 0% 0%, rgba(16,185,129,.16), transparent 66%),
    rgba(236,253,245,.72);
}

body[data-hesabim-page="gecmis"] .past-listing-card-archived {
  border-left-color: #cbd5e1;
  background:
    radial-gradient(260px 120px at 0% 0%, rgba(148,163,184,.14), transparent 66%),
    rgba(248,250,252,.72);
}

.dark body[data-hesabim-page="gecmis"] .past-listing-card-completed {
  background:
    radial-gradient(260px 120px at 0% 0%, rgba(16,185,129,.14), transparent 66%),
    rgba(6,78,59,.14);
}

.dark body[data-hesabim-page="gecmis"] .past-listing-card-archived {
  background:
    radial-gradient(260px 120px at 0% 0%, rgba(148,163,184,.12), transparent 66%),
    rgba(30,41,59,.34);
}

body[data-hesabim-page="gecmis"] .past-listing-action {
  white-space: nowrap;
}

body[data-hesabim-page="islerim"] #worker-jobs-section > .relative p,
body[data-hesabim-page="islerim"] #worker-jobs-section > .relative h1 {
  color: inherit !important;
}

body[data-hesabim-page="islerim"] .worker-jobs-stat-card {
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 1.35rem;
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(16,185,129,.08), transparent 62%),
    rgba(248,250,252,.88);
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74), 0 14px 34px -32px rgba(15,23,42,.52);
}

.dark body[data-hesabim-page="islerim"] .worker-jobs-stat-card {
  border-color: rgba(71,85,105,.78);
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(16,185,129,.12), transparent 62%),
    rgba(15,23,42,.5);
}

body[data-hesabim-page="islerim"] .worker-jobs-empty-action {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .75rem 1rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 950;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}

body[data-hesabim-page="islerim"] .worker-jobs-empty-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -24px rgba(15,23,42,.58);
}

body[data-hesabim-page="islerim"] #worker-jobs > article,
body[data-hesabim-page="islerim"] #worker-jobs > div {
  transition: transform .16s ease, background-color .16s ease;
}

body[data-hesabim-page="islerim"] #worker-jobs > article:hover,
body[data-hesabim-page="islerim"] #worker-jobs > div:hover {
  transform: translateY(-1px);
  background: rgba(248,250,252,.7);
}

.dark body[data-hesabim-page="islerim"] #worker-jobs > article:hover,
.dark body[data-hesabim-page="islerim"] #worker-jobs > div:hover {
  background: rgba(15,23,42,.42);
}

@media (max-width: 640px) {
  body[data-hesabim-page="gecmis"] main {
    padding-top: 1rem;
  }

  body[data-hesabim-page="gecmis"] #panel-removed > .relative {
    padding: 1.25rem !important;
  }

  body[data-hesabim-page="gecmis"] .past-listing-card {
    align-items: stretch !important;
  }

  body[data-hesabim-page="gecmis"] .past-listing-card > .flex.shrink-0 {
    width: 100%;
    align-items: stretch !important;
  }

  body[data-hesabim-page="gecmis"] .past-listing-action {
    justify-content: center;
    text-align: center;
  }

  body[data-hesabim-page="islerim"] main {
    padding-top: 1rem;
  }

  body[data-hesabim-page="islerim"] #worker-jobs-section > .relative {
    padding: 1.25rem !important;
  }

  body[data-hesabim-page="islerim"] #worker-jobs-section > .relative h1 {
    font-size: 1.45rem !important;
  }

  body[data-hesabim-page="islerim"] #worker-jobs-stats,
  body[data-hesabim-page="islerim"] #worker-jobs-section > .grid {
    grid-template-columns: 1fr !important;
  }

  body[data-hesabim-page="islerim"] #worker-jobs-section > .grid > div,
  body[data-hesabim-page="islerim"] .worker-jobs-stat-card {
    padding: 1rem !important;
  }

  body[data-hesabim-page="islerim"] .worker-jobs-empty-card {
    padding: 1rem !important;
  }

  body[data-hesabim-page="islerim"] .worker-jobs-empty-card .grid {
    grid-template-columns: 1fr !important;
  }
}

.modern-listings-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #0f172a, #1e293b 52%, #9a3412);
  color: white;
  padding: .85rem 1rem;
  box-shadow: 0 22px 65px -38px rgba(15,23,42,.8);
}

.modern-listings-hero::after {
  content: '';
  position: absolute;
  right: -4rem;
  top: -7.5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: rgba(249,115,22,.38);
  filter: blur(8px);
}

.modern-listings-hero > * {
  position: relative;
  z-index: 1;
}

#filters-sidebar {
  position: sticky;
  top: 5.25rem;
  background:
    radial-gradient(300px 180px at 100% 0%, rgba(249,115,22,.15), transparent 64%),
    radial-gradient(240px 160px at 0% 18%, rgba(37,99,235,.10), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.92)) !important;
}

.dark #filters-sidebar {
  background:
    radial-gradient(300px 180px at 100% 0%, rgba(249,115,22,.18), transparent 64%),
    radial-gradient(240px 160px at 0% 18%, rgba(37,99,235,.16), transparent 58%),
    linear-gradient(180deg, rgba(30,41,59,.98), rgba(15,23,42,.9)) !important;
}

.home-filter-panel {
  overflow: visible;
  padding: .8rem !important;
}

.home-filter-stack {
  overflow: visible;
}

#categories-mega-backdrop {
  z-index: 45 !important;
}

#categories-mega-panel {
  z-index: 50 !important;
}

#workers-region-panel.is-open,
#workers-region-panel:not(.hidden) {
  z-index: 42;
}

.home-filter-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #0f172a, #1e3a8a 54%, #ea580c);
  padding: .95rem;
  color: #fff;
  box-shadow: 0 18px 44px -26px rgba(15,23,42,.9);
}

.home-filter-hero::after {
  content: '';
  position: absolute;
  right: -2.5rem;
  top: -3rem;
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  filter: blur(2px);
}

.home-filter-eyebrow {
  position: relative;
  z-index: 1;
  font-size: .58rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fed7aa;
}

.home-filter-title {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  font-weight: 950;
  letter-spacing: -.03em;
}

.home-filter-clear {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  padding: .35rem .65rem;
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  transition: transform .16s ease, background-color .16s ease;
}

.home-filter-clear:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.22);
}

.home-filter-hint {
  position: relative;
  z-index: 1;
  margin-top: .35rem;
  color: rgba(255,255,255,.78);
  font-size: .68rem;
  line-height: 1.35;
}

.home-filter-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  margin-top: .6rem;
}

.home-filter-stats span {
  border: 1px solid rgba(226,232,240,.72);
  border-radius: 1rem;
  background: rgba(255,255,255,.72);
  padding: .55rem .6rem;
  color: #64748b;
  font-size: .68rem;
  font-weight: 800;
  box-shadow: 0 10px 24px -20px rgba(15,23,42,.55);
}

.home-filter-stats b {
  display: block;
  color: #0f172a;
  font-size: .78rem;
  font-weight: 950;
}

.dark .home-filter-stats span {
  border-color: rgba(71,85,105,.82);
  background: rgba(15,23,42,.55);
  color: #cbd5e1;
}

.dark .home-filter-stats b {
  color: #fff;
}

.home-filter-stack {
  display: grid;
  gap: .7rem;
  margin-top: .75rem;
}

.home-filter-field label,
.home-filter-label {
  display: block;
  margin-bottom: .35rem;
  color: #64748b;
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dark .home-filter-field label,
.dark .home-filter-label {
  color: #94a3b8;
}

.home-filter-control {
  display: flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid rgba(203,213,225,.88);
  border-radius: 1rem;
  background: rgba(255,255,255,.76);
  padding: 0 .7rem;
  box-shadow: 0 10px 28px -24px rgba(15,23,42,.6), inset 0 1px 0 rgba(255,255,255,.8);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.home-filter-control:focus-within,
.home-filter-budget .home-filter-input:focus {
  border-color: rgba(249,115,22,.62);
  box-shadow: 0 0 0 4px rgba(249,115,22,.10), 0 12px 28px -24px rgba(15,23,42,.72);
}

.home-filter-control > span {
  flex-shrink: 0;
  color: #f97316;
  font-size: .9rem;
  font-weight: 950;
}

.home-filter-field:first-child .home-filter-control {
  border-color: rgba(147,197,253,.9);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.9));
  box-shadow: 0 14px 34px -26px rgba(37,99,235,.7), inset 0 1px 0 rgba(255,255,255,.9);
}

.home-filter-field:first-child .home-filter-control > span {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(249,115,22,.1);
  color: #f97316;
  font-size: .78rem;
}

.home-filter-field:first-child .home-filter-input::placeholder {
  color: #94a3b8;
  font-weight: 850;
  letter-spacing: -.01em;
}

.home-filter-input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: .8rem 0;
  color: #0f172a;
  font-size: .9rem;
  font-weight: 750;
  outline: none;
}

select.home-filter-input {
  cursor: pointer;
}

.home-filter-control .bg-filter-combo {
  flex: 1;
  min-width: 0;
}

.bg-filter-panel.open {
  display: block;
}

.home-filter-input::placeholder {
  color: #94a3b8;
  font-weight: 650;
}

.dark .home-filter-control {
  border-color: rgba(71,85,105,.88);
  background: rgba(15,23,42,.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.dark .home-filter-field:first-child .home-filter-control {
  border-color: rgba(59,130,246,.55);
  background: linear-gradient(180deg, rgba(15,23,42,.76), rgba(15,23,42,.56));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.dark .home-filter-field:first-child .home-filter-control > span {
  background: rgba(249,115,22,.14);
  color: #fdba74;
}

.dark .home-filter-field:first-child .home-filter-input::placeholder {
  color: #cbd5e1;
}

.dark .home-filter-input {
  color: #f8fafc;
}

.home-filter-budget {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .45rem;
}

.home-filter-budget .home-filter-input {
  border: 1px solid rgba(203,213,225,.88);
  border-radius: 1rem;
  background: rgba(255,255,255,.76);
  padding: .8rem .75rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.dark .home-filter-budget .home-filter-input {
  border-color: rgba(71,85,105,.88);
  background: rgba(15,23,42,.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.home-filter-separator {
  color: #cbd5e1;
  font-weight: 950;
}

.home-filter-check {
  display: flex;
  align-items: center;
  gap: .7rem;
  cursor: pointer;
  border: 1px solid rgba(226,232,240,.86);
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(248,250,252,.72));
  padding: .75rem;
  color: #334155;
  font-size: .82rem;
  font-weight: 850;
  box-shadow: 0 10px 26px -24px rgba(15,23,42,.55);
}

.home-filter-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.home-filter-check-box {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148,163,184,.8);
  border-radius: .55rem;
  background: #fff;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.home-filter-check input:checked + .home-filter-check-box {
  border-color: #f97316;
  background: #f97316;
  box-shadow: 0 10px 22px -14px rgba(249,115,22,.9);
}

.home-filter-check input:checked + .home-filter-check-box::after {
  content: '';
  width: .35rem;
  height: .65rem;
  border: solid #fff;
  border-width: 0 .14rem .14rem 0;
  transform: rotate(45deg) translateY(-1px);
}

.dark .home-filter-check {
  border-color: rgba(71,85,105,.82);
  background: rgba(15,23,42,.52);
  color: #e2e8f0;
}

.dark .home-filter-check-box {
  border-color: rgba(100,116,139,.9);
  background: rgba(15,23,42,.9);
}

.home-filter-category-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(249,115,22,.25);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(255,247,237,.95), rgba(255,255,255,.82));
  padding: .8rem;
  text-align: left;
  color: #9a3412;
  font-size: .84rem;
  font-weight: 950;
  box-shadow: 0 14px 34px -26px rgba(249,115,22,.75);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.home-filter-category-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(249,115,22,.45);
  box-shadow: 0 18px 38px -26px rgba(249,115,22,.9);
}

.home-filter-category-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: .9rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 14px 24px -18px rgba(249,115,22,.95);
}

.home-filter-category-arrow {
  display: inline-flex;
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(249,115,22,.12);
  color: #ea580c;
  font-size: 1.2rem;
  line-height: 1;
}

.dark .home-filter-category-btn {
  border-color: rgba(249,115,22,.30);
  background: linear-gradient(135deg, rgba(67,42,25,.72), rgba(15,23,42,.58));
  color: #fed7aa;
}

.home-filter-mobile-toggle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid rgba(249,115,22,.28);
  border-radius: 1rem;
  background: linear-gradient(135deg, #fff7ed, #fff);
  padding: .8rem 1rem;
  color: #9a3412;
  font-size: .9rem;
  font-weight: 950;
  box-shadow: 0 16px 34px -26px rgba(249,115,22,.9);
}

.filters-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

body.filters-mobile-panel-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  :root {
    --mobile-bottom-chrome: calc(4rem + env(safe-area-inset-bottom, 0px));
  }

  html.pwa-mob-active {
    --mobile-bottom-chrome: var(--pwa-nav-h, calc(4.25rem + env(safe-area-inset-bottom, 0px)));
  }

  #filters-aside.filters-aside-mobile-open {
    position: fixed;
    inset: 0 auto var(--mobile-bottom-chrome) 0;
    z-index: 65;
    display: block !important;
    width: min(100%, 22rem);
    max-width: 22rem;
    margin: 0;
    padding: 0.75rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    background: rgba(248, 250, 252, 0.98);
    box-shadow: 12px 0 40px -12px rgba(15, 23, 42, 0.45);
  }

  .dark #filters-aside.filters-aside-mobile-open {
    background: rgba(15, 23, 42, 0.98);
  }

  #advanced-filters-drawer {
    z-index: 65 !important;
  }

  #advanced-filters-drawer > .flex.h-full {
    max-height: calc(100dvh - var(--mobile-bottom-chrome) - 0.75rem);
    padding-bottom: calc(var(--mobile-bottom-chrome) + 0.25rem);
  }

  #advanced-filters-drawer > .flex.h-full > div:last-child {
    position: sticky;
    bottom: 0;
    z-index: 2;
    flex-shrink: 0;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  }

  #advanced-filters-backdrop {
    z-index: 64 !important;
  }
}

.dark .home-filter-mobile-toggle {
  border-color: rgba(249,115,22,.34);
  background: linear-gradient(135deg, rgba(67,42,25,.9), rgba(15,23,42,.9));
  color: #fed7aa;
}

#listings-grid > article {
  border-radius: 1.65rem !important;
  box-shadow: 0 14px 38px -28px rgba(15,23,42,.65) !important;
}

#listings-grid > article:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 26px 60px -32px rgba(15,23,42,.8) !important;
}

#listings-grid .listing-card-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.38;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 1.125rem;
}

#listings-grid .listing-card-location {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow-wrap: break-word;
  line-height: 1.3;
}

@media (max-width: 639px) {
  #listings-grid .listing-card-title {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: 0.8125rem;
    letter-spacing: -0.01em;
  }

  #listings-grid .listing-card-location {
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }

  #listings-grid > article .listing-card-body {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  #listings-grid > article [data-open-offer-modal],
  #listings-grid > article a.rounded-full.bg-brand,
  #listings-grid > article a.rounded-full.bg-slate-900 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 640px) {
  #listings-grid .listing-card-location {
    -webkit-line-clamp: 1;
    line-clamp: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
  }
}

[data-bg-notif-dropdown].bg-notif-dropdown-panel {
  border-radius: 1.5rem !important;
  border-color: rgba(226,232,240,.9) !important;
  background:
    radial-gradient(340px 150px at 100% 0%, rgba(249,115,22,.12), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96)) !important;
  box-shadow: 0 24px 70px -32px rgba(15,23,42,.55), 0 1px 0 rgba(255,255,255,.8) inset !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.dark [data-bg-notif-dropdown].bg-notif-dropdown-panel {
  border-color: rgba(71,85,105,.78) !important;
  background:
    radial-gradient(340px 150px at 100% 0%, rgba(249,115,22,.16), transparent 62%),
    linear-gradient(180deg, rgba(30,41,59,.98), rgba(15,23,42,.96)) !important;
  box-shadow: 0 24px 76px -30px rgba(0,0,0,.85), 0 1px 0 rgba(255,255,255,.05) inset !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-bg-notif-dropdown],
[data-bg-notif-dropdown] *,
.bg-notif-backdrop {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-bg-notif-dropdown] [data-bg-notif-list] {
  background: transparent !important;
  padding: .65rem !important;
  gap: .55rem !important;
}

[data-bg-notif-dropdown] [data-bg-notif-list]::-webkit-scrollbar {
  width: .45rem;
}

[data-bg-notif-dropdown] [data-bg-notif-list]::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148,163,184,.55);
}

.notification-item-card {
  appearance: none;
  -webkit-appearance: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease !important;
}

.notification-item-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(37,99,235,.28) !important;
  box-shadow: 0 18px 36px -26px rgba(15,23,42,.7) !important;
}

[data-bg-notif-dropdown] [data-bg-notif-list] > .notification-item-card {
  flex-shrink: 0;
  width: 100%;
}

.bg-notif-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 1rem;
  background: rgba(255,255,255,.88);
  color: #0f172a;
  text-align: left;
  box-shadow: 0 12px 30px -24px rgba(15,23,42,.65);
}

.bg-notif-card-read {
  background: rgba(248,250,252,.82);
  color: #475569;
  opacity: .82;
}

.bg-notif-card-unread {
  border-color: rgba(37,99,235,.24);
  background:
    linear-gradient(135deg, rgba(239,246,255,.98), rgba(255,247,237,.72)),
    #fff;
  box-shadow: 0 18px 36px -28px rgba(37,99,235,.55);
}

.bg-notif-card-critical {
  border-color: rgba(249,115,22,.42) !important;
  background:
    radial-gradient(220px 90px at 100% 0%, rgba(249,115,22,.18), transparent 65%),
    linear-gradient(135deg, rgba(255,247,237,.98), rgba(255,255,255,.92)) !important;
}

.bg-notif-card-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(90deg, #2563eb, #f97316, #10b981);
  pointer-events: none;
}

.bg-notif-unread-dot {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 3;
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 2px rgba(255,255,255,.95);
  pointer-events: none;
}

.bg-notif-card-critical .bg-notif-unread-dot {
  background: #f97316;
}

.bg-notif-card-inner {
  display: flex;
  gap: .75rem;
  padding: .75rem .75rem 1rem;
}

.bg-notif-icon {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f1f5f9, #fff);
  box-shadow: inset 0 0 0 1px rgba(226,232,240,.9);
}

.bg-notif-icon-message {
  background: linear-gradient(135deg, #ede9fe, #fff);
  color: #6d28d9;
}

.bg-notif-icon-offer,
.bg-notif-icon-offer_new {
  background: linear-gradient(135deg, #ffedd5, #fff);
  color: #c2410c;
}

.bg-notif-icon-offer_accepted {
  background: linear-gradient(135deg, #dcfce7, #fff);
  color: #047857;
}

.bg-notif-icon-offer_rejected {
  background: linear-gradient(135deg, #ffe4e6, #fff);
  color: #be123c;
  box-shadow: inset 0 0 0 1px rgba(254, 205, 211, 0.95);
}

.bg-notif-card-offer-rejected .bg-notif-card-accent {
  background: linear-gradient(180deg, #f43f5e, #fb7185);
}

.bg-notif-card-offer-rejected .bg-notif-type {
  color: #be123c;
}

.bg-notif-copy {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.bg-notif-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .25rem;
}

.bg-notif-type {
  display: inline-flex;
  border-radius: 999px;
  background: #f1f5f9;
  padding: .125rem .45rem;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .06em;
  color: #64748b;
  text-transform: uppercase;
}

.bg-notif-time {
  flex-shrink: 0;
  font-size: .64rem;
  font-weight: 800;
  color: #94a3b8;
}

.bg-notif-title {
  display: flex;
  align-items: center;
  gap: .35rem;
  overflow: hidden;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.25;
  color: #0f172a;
}

.bg-notif-critical-mark {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 1.05rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: .68rem;
  font-weight: 950;
  box-shadow: 0 8px 18px -10px rgba(249,115,22,.95);
}

.bg-notif-body {
  display: -webkit-box;
  overflow: hidden;
  margin-top: .35rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: .72rem;
  line-height: 1.45;
  color: #64748b;
}

.bg-notif-card .bg-notif-footer {
  min-height: 1.75rem;
}

.bg-notif-proof-thumb {
  display: block;
  overflow: hidden;
  margin-top: .45rem;
  border-radius: .9rem;
  border: 1px solid rgba(16,185,129,.22);
  background: rgba(236,253,245,.85);
}

.bg-notif-proof-thumb img {
  display: block;
  width: 100%;
  max-height: 6.5rem;
  object-fit: cover;
}

.bg-notif-proof-thumb span {
  display: block;
  padding: .35rem .5rem;
  color: #047857;
  font-size: .62rem;
  font-weight: 950;
}

.bg-notif-new {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .45rem;
  font-size: .64rem;
  font-weight: 900;
  color: #2563eb;
}

.bg-notif-new span {
  width: .38rem;
  height: .38rem;
  border-radius: 999px;
  background: currentColor;
}

.bg-notif-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .45rem;
  flex-shrink: 0;
}

.bg-notif-footer .bg-notif-new {
  margin-top: 0;
}

.bg-notif-action {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(15,23,42,.92);
  padding: .38rem .62rem;
  font-size: .64rem;
  font-weight: 950;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  opacity: 1;
  transition: transform .15s ease, background-color .15s ease;
}

.notification-item-card:hover .bg-notif-action,
.notification-item-card:focus-visible .bg-notif-action {
  transform: translateX(1px);
  opacity: 1;
  background: #f97316;
}

.dark .bg-notif-card {
  border-color: rgba(71,85,105,.78);
  background: rgba(30,41,59,.78);
  color: #e2e8f0;
}

.dark .bg-notif-card-read {
  background: rgba(15,23,42,.48);
  color: #94a3b8;
  opacity: .78;
}

.dark .bg-notif-card-unread {
  border-color: rgba(59,130,246,.36);
  background:
    linear-gradient(135deg, rgba(30,64,175,.26), rgba(124,45,18,.18)),
    rgba(30,41,59,.96);
}

.dark .bg-notif-card-critical {
  background:
    radial-gradient(220px 90px at 100% 0%, rgba(249,115,22,.2), transparent 65%),
    rgba(30,41,59,.96) !important;
}

.dark .bg-notif-icon {
  background: linear-gradient(135deg, rgba(51,65,85,.9), rgba(15,23,42,.72));
  box-shadow: inset 0 0 0 1px rgba(71,85,105,.85);
}

.dark .bg-notif-type {
  background: rgba(51,65,85,.82);
  color: #cbd5e1;
}

.dark .bg-notif-title {
  color: #f8fafc;
}

.dark .bg-notif-body {
  color: #cbd5e1;
}

.dark .bg-notif-proof-thumb {
  border-color: rgba(16,185,129,.24);
  background: rgba(6,78,59,.28);
}

.dark .bg-notif-proof-thumb span {
  color: #a7f3d0;
}

.dark .bg-notif-action {
  background: rgba(248,250,252,.92);
  color: #0f172a;
}

[data-bg-notif-mark-read] {
  border-radius: 1rem !important;
  background: linear-gradient(180deg, #fff, #f8fafc) !important;
}

.dark [data-bg-notif-mark-read] {
  background: linear-gradient(180deg, #1e293b, #0f172a) !important;
}

#header-profile-menu.header-profile-menu-panel {
  border-radius: 1.65rem !important;
  border-color: rgba(226,232,240,.92) !important;
  background:
    radial-gradient(280px 140px at 0% 0%, rgba(249,115,22,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96)) !important;
  box-shadow: 0 28px 80px -38px rgba(15,23,42,.72), 0 1px 0 rgba(255,255,255,.85) inset !important;
}

.dark #header-profile-menu.header-profile-menu-panel {
  border-color: rgba(71,85,105,.78) !important;
  background:
    radial-gradient(280px 140px at 0% 0%, rgba(249,115,22,.15), transparent 60%),
    linear-gradient(180deg, rgba(30,41,59,.98), rgba(15,23,42,.96)) !important;
  box-shadow: 0 28px 84px -34px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.05) inset !important;
}

#header-profile-verify-banner {
  margin: .65rem .65rem 0;
  border-radius: 1.1rem !important;
  border: 1px solid rgba(251,191,36,.55) !important;
  box-shadow: 0 12px 28px -22px rgba(217,119,6,.85);
}

#header-profile-menu #header-dropdown-photo,
#header-profile-menu #header-dropdown-initials {
  height: 3.75rem !important;
  width: 3.75rem !important;
  border-radius: 1.35rem !important;
}

#header-profile-menu .header-dd-item {
  will-change: transform;
}

#header-profile-menu .header-dd-item:hover {
  transform: translateY(-1px);
}

#header-profile-menu .header-dd-compact-action {
  display: inline-flex !important;
  min-height: 2.45rem;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-align: center;
}

#header-profile-menu .header-dd-compact-action > span:first-child {
  display: inline-flex;
  width: 1.3rem;
  height: 1.3rem;
  align-items: center;
  justify-content: center;
  border-radius: .55rem;
  background: rgba(37,99,235,.08);
  color: #2563eb;
  font-weight: 950;
}

#header-profile-menu .header-dd-logout-compact {
  min-height: 2.65rem;
}

#header-profile-menu .header-dd-logout-compact:hover span:last-child {
  background: rgba(254,226,226,.9);
  color: #be123c;
}

#advanced-filters-drawer {
  border-color: rgba(226,232,240,.92) !important;
  background:
    radial-gradient(360px 180px at 100% 0%, rgba(249,115,22,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.97)) !important;
}

#advanced-filters-drawer .filter-date-btn {
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

#advanced-filters-drawer .filter-date-btn:hover {
  transform: translateY(-1px);
}

#advanced-filters-drawer .filter-date-btn.bg-brand {
  border-color: rgba(249,115,22,.55) !important;
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px -18px rgba(249,115,22,.85);
}

#categories-modal .category-modal-shell {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(249,115,22,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,250,252,.98)) !important;
}

.dark #categories-modal .category-modal-shell {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(249,115,22,.14), transparent 62%),
    linear-gradient(180deg, rgba(30,41,59,.99), rgba(15,23,42,.98)) !important;
}

#categories-list {
  scrollbar-width: thin;
}

#categories-list .category-group-card + .category-group-card {
  margin-top: .75rem;
}

#categories-list .cat-modal-btn:hover,
.job-category-chip:hover {
  transform: translateY(-1px);
}

.job-category-chip-active,
.job-category-chip.bg-brand {
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  border-color: rgba(249,115,22,.75) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px -18px rgba(249,115,22,.9);
}

.job-category-group summary::-webkit-details-marker {
  display: none;
}

.job-category-group summary::after {
  content: '+';
  float: right;
  color: #f97316;
  font-weight: 900;
}

.job-category-group[open] summary::after {
  content: '-';
}

body.post-page {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(249,115,22,.10), transparent 55%),
    radial-gradient(760px 420px at 0% 30%, rgba(37,99,235,.08), transparent 52%),
    #f4f4f5 !important;
}

.dark body.post-page {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(249,115,22,.16), transparent 55%),
    radial-gradient(760px 420px at 0% 30%, rgba(37,99,235,.16), transparent 52%),
    #0f172a !important;
}

.post-hero,
.post-form,
.post-side > section {
  box-shadow: 0 22px 65px -38px rgba(15,23,42,.65), 0 1px 0 rgba(255,255,255,.72) inset !important;
}

.dark .post-hero,
.dark .post-form,
.dark .post-side > section {
  box-shadow: 0 22px 70px -34px rgba(0,0,0,.86), 0 1px 0 rgba(255,255,255,.05) inset !important;
}

.post-form input,
.post-form textarea,
.post-form select {
  font-weight: 600;
}

.post-form .tr-address-picker select,
.post-form [data-tr-address-picker] select {
  border-radius: 1rem !important;
}

.post-side {
  animation: post-side-in .35s ease both;
}

@keyframes post-side-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bg-notif-backdrop {
  position: fixed;
  inset: 0;
  z-index: 108;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bg-notif-backdrop.hidden {
  display: none;
}

html.bg-notif-sheet-active,
body.bg-notif-sheet-active {
  overflow: hidden;
}

@media (max-width: 1023px) {
  [data-bg-notif-dropdown].bg-notif-sheet-open:not(.hidden) {
    position: fixed !important;
    left: max(0.75rem, env(safe-area-inset-left, 0px)) !important;
    right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
    top: max(3.5rem, env(safe-area-inset-top, 0px)) !important;
    bottom: auto !important;
    height: auto !important;
    max-height: calc(
      100dvh
      - max(3.5rem, env(safe-area-inset-top, 0px))
      - var(--pwa-nav-h, 4.25rem)
      - max(1rem, env(safe-area-inset-bottom, 0px))
    ) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 110 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    isolation: isolate;
    background: #ffffff !important;
    box-shadow: 0 24px 70px -32px rgba(15, 23, 42, 0.45) !important;
  }

  .dark [data-bg-notif-dropdown].bg-notif-sheet-open:not(.hidden) {
    background: #0f172a !important;
  }

  .bg-notif-backdrop {
    background: rgba(15, 23, 42, 0.38) !important;
  }

  body.bg-notif-sheet-active #pwa-bottom-nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #ffffff !important;
  }

  html.dark body.bg-notif-sheet-active #pwa-bottom-nav {
    background: #0f172a !important;
  }

  [data-bg-notif-dropdown].bg-notif-sheet-open:not(.hidden) .bg-notif-dropdown-header,
  [data-bg-notif-dropdown].bg-notif-sheet-open:not(.hidden) > div:first-child {
    flex-shrink: 0;
  }

  [data-bg-notif-dropdown].bg-notif-sheet-open:not(.hidden) .bg-notif-sheet-footer {
    flex-shrink: 0;
  }

  [data-bg-notif-dropdown].bg-notif-sheet-open:not(.hidden) [data-bg-notif-list] {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 640px) {
  .modern-listings-hero { border-radius: 1.25rem; padding: .75rem; }
  body.ilan-page #ilan-hero-wrap { margin: .5rem; border-radius: 1rem; }
  [data-bg-notif-dropdown].bg-notif-dropdown-panel { border-radius: 1.25rem !important; }
  #header-profile-menu.header-profile-menu-panel {
    right: -.25rem !important;
    width: min(calc(100vw - 1rem), 21rem) !important;
    border-radius: 1.35rem !important;
  }
  #advanced-filters-drawer {
    inset: auto .5rem calc(var(--mobile-bottom-chrome, 4.25rem) + 0.5rem) .5rem !important;
    width: auto !important;
    max-width: none !important;
    max-height: min(78dvh, calc(100dvh - var(--mobile-bottom-chrome, 4.25rem) - 1.25rem));
    border: 1px solid rgba(226,232,240,.92) !important;
    border-radius: 1.75rem !important;
    overflow: hidden;
    box-shadow: 0 28px 80px -34px rgba(15,23,42,.85) !important;
    transform: translateY(120%) !important;
    z-index: 65 !important;
  }
  #advanced-filters-drawer:not(.translate-x-full) {
    transform: translateY(0) !important;
  }
  #advanced-filters-drawer > .flex {
    max-height: inherit;
    padding-bottom: 0 !important;
  }
  #advanced-filters-drawer .flex-1 {
    min-height: 0;
  }
  #advanced-filters-drawer > .flex.h-full > div:last-child {
    position: relative;
    bottom: auto;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
  }
  #categories-modal .category-modal-shell {
    max-height: 92dvh !important;
    border-radius: 1.75rem 1.75rem 0 0 !important;
  }
  .post-hero { border-radius: 1.5rem !important; }
  .post-form { border-radius: 1.5rem !important; }
}

/* İlan portföy sekmeleri — ana sayfa + hesabım */
.listing-portfolio-tabs {
  display: inline-flex;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.92) 100%);
  box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.dark .listing-portfolio-tabs {
  border-color: rgba(51, 65, 85, 0.95);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.listing-portfolio-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.35rem;
  padding: 0.65rem 1.15rem;
  border-radius: 1.05rem;
  border: 1px solid transparent;
  background: transparent;
  color: rgb(71, 85, 105);
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  transition: all 0.22s ease;
  cursor: pointer;
  white-space: nowrap;
}
.listing-portfolio-tab span[data-tab-sub] {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.72;
}
.listing-portfolio-tab:hover {
  color: rgb(15, 23, 42);
  background: rgba(255, 255, 255, 0.72);
}
.dark .listing-portfolio-tab {
  color: rgb(148, 163, 184);
}
.dark .listing-portfolio-tab:hover {
  color: rgb(248, 250, 252);
  background: rgba(51, 65, 85, 0.55);
}
.listing-portfolio-tab.is-active {
  color: #ffffff;
  border-color: rgba(234, 88, 12, 0.55);
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 14px 28px -14px rgba(249, 115, 22, 0.55), 0 4px 14px -6px rgba(234, 88, 12, 0.35);
  transform: translateY(-1px);
}
.dark .listing-portfolio-tab.is-active {
  color: #ffffff;
  border-color: rgba(251, 146, 60, 0.45);
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 14px 28px -14px rgba(249, 115, 22, 0.45), 0 4px 14px -6px rgba(234, 88, 12, 0.3);
}
.listing-portfolio-tab.is-active span[data-tab-sub] {
  color: #ffffff;
  opacity: 0.92;
}
.listing-portfolio-tabs[aria-busy="true"] .listing-portfolio-tab.is-active {
  opacity: 0.92;
}
@media (min-width: 640px) {
  .listing-portfolio-tab {
    min-height: 3.75rem;
    padding: 0.75rem 1.35rem;
    font-size: 0.9375rem;
  }
}
@media (max-width: 639px) {
  .listing-portfolio-tabs {
    width: 100%;
  }
  .listing-portfolio-tab {
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    text-align: center;
    padding-inline: 0.75rem;
    font-size: 0.75rem;
  }
}
.listing-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.listing-type-badge.customer {
  background: rgba(59, 130, 246, 0.12);
  color: rgb(29, 78, 216);
}
.listing-type-badge.provider {
  background: rgba(249, 115, 22, 0.14);
  color: rgb(194, 65, 12);
}
.dark .listing-type-badge.customer {
  background: rgba(59, 130, 246, 0.18);
  color: rgb(147, 197, 253);
}
.dark .listing-type-badge.provider {
  background: rgba(249, 115, 22, 0.2);
  color: rgb(253, 186, 116);
}

/* —— İlan görüntülenme sayacı —— */
.listing-view-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  color: rgb(100 116 139);
  white-space: nowrap;
}
.listing-view-icon {
  flex-shrink: 0;
  opacity: 0.82;
}
.listing-view-stat--on-media {
  border-radius: 0.45rem;
  background: rgba(15, 23, 42, 0.62);
  color: #fff;
  padding: 0.2rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 800;
  backdrop-filter: blur(4px);
}
.listing-view-stat--on-media .listing-view-icon {
  width: 12px;
  height: 12px;
  opacity: 0.95;
}
.listing-view-stat--detail {
  justify-content: flex-end;
  font-size: 0.8125rem;
  color: rgb(51 65 85);
}
.listing-view-stat--my-listing {
  border-radius: 999px;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
  padding: 0.2rem 0.55rem;
}
.dark .listing-view-stat {
  color: rgb(148 163 184);
}
.dark .listing-view-stat--my-listing {
  border-color: rgb(71 85 105);
  background: rgba(15, 23, 42, 0.45);
}
.dark .listing-view-stat--detail {
  color: rgb(226 232 240);
}
.listing-view-label {
  font-weight: 600;
}

/* —— Site footer (index) —— */
#site-footer .site-footer-ssl-badge {
  font-size: 0.6875rem;
  line-height: 1.45;
  color: rgb(148 163 184);
}
.dark #site-footer .site-footer-ssl-badge {
  color: rgb(100 116 139);
}
#site-footer .site-footer-ssl-icon {
  margin-top: 0.1rem;
  color: rgb(148 163 184);
  opacity: 0.85;
}
.dark #site-footer .site-footer-ssl-icon {
  color: rgb(100 116 139);
}
#site-footer .site-footer-link {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgb(100 116 139);
  transition: color 0.2s ease, transform 0.2s ease;
}
#site-footer .site-footer-link:hover {
  color: rgb(249 115 22);
}
.dark #site-footer .site-footer-link {
  color: rgb(148 163 184);
}
.dark #site-footer .site-footer-link:hover {
  color: rgb(251 146 60);
}
#site-footer .site-footer-col-title {
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(148 163 184);
}
.dark #site-footer .site-footer-col-title {
  color: rgb(100 116 139);
}
#site-footer .site-footer-trust-badges,
.site-footer-trust-badges {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  width: 100%;
  max-width: 22rem;
}
@media (min-width: 640px) {
  #site-footer .site-footer-trust-badges,
  .site-footer-trust-badges {
    width: auto;
    align-items: flex-end;
  }
}
#site-footer .site-footer-bbc-trust,
.site-footer-bbc-trust {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(127, 29, 29, 0.18);
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.92) 0%, rgba(255, 255, 255, 0.96) 55%, rgba(248, 250, 252, 0.92) 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.dark #site-footer .site-footer-bbc-trust,
.dark .site-footer-bbc-trust {
  border-color: rgba(248, 113, 113, 0.22);
  background: linear-gradient(135deg, rgba(69, 10, 10, 0.55) 0%, rgba(15, 23, 42, 0.72) 100%);
}
#site-footer .site-footer-bbc-logo,
.site-footer-bbc-trust .site-footer-bbc-logo {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(127, 29, 29, 0.18));
}
#site-footer .site-footer-bbc-copy,
.site-footer-bbc-trust .site-footer-bbc-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  text-align: left;
}
#site-footer .site-footer-bbc-title,
.site-footer-bbc-trust .site-footer-bbc-title {
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: rgb(127 29 29);
}
.dark #site-footer .site-footer-bbc-title,
.dark .site-footer-bbc-trust .site-footer-bbc-title {
  color: rgb(254 202 202);
}
#site-footer .site-footer-bbc-kicker,
.site-footer-bbc-trust .site-footer-bbc-kicker {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgb(100 116 139);
}
.dark #site-footer .site-footer-bbc-kicker,
.dark .site-footer-bbc-trust .site-footer-bbc-kicker {
  color: rgb(148 163 184);
}
.site-footer-bbc-trust--compact {
  padding: 0.45rem 0.65rem;
}
.site-footer-bbc-trust--compact .site-footer-bbc-logo {
  width: 1.85rem;
  height: 1.85rem;
}
#site-footer .site-footer-payment-trust,
.site-footer-payment-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(8px);
}
.dark #site-footer .site-footer-payment-trust,
.dark .site-footer-payment-trust {
  border-color: rgba(71, 85, 105, 0.55);
  background: rgba(15, 23, 42, 0.55);
}
#site-footer .site-footer-payment-trust img,
#site-footer .site-footer-iyzico-badge {
  display: block;
  height: auto;
  width: auto;
}
#site-footer .site-footer-iyzico-logo,
.site-footer-payment-trust .site-footer-iyzico-logo {
  height: 2.25rem;
  max-width: 11.5rem;
  object-fit: contain;
}
#site-footer .site-footer-card-band,
.site-footer-payment-trust .site-footer-card-band {
  height: 2rem;
  max-width: 7.5rem;
  object-fit: contain;
}
.site-footer-payment-trust--compact {
  padding: 0.45rem 0.65rem;
  gap: 0.5rem 0.65rem;
}
.site-footer-payment-trust--compact .site-footer-iyzico-logo {
  height: 1.75rem;
  max-width: 9.5rem;
}
.site-footer-payment-trust--compact .site-footer-card-band {
  height: 1.65rem;
  max-width: 6.5rem;
}
.dark #site-footer .site-footer-iyzico-bg {
  fill: rgba(15, 23, 42, 0.72);
  stroke: rgba(71, 85, 105, 0.65);
}
.dark #site-footer .site-footer-iyzico-sub {
  fill: rgb(148 163 184);
}
#site-footer .site-footer-card-icons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
#site-footer .site-footer-card-icons svg {
  display: block;
  height: 1.35rem;
  width: auto;
  opacity: 0.82;
}
.dark #site-footer .site-footer-card-icons svg {
  opacity: 0.92;
}
#site-footer .site-footer-legal-meta {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: rgb(148 163 184);
}
.dark #site-footer .site-footer-legal-meta {
  color: rgb(100 116 139);
}

/* —— İlan ver — tür seçimi —— */
.listing-type-choice-shell {
  padding-bottom: 1rem;
}

.listing-type-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgb(243 244 246);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(249, 115, 22, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.dark .listing-type-card {
  border-color: rgba(71, 85, 105, 0.55);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(249, 115, 22, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.94));
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.75);
}

.listing-type-card:hover:not(.listing-type-card--locked) {
  transform: translateY(-0.5rem);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 22px 44px -24px rgba(249, 115, 22, 0.35), 0 12px 28px -20px rgba(15, 23, 42, 0.35);
}

.listing-type-card.is-selected {
  border-color: rgba(249, 115, 22, 0.72);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.18), 0 22px 44px -24px rgba(249, 115, 22, 0.38);
}

.listing-type-card--locked {
  transform: none !important;
}

.listing-type-card-check {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(249 115 22);
  color: #fff;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 18px -8px rgba(249, 115, 22, 0.95);
}

.listing-type-card.is-selected .listing-type-card-check {
  opacity: 1;
  transform: scale(1);
}

.listing-type-card-icon {
  display: inline-flex;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 1rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.listing-type-card-icon--customer {
  background: rgba(249, 115, 22, 0.1);
  color: rgb(249 115 22);
}

.listing-type-card-icon--provider {
  background: rgba(37, 99, 235, 0.1);
  color: rgb(37 99 235);
}

.listing-type-card:hover:not(.listing-type-card--locked) .listing-type-card-icon--customer {
  background: rgba(249, 115, 22, 0.16);
  color: rgb(234 88 12);
  transform: scale(1.05);
}

.listing-type-card:hover:not(.listing-type-card--locked) .listing-type-card-icon--provider {
  background: rgba(249, 115, 22, 0.14);
  color: rgb(249 115 22);
  transform: scale(1.05);
}

.listing-type-card.is-selected .listing-type-card-icon--customer,
.listing-type-card.is-selected .listing-type-card-icon--provider {
  background: rgba(249, 115, 22, 0.18);
  color: rgb(234 88 12);
}

@media (max-width: 639px) {
  .listing-type-choice-hero h1 {
    font-size: 1.75rem;
  }

  .listing-type-card {
    padding: 1.35rem 1.15rem;
  }
}
