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

/**
 * Hesabım alanı — kurumsal / premium görünüm (tüm hesabim*.html)
 * body.account-bg ile kapsamlı; site geneline sızmaz.
 */

/* —— Temel sayfa —— */
html {
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body.account-bg {
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  background-color: #f1f5f9;
  background-image:
    radial-gradient(ellipse 120% 90% at 100% -10%, rgba(249, 115, 22, 0.09), transparent 52%),
    radial-gradient(ellipse 90% 70% at 0% 100%, rgba(37, 99, 235, 0.07), transparent 48%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(148, 163, 184, 0.06), transparent 60%);
  background-attachment: scroll;
}

@media (max-width: 640px) {
  body.account-bg header nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  body.account-bg header nav a,
  body.account-bg header nav button {
    min-height: 44px;
  }
  body.account-bg main {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.dark body.account-bg .card-bg {
  background-color: #1e293b;
  border-color: #334155;
}

.dark body.account-bg {
  background: linear-gradient(168deg, #0b1220 0%, #0f172a 35%, #1e293b 70%, #172554 100%);
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px rgba(59, 130, 246, 0.15), 0 0 0 1px rgba(59, 130, 246, 0.06);
}

.shadow-card-modern {
  box-shadow:
    0 4px 24px -4px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}
.dark .shadow-card-modern {
  box-shadow:
    0 4px 24px -4px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* —— Üst bar —— */
body.account-bg #bg-site-root > header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 4px 24px -8px rgba(15, 23, 42, 0.08);
}

.dark body.account-bg #bg-site-root > header {
  background: rgba(15, 23, 42, 0.88);
  border-bottom-color: rgba(51, 65, 85, 0.6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

/* —— Ana içerik alanı —— */
body.account-bg main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  body.account-bg main {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Yükleme kartı */
body.account-bg #loading {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow:
    0 20px 50px -24px rgba(15, 23, 42, 0.15),
    0 0 0 1px rgba(148, 163, 184, 0.12);
}

.dark body.account-bg #loading {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
}

/* —— Kenar menü (masaüstü) —— */
body.account-bg #hesabim-aside-nav.settings-sidebar {
  padding: 0.5rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1.125rem;
  box-shadow:
    0 16px 40px -20px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.dark body.account-bg #hesabim-aside-nav.settings-sidebar {
  background: linear-gradient(165deg, #1e293b 0%, #172033 100%);
  border-color: rgba(71, 85, 105, 0.55);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.35);
}

.settings-sidebar .settings-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgb(51 65 85);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid transparent;
}

.dark .settings-sidebar .settings-nav-item {
  color: rgb(203 213 225);
}

.settings-sidebar .settings-nav-item:hover {
  background: rgba(249, 115, 22, 0.09);
  color: rgb(234 88 12);
  border-color: rgba(249, 115, 22, 0.12);
}

.dark .settings-sidebar .settings-nav-item:hover {
  background: rgba(249, 115, 22, 0.14);
  color: rgb(251 146 60);
  border-color: rgba(249, 115, 22, 0.2);
}

.settings-sidebar .settings-nav-item.active {
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95) 0%, rgba(255, 237, 213, 0.65) 100%);
  color: rgb(194 65 12);
  font-weight: 600;
  border-color: rgba(249, 115, 22, 0.25);
  box-shadow:
    inset 3px 0 0 0 rgb(249 115 22),
    0 4px 14px -6px rgba(249, 115, 22, 0.35);
}

.dark .settings-sidebar .settings-nav-item.active {
  color: rgb(253 186 116);
  background: linear-gradient(135deg, rgba(124 45 18 / 0.35) 0%, rgba(30 27 23 / 0.5) 100%);
  border-color: rgba(251, 146, 60, 0.25);
}

.settings-sidebar .settings-nav-item[data-hesabim-nav='hizli'] {
  display: none !important;
}

/* Mobil çekmece menü */
body.account-bg #hesabim-menu-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 8px 0 40px -8px rgba(15, 23, 42, 0.2);
}

.dark body.account-bg #hesabim-menu-panel {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

body.account-bg #hesabim-menu-panel .border-b {
  border-color: rgba(148, 163, 184, 0.25);
}

/* —— İçerik kartları (panel bölümleri) —— */
body.account-bg .min-w-0.flex-1.space-y-8 > section {
  border-radius: 1.25rem !important;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.32) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.05),
    0 20px 48px -24px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset !important;
}

.dark body.account-bg .min-w-0.flex-1.space-y-8 > section {
  background: linear-gradient(180deg, #1e293b 0%, #172033 100%) !important;
  border-color: rgba(71, 85, 105, 0.55) !important;
  box-shadow:
    0 12px 40px -20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
}

/* Panel üst şerit */
body.account-bg .min-w-0.flex-1.space-y-8 > section > div:first-of-type {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.65) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22) !important;
}

.dark body.account-bg .min-w-0.flex-1.space-y-8 > section > div:first-of-type {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.5) 100%);
  border-bottom-color: rgba(71, 85, 105, 0.45) !important;
}

body.account-bg .min-w-0.flex-1.space-y-8 > section h1,
body.account-bg .min-w-0.flex-1.space-y-8 > section > div:first-of-type h2 {
  letter-spacing: -0.025em;
  font-size: 1.125rem;
  line-height: 1.35;
}

@media (min-width: 640px) {
  body.account-bg .min-w-0.flex-1.space-y-8 > section h1,
  body.account-bg .min-w-0.flex-1.space-y-8 > section > div:first-of-type h2 {
    font-size: 1.25rem;
  }
}

/* Panel başlığındaki ikon kutusu */
body.account-bg .min-w-0.flex-1.space-y-8 > section > div:first-of-type span.flex.h-10.w-10.rounded-xl {
  box-shadow:
    0 4px 14px -6px rgba(37, 99, 235, 0.3),
    0 0 0 1px rgba(37, 99, 235, 0.1);
}

.dark body.account-bg .min-w-0.flex-1.space-y-8 > section > div:first-of-type span.flex.h-10.w-10.rounded-xl {
  box-shadow:
    0 4px 14px -6px rgba(59, 130, 246, 0.25),
    0 0 0 1px rgba(96, 165, 250, 0.15);
}

/* —— Çalışan: yetenek / ödeme alt kartları —— */
body.account-bg #panel-worker-settings .space-y-8.p-5 > div.rounded-xl:first-of-type {
  background: linear-gradient(145deg, rgba(236, 253, 245, 0.92) 0%, rgba(240, 253, 250, 0.55) 45%, rgba(255, 255, 255, 0.92) 100%);
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.85),
    0 10px 28px -14px rgba(5, 150, 105, 0.22);
}

.dark body.account-bg #panel-worker-settings .space-y-8.p-5 > div.rounded-xl:first-of-type {
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.35) 0%, rgba(15, 23, 42, 0.6) 100%);
  border-color: rgba(52, 211, 153, 0.22) !important;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

body.account-bg #panel-worker-settings .space-y-8.p-5 > div.rounded-xl:nth-of-type(2) {
  background: linear-gradient(145deg, rgba(224, 242, 254, 0.95) 0%, rgba(239, 246, 255, 0.55) 50%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(14, 165, 233, 0.28) !important;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.85),
    0 10px 28px -14px rgba(2, 132, 199, 0.2);
}

.dark body.account-bg #panel-worker-settings .space-y-8.p-5 > div.rounded-xl:nth-of-type(2) {
  background: linear-gradient(145deg, rgba(12, 74, 110, 0.35) 0%, rgba(15, 23, 42, 0.65) 100%);
  border-color: rgba(56, 189, 248, 0.22) !important;
}

/* —— Form kontrolleri (#content içi) —— */
body.account-bg #content input[type='text'],
body.account-bg #content input[type='email'],
body.account-bg #content input[type='number'],
body.account-bg #content input[type='search'],
body.account-bg #content input[type='tel'],
body.account-bg #content textarea,
body.account-bg #content select {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

body.account-bg #content input[type='text']:focus,
body.account-bg #content input[type='email']:focus,
body.account-bg #content input[type='number']:focus,
body.account-bg #content input[type='search']:focus,
body.account-bg #content input[type='tel']:focus,
body.account-bg #content textarea:focus,
body.account-bg #content select:focus {
  outline: none;
  border-color: rgba(249, 115, 22, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}

.dark body.account-bg #content input:focus,
.dark body.account-bg #content textarea:focus,
.dark body.account-bg #content select:focus {
  border-color: rgba(251, 146, 60, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.12);
}

/* —— Öne çıkan kaydet butonları —— */
body.account-bg #worker-settings-save,
body.account-bg #profile-photo-save {
  background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%) !important;
  border: 1px solid rgba(234, 88, 12, 0.35);
  box-shadow:
    0 6px 20px -4px rgba(234, 88, 12, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

body.account-bg #worker-settings-save:hover,
body.account-bg #profile-photo-save:hover {
  filter: brightness(1.05);
}

/* Profil: “Ana sayfada gör” ikincil CTA */
body.account-bg #panel-profile a.border-brand {
  box-shadow: 0 2px 8px -2px rgba(249, 115, 22, 0.25);
}

body.account-bg #panel-profile .profile-action-chip {
  display: block;
  width: 100%;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

body.account-bg #panel-profile .profile-action-chip:hover,
body.account-bg #panel-profile .profile-action-chip:focus-visible {
  transform: translateY(-1px);
  color: rgb(194, 65, 12);
  background: rgba(255, 247, 237, 0.95) !important;
  box-shadow: 0 10px 24px -20px rgba(249, 115, 22, 0.65);
  outline: none;
}

.dark body.account-bg #panel-profile .profile-action-chip:hover,
.dark body.account-bg #panel-profile .profile-action-chip:focus-visible {
  color: rgb(253, 186, 116);
  background: rgba(124, 45, 18, 0.28) !important;
}

/* Yasak banner */
body.account-bg #account-ban-banner:not(.hidden) {
  box-shadow: 0 8px 24px -12px rgba(225, 29, 72, 0.25);
}

/* Liste satırları — hafif hover */
body.account-bg #content .divide-y > a,
body.account-bg #content .divide-y > button,
body.account-bg #content .divide-y > div {
  transition: background-color 0.15s ease;
}

body.account-bg #content .divide-y > a:hover,
body.account-bg #content .divide-y > button:hover,
body.account-bg #content .divide-y > div:hover {
  background-color: rgba(248, 250, 252, 0.85);
}

.dark body.account-bg #content .divide-y > a:hover,
.dark body.account-bg #content .divide-y > button:hover,
.dark body.account-bg #content .divide-y > div:hover {
  background-color: rgba(30, 41, 59, 0.65);
}

body.account-bg .closure-reason-option {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: rgb(51, 65, 85);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

body.account-bg .closure-reason-option:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(255, 241, 242, 0.72);
}

body.account-bg .closure-reason-option:has(input:checked) {
  border-color: rgba(225, 29, 72, 0.55);
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.95), rgba(255, 255, 255, 0.95));
  color: rgb(190, 18, 60);
  box-shadow: 0 14px 32px -26px rgba(190, 18, 60, 0.55);
}

body.account-bg .listing-price-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  padding: 0.35rem 0.7rem;
  font-size: 0.95rem;
  font-weight: 950;
  line-height: 1;
  color: rgb(194, 65, 12);
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.18);
}

body.account-bg .listing-offers-cta:hover,
body.account-bg .listing-secondary-action:hover {
  transform: translateY(-1px);
}

/* İlanlarım — premium kontrol kartları */
body.account-bg .my-listing-card {
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.account-bg .my-listing-card:hover {
  border-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 28px -22px rgba(15, 23, 42, 0.28);
}

body.account-bg .my-listing-price-top {
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: rgb(234, 88, 12);
}

body.account-bg .my-listing-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: rgb(248, 250, 252);
  padding: 0.32rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgb(71, 85, 105);
}

body.account-bg .my-listing-meta-icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  opacity: 0.72;
}

body.account-bg .my-listing-manage-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.65rem;
  border: 1px solid rgb(226, 232, 240);
  background: #fff;
  padding: 0.45rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgb(71, 85, 105);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

body.account-bg .my-listing-manage-btn:hover:not(:disabled) {
  border-color: rgba(249, 115, 22, 0.35);
  background: rgba(255, 247, 237, 0.65);
  color: rgb(154, 52, 18);
}

body.account-bg .my-listing-manage-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.account-bg .my-listing-manage-btn .my-listing-meta-icon {
  width: 0.95rem;
  height: 0.95rem;
}

body.account-bg .my-listing-offers-empty {
  border: 1px dashed rgba(203, 213, 225, 0.85);
}

body.account-bg .my-listing-offers-panel {
  border: 1px solid rgba(226, 232, 240, 0.9);
}

body.account-bg .my-listing-offer-row + .my-listing-offer-row {
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.dark body.account-bg .my-listing-card:hover {
  border-color: rgba(100, 116, 139, 0.65);
}

.dark body.account-bg .my-listing-price-top {
  color: rgb(251, 146, 60);
}

.dark body.account-bg .my-listing-meta-badge {
  background: rgba(30, 41, 59, 0.72);
  color: rgb(203, 213, 225);
}

.dark body.account-bg .my-listing-manage-btn {
  border-color: rgba(71, 85, 105, 0.85);
  background: rgba(15, 23, 42, 0.55);
  color: rgb(203, 213, 225);
}

.dark body.account-bg .my-listing-manage-btn:hover:not(:disabled) {
  border-color: rgba(251, 146, 60, 0.45);
  background: rgba(67, 20, 7, 0.35);
  color: rgb(254, 215, 170);
}

.dark body.account-bg .my-listing-offers-empty {
  border-color: rgba(71, 85, 105, 0.75);
}

.dark body.account-bg .my-listing-offers-panel {
  border-color: rgba(71, 85, 105, 0.75);
}

.dark body.account-bg .my-listing-offer-row + .my-listing-offer-row {
  border-top-color: rgba(71, 85, 105, 0.65);
}

body.account-bg .my-listing-card-media {
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

body.account-bg .my-listing-card-media img {
  transition: transform 0.22s ease;
}

body.account-bg .my-listing-card:hover .my-listing-card-media img {
  transform: scale(1.03);
}

.dark body.account-bg .my-listing-card-media {
  box-shadow: inset 0 0 0 1px rgba(71, 85, 105, 0.75);
}

@media (max-width: 640px) {
  body.account-bg .my-listing-card {
    padding: 1rem;
  }

  body.account-bg .my-listing-card-media {
    height: 9.5rem;
  }

  body.account-bg .my-listing-primary-cta {
    width: 100%;
  }

  body.account-bg .my-listing-card-footer {
    align-items: stretch;
  }

  body.account-bg .my-listing-card-footer > div:last-child {
    width: 100%;
    justify-content: flex-start;
  }
}

.dark body.account-bg .closure-reason-option {
  border-color: rgba(71, 85, 105, 0.78);
  background: rgba(15, 23, 42, 0.5);
  color: rgb(203, 213, 225);
}

.dark body.account-bg .closure-reason-option:hover {
  background: rgba(76, 29, 45, 0.34);
}

.dark body.account-bg .closure-reason-option:has(input:checked) {
  border-color: rgba(251, 113, 133, 0.55);
  background: linear-gradient(135deg, rgba(76, 29, 45, 0.55), rgba(15, 23, 42, 0.65));
  color: rgb(254, 205, 211);
}

.dark body.account-bg .listing-price-pill {
  background: rgba(251, 146, 60, 0.16);
  color: rgb(253, 186, 116);
  box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.22);
}

@media (max-width: 640px) {
  body.account-bg .account-flow-cards {
    display: flex !important;
    grid-template-columns: none !important;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    overflow-x: auto;
    padding: 0 1.5rem 0.35rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  body.account-bg .account-flow-cards > div {
    min-width: 78%;
    scroll-snap-align: start;
  }
}

/* Profil kartı içi — avatar halkası */
body.account-bg #user-avatar-wrap {
  box-shadow:
    0 8px 24px -8px rgba(37, 99, 235, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

body.account-bg #panel-profile .profile-action-chip {
  text-decoration: none;
}

body.account-bg .worker-availability-preset {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(248, 250, 252, 0.85);
  padding: 0.45rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.35;
  color: #64748b;
  transition: all 0.2s ease;
  cursor: pointer;
}

body.account-bg .worker-availability-preset:hover {
  border-color: rgba(249, 115, 22, 0.35);
  color: #475569;
  transform: translateY(-1px);
}

body.account-bg .worker-availability-preset.is-selected {
  border-color: rgba(249, 115, 22, 0.55);
  background: linear-gradient(145deg, rgba(255, 247, 237, 0.98), rgba(254, 243, 199, 0.55));
  color: #c2410c;
  box-shadow: 0 8px 20px -14px rgba(249, 115, 22, 0.65);
}

.dark body.account-bg .worker-availability-preset {
  border-color: rgba(71, 85, 105, 0.85);
  background: rgba(15, 23, 42, 0.55);
  color: #94a3b8;
}

.dark body.account-bg .worker-availability-preset.is-selected {
  border-color: rgba(251, 146, 60, 0.55);
  background: rgba(67, 42, 25, 0.55);
  color: #fdba74;
}

/* Çalışan vitrini — premium SaaS layout */
body.account-bg .min-w-0.flex-1.space-y-8 > section.worker-vitrin-page,
body.account-bg #panel-worker-settings.worker-vitrin-page {
  overflow: visible !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.account-bg #panel-worker-settings.worker-vitrin-page > div:first-of-type {
  background: transparent !important;
  border-bottom: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.account-bg #panel-worker-settings.worker-vitrin-page h1 {
  font-size: 1.5rem !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em !important;
}

@media (min-width: 640px) {
  body.account-bg #panel-worker-settings.worker-vitrin-page h1 {
    font-size: 1.875rem !important;
  }
}

.worker-vitrin-page {
  animation: workerVitrinFade 0.45s ease;
  padding: 0;
  overflow: visible;
}

.worker-vitrin-header {
  padding: 0 0.125rem;
  overflow: visible;
}

.worker-vitrin-eyebrow {
  letter-spacing: 0.08em;
  padding-left: 0.125rem;
}

@keyframes workerVitrinFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.worker-vitrin-completion {
  width: min(100%, 9.5rem);
}

.worker-vitrin-completion-ring {
  --pct: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.75)),
    conic-gradient(from 210deg, #fb923c calc(var(--pct) * 1%), #e2e8f0 0);
  box-shadow: 0 12px 32px -20px rgba(249, 115, 22, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.worker-vitrin-completion-ring::before {
  content: '';
  position: absolute;
  inset: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.dark .worker-vitrin-completion-ring {
  background:
    radial-gradient(circle at 30% 25%, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.85)),
    conic-gradient(from 210deg, #fb923c calc(var(--pct) * 1%), #334155 0);
}

.dark .worker-vitrin-completion-ring::before {
  background: rgba(15, 23, 42, 0.92);
}

.worker-vitrin-completion-value {
  position: relative;
  z-index: 1;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
}

.dark .worker-vitrin-completion-value {
  color: #f8fafc;
}

.worker-vitrin-metrics {
  margin-top: 0.25rem;
}

.worker-metric {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1rem 0.85rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(241, 245, 249, 0.95);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px -24px rgba(15, 23, 42, 0.28);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.worker-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -22px rgba(15, 23, 42, 0.32);
}

.worker-metric::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
}

.worker-metric--hourly::before { background: linear-gradient(145deg, rgba(255, 237, 213, 0.55), transparent 58%); }
.worker-metric--radius::before { background: linear-gradient(145deg, rgba(219, 234, 254, 0.55), transparent 58%); }
.worker-metric--pay::before { background: linear-gradient(145deg, rgba(209, 250, 229, 0.5), transparent 58%); }
.worker-metric--emergency::before { background: linear-gradient(145deg, rgba(254, 226, 226, 0.45), transparent 58%); }

.dark .worker-metric {
  border-color: rgba(51, 65, 85, 0.75);
  background: rgba(15, 23, 42, 0.62);
}

.worker-metric-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.75);
  color: #64748b;
  margin-bottom: 0.35rem;
}

.worker-metric-icon svg {
  width: 1rem;
  height: 1rem;
}

.worker-metric--hourly .worker-metric-icon { color: #ea580c; background: rgba(255, 247, 237, 0.9); }
.worker-metric--radius .worker-metric-icon { color: #2563eb; background: rgba(239, 246, 255, 0.9); }
.worker-metric--pay .worker-metric-icon { color: #059669; background: rgba(236, 253, 245, 0.9); }
.worker-metric--emergency .worker-metric-icon { color: #dc2626; background: rgba(254, 242, 242, 0.9); }

.worker-metric-value {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.dark .worker-metric-value {
  color: #f8fafc;
}

.worker-metric-label {
  position: relative;
  z-index: 1;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.worker-vitrin-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(241, 245, 249, 0.95);
  background: rgba(255, 255, 255, 0.88);
  padding: 1.5rem;
  box-shadow: 0 14px 40px -32px rgba(15, 23, 42, 0.35);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.worker-vitrin-card:hover {
  border-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 44px -30px rgba(15, 23, 42, 0.38);
}

.dark .worker-vitrin-card {
  border-color: rgba(51, 65, 85, 0.75);
  background: rgba(15, 23, 42, 0.55);
}

.worker-vitrin-card--finance {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.88));
}

.dark .worker-vitrin-card--finance {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.52));
}

.worker-vitrin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.worker-vitrin-card-title {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.dark .worker-vitrin-card-title {
  color: #f8fafc;
}

.worker-vitrin-card-desc {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #64748b;
}

.dark .worker-vitrin-card-desc {
  color: #94a3b8;
}

.worker-vitrin-check {
  display: inline-flex;
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.85);
  font-size: 0.625rem;
  font-weight: 800;
  color: #64748b;
  transition: all 0.25s ease;
}

.worker-vitrin-check--inline {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.5625rem;
}

.worker-vitrin-check.is-ok {
  background: linear-gradient(145deg, #fb923c, #ea580c);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(249, 115, 22, 0.75);
}

.worker-vitrin-input,
.worker-vitrin-select {
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.55);
  padding: 0.72rem 0.9rem;
  font-size: 0.875rem;
  color: #0f172a;
  transition: all 0.2s ease;
  outline: none;
}

.worker-vitrin-input:focus,
.worker-vitrin-select:focus {
  border-color: #f97316;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}

.dark .worker-vitrin-input,
.dark .worker-vitrin-select {
  border-color: #475569;
  background: rgba(15, 23, 42, 0.45);
  color: #f1f5f9;
}

.dark .worker-vitrin-input:focus,
.dark .worker-vitrin-select:focus {
  background: rgba(15, 23, 42, 0.85);
}

.worker-vitrin-input--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.worker-vitrin-ready {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
}

.worker-vitrin-ready input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.worker-vitrin-ready-track {
  position: relative;
  width: 2.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background-color 0.25s ease;
}

.worker-vitrin-ready-track::after {
  content: '';
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  transition: transform 0.25s ease;
}

.worker-vitrin-ready input:checked + .worker-vitrin-ready-track {
  background: linear-gradient(145deg, #34d399, #059669);
}

.worker-vitrin-ready input:checked + .worker-vitrin-ready-track::after {
  transform: translateX(1rem);
}

.worker-vitrin-ready-text {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
}

.dark .worker-vitrin-ready-text {
  color: #e2e8f0;
}

.worker-vitrin-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0;
}

.worker-vitrin-divider::before,
.worker-vitrin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.95), transparent);
}

.worker-vitrin-divider span {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  white-space: nowrap;
}

.worker-vitrin-emergency {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(254, 215, 170, 0.55);
  background: rgba(255, 247, 237, 0.55);
  transition: all 0.25s ease;
}

.worker-vitrin-emergency:has(#worker-emergency-jobs-open:checked) {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(255, 237, 213, 0.65);
  box-shadow: 0 12px 32px -24px rgba(249, 115, 22, 0.55);
}

.dark .worker-vitrin-emergency {
  border-color: rgba(124, 45, 18, 0.45);
  background: rgba(67, 42, 25, 0.35);
}

.worker-vitrin-emergency-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.75);
  color: #ea580c;
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.12);
}

.worker-vitrin-emergency-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.worker-vitrin-save {
  display: inline-flex;
  width: 100%;
  max-width: 22rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.95rem;
  background: linear-gradient(145deg, #fb923c, #ea580c);
  padding: 0.9rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 14px 32px -16px rgba(234, 88, 12, 0.85);
  transition: all 0.2s ease;
}

.worker-vitrin-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -14px rgba(234, 88, 12, 0.9);
}

.worker-vitrin-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.worker-vitrin-preview-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.worker-vitrin-preview-foot {
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #94a3b8;
  text-align: center;
}

.worker-vitrin-business-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
  padding: 1.25rem;
  box-shadow: 0 22px 50px -34px rgba(15, 23, 42, 0.45);
}

.dark .worker-vitrin-business-card {
  border-color: rgba(51, 65, 85, 0.85);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.78));
}

.worker-vitrin-bc-glow {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.28), transparent 68%);
  pointer-events: none;
}

.worker-vitrin-bc-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.worker-vitrin-bc-avatar {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.95rem;
  background: linear-gradient(145deg, #fb923c, #ea580c);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(234, 88, 12, 0.75);
}

.worker-vitrin-bc-name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dark .worker-vitrin-bc-name {
  color: #f8fafc;
}

.worker-vitrin-bc-role {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94a3b8;
}

.worker-vitrin-bc-status {
  margin-left: auto;
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.worker-vitrin-bc-status--on {
  background: rgba(209, 250, 229, 0.95);
  color: #047857;
}

.worker-vitrin-bc-status--off {
  background: rgba(241, 245, 249, 0.95);
  color: #64748b;
}

.worker-vitrin-bc-rate {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.dark .worker-vitrin-bc-rate {
  color: #f8fafc;
}

.worker-vitrin-bc-meta {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #64748b;
}

.worker-vitrin-bc-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.worker-vitrin-bc-tag {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.95);
  padding: 0.28rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #c2410c;
}

.worker-vitrin-bc-tag--empty {
  background: rgba(241, 245, 249, 0.95);
  color: #94a3b8;
}

.dark .worker-vitrin-bc-tag {
  background: rgba(67, 42, 25, 0.55);
  color: #fdba74;
}

.worker-vitrin-bc-availability {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(226, 232, 240, 0.95);
}

.worker-vitrin-bc-avail-line {
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #475569;
  padding-left: 0.85rem;
  position: relative;
}

.worker-vitrin-bc-avail-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #34d399;
}

.worker-vitrin-bc-avail-line + .worker-vitrin-bc-avail-line {
  margin-top: 0.35rem;
}

.worker-vitrin-bc-avail-line--empty {
  color: #94a3b8;
  padding-left: 0;
}

.worker-vitrin-bc-avail-line--empty::before {
  display: none;
}

.worker-field-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.dark .worker-field-label {
  color: #94a3b8;
}

.worker-material-option {
  display: block;
  cursor: pointer;
}

.worker-material-option-box {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 5rem;
  border-radius: 1rem;
  border: 2px solid transparent;
  background: rgba(248, 250, 252, 0.65);
  padding: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: #475569;
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.95);
  transition: all 0.22s ease;
}

.dark .worker-material-option-box {
  background: rgba(15, 23, 42, 0.45);
  color: #cbd5e1;
  box-shadow: inset 0 0 0 1px rgba(71, 85, 105, 0.85);
}

.worker-material-option:hover .worker-material-option-box {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.35), 0 14px 28px -22px rgba(249, 115, 22, 0.55);
}

.worker-material-option-check {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  color: transparent;
  transition: all 0.2s ease;
}

.worker-material-option-check svg {
  width: 0.75rem;
  height: 0.75rem;
}

.worker-material-option input:checked + .worker-material-option-box {
  border-color: #f97316;
  background: rgba(255, 247, 237, 0.92);
  color: #9a3412;
  box-shadow: 0 16px 36px -24px rgba(249, 115, 22, 0.65);
  transform: translateY(-2px);
}

.worker-material-option input:checked + .worker-material-option-box .worker-material-option-check {
  border-color: #f97316;
  background: linear-gradient(145deg, #fb923c, #ea580c);
  color: #fff;
}

.dark .worker-material-option input:checked + .worker-material-option-box {
  background: rgba(67, 42, 25, 0.45);
  color: #fdba74;
}

.worker-emergency-switch {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.worker-emergency-switch-track {
  position: relative;
  display: block;
  width: 3.15rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.worker-emergency-switch-track::after {
  content: '';
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
  transition: transform 0.25s ease;
}

.worker-emergency-switch input:checked + .worker-emergency-switch-track {
  background: linear-gradient(145deg, #fb923c, #ea580c);
  box-shadow: 0 8px 20px -10px rgba(234, 88, 12, 0.75);
}

.worker-emergency-switch input:checked + .worker-emergency-switch-track::after {
  transform: translateX(1.4rem);
}

.dark .worker-emergency-switch-track {
  background: #475569;
}

@media (max-width: 1279px) {
  .worker-vitrin-preview-wrap {
    order: -1;
  }

  .worker-vitrin-business-card {
    max-width: 28rem;
  }
}


/* Mobil bildirim paneli — blur yok (iOS/Safari tüm ekranı bulanıklaştırıyordu) */
.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;
}

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

@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;
  }
}

