/* Çok sayfalı sürüm: alt menüde <a> kullanımı */
.bottom-nav a.nav-item {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* Oturum açıksa «Giriş» hiç görünmesin (head’de tg-token-present + JS ile tutarlı) */
html.tg-token-present #tg-auth-mount [data-tg-login],
html.tg-token-present [data-tg-login] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html.tg-token-present #tg-auth-mount [data-tg-user-menu]:not([hidden]) {
  display: flex !important;
}

/* Üst bar: oturum / avatar */
.tg-auth-mount {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
}

/* Estetik «Giriş» — altın gradyan çerçeve, hover parıltısı */
a.tg-top-login-fancy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 1.15rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-primary, #f5f5f7);
  background: linear-gradient(145deg, rgba(18, 17, 22, 0.95), rgba(10, 9, 12, 0.98));
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1px rgba(212, 168, 67, 0.35),
    0 4px 18px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.22s var(--ease-out, cubic-bezier(0.2, 0.9, 0.2, 1)),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
a.tg-top-login-fancy::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.95), rgba(212, 168, 67, 0.2), rgba(10, 132, 255, 0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}
a.tg-top-login-fancy:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(212, 168, 67, 0.55),
    0 8px 28px rgba(212, 168, 67, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
a.tg-top-login-fancy:active {
  transform: translateY(0);
}

.tg-user-menu {
  position: relative;
  align-items: center;
}
.tg-user-menu:not([hidden]) {
  display: flex;
}
.tg-user-menu[hidden] {
  display: none !important;
}

button.tg-header-avatar {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(212, 168, 67, 0.45);
  background: var(--surface-2, rgba(20, 19, 24, 0.95));
  cursor: pointer;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 6px 20px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s var(--ease-out, ease),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
button.tg-header-avatar:hover {
  transform: scale(1.04);
  border-color: rgba(212, 168, 67, 0.75);
  box-shadow:
    0 0 0 1px rgba(212, 168, 67, 0.35),
    0 8px 24px rgba(212, 168, 67, 0.15);
}
button.tg-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.tg-header-avatar-initial {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink, #d4a843);
  font-family: var(--font-display, "Outfit", system-ui, sans-serif);
}

.tg-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 11rem;
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  background: var(--surface-1, rgba(14, 13, 18, 0.96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  animation: tgDropIn 0.22s var(--ease-out, cubic-bezier(0.2, 0.9, 0.2, 1)) both;
}

@keyframes tgDropIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tg-user-dropdown__logout {
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-primary, #fff);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}
.tg-user-dropdown__logout:hover {
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
}

html[data-theme="light"] a.tg-top-login-fancy {
  color: #0c0c0e;
  background: linear-gradient(180deg, #fff, #f3f2f7);
  box-shadow:
    0 0 0 1px rgba(212, 168, 67, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-user-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Sayfa girişi — hosting viewEnter ile uyumlu hafif animasyon */
.tg-page-in .app-main,
.tg-page-in .auth-stage {
  animation: tgPageIn 0.55s var(--ease-out) both;
}

@keyframes tgPageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Masaüstü yan sütun: profil anahtarı <a> */
a.desktop-aside-switch {
  text-decoration: none;
  color: inherit;
}

/* Profil kahraman — ek derinlik */
.tg-profile-hero.profile-hero {
  padding: 0.25rem 0 1rem;
}

/* Profil içi sağlayıcı paneli — görseldeki altın çerçeve vurgusu */
.tg-embedded-provider .tg-emb-refresh {
  background: transparent;
  color: var(--text-primary, #fff);
  border: 1px solid var(--ink, #d4a843);
  border-radius: 10px;
}
.tg-embedded-provider .tg-embedded-tabs .panel-tabs {
  border-radius: 12px;
  border: 1px solid rgba(212, 168, 67, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.tg-embedded-provider .panel-tab.is-active {
  border: 1px solid var(--ink, #d4a843);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

/* Görünür odak — pin ızgarası */
.pin-grid#pins {
  min-height: 4rem;
}

/* Stüdyoya katıl — geniş, ferah stüdyo arama alanı */
.tg-join-search-zone {
  margin: 0.5rem 0 1.75rem;
  padding: clamp(1.15rem, 3.5vw, 2.1rem) clamp(1rem, 4vw, 2rem);
  border-radius: 22px;
  background: linear-gradient(
    155deg,
    rgba(212, 168, 67, 0.1),
    rgba(8, 8, 12, 0.55) 45%,
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(212, 168, 67, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 48px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.tg-join-search-title {
  margin: 0 0 clamp(0.65rem, 2vw, 1rem);
  padding: 0 0 0.65rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(245, 245, 247, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tg-join-search-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(0.65rem, 2vw, 1.25rem);
  padding: clamp(0.75rem, 2vw, 1rem) 0 clamp(0.85rem, 2vw, 1.15rem);
}
.tg-join-search-field {
  flex: 1 1 20rem;
  margin: 0;
  min-width: min(100%, 12rem);
  gap: 0.45rem;
}
.tg-join-search-field.panel-field {
  margin-bottom: 0;
}
.tg-join-search-field .panel-sub {
  font-size: clamp(0.78rem, 1.8vw, 0.88rem);
  margin: 0;
  line-height: 1.35;
  font-weight: 600;
  opacity: 0.88;
}
.tg-join-search-field input {
  width: 100%;
  padding: 0.65rem 1rem;
  min-height: 3rem;
  font-size: 1rem;
  border-radius: 12px;
  box-sizing: border-box;
}
.tg-join-search-btn {
  align-self: flex-end;
  min-width: 7rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
}
@media (max-width: 520px) {
  .tg-join-search-zone {
    padding: 1rem 0.9rem 1.2rem;
  }
  .tg-join-search-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .tg-join-search-btn {
    align-self: stretch;
    width: 100%;
    min-height: 3rem;
  }
}

.tg-join-search-results {
  min-height: 0;
  padding: 0;
}
.tg-join-search-results:not(:empty) {
  padding-top: clamp(0.5rem, 2vw, 1rem);
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
  min-height: min(22rem, 50vh);
}
.tg-join-search-error {
  margin: 0.5rem 0 0 !important;
}
.tg-join-search-error[hidden] {
  display: none !important;
  margin: 0 !important;
}

.tg-join-search-list {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 2vw, 1rem);
}
.tg-join-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.85rem, 2.2vw, 1.15rem) clamp(1rem, 2.5vw, 1.35rem);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}
.tg-join-search-row__text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 14rem;
}
.tg-join-search-row__name {
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: rgba(245, 245, 247, 0.96);
}
.tg-join-search-row__meta {
  font-size: clamp(0.8rem, 1.8vw, 0.92rem);
  color: rgba(245, 245, 247, 0.58);
  word-break: break-word;
  line-height: 1.45;
}
.tg-join-search-empty,
.tg-join-search-loading {
  margin: 0.5rem 0 0;
  padding: 1rem 0.5rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
}
.tg-join-row-send {
  flex-shrink: 0;
  min-height: 2.75rem;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

html[data-theme="light"] .tg-join-search-zone {
  background: linear-gradient(155deg, rgba(212, 168, 67, 0.14), rgba(255, 255, 255, 0.96) 50%, rgba(250, 250, 252, 1));
  border-color: rgba(212, 168, 67, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 36px rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-join-search-title {
  color: rgba(15, 15, 20, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-join-search-row {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-join-search-row__name {
  color: rgba(15, 15, 20, 0.95);
}
html[data-theme="light"] .tg-join-search-row__meta {
  color: rgba(0, 0, 0, 0.52);
}

/* Stüdyo — sanatçı & tasarımcı ekle */
.tg-studio-add-zone {
  margin-top: 0.85rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: 18px;
  border: 1px solid rgba(212, 168, 67, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.tg-studio-add-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  align-items: end;
}
.tg-studio-add-span2 {
  grid-column: 1 / -1;
}
@media (max-width: 520px) {
  .tg-studio-add-grid {
    grid-template-columns: 1fr;
  }
  .tg-studio-add-span2 {
    grid-column: 1;
  }
}
.tg-studio-add-fieldset {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.tg-studio-add-fieldset legend {
  padding: 0 0.35rem;
}
.tg-studio-add-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 1rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.tg-studio-add-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.tg-studio-add-success {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
}
.tg-studio-pw-code {
  user-select: all;
  font-size: 0.9rem;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
}
html[data-theme="light"] .tg-studio-add-zone {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(212, 168, 67, 0.28);
}
html[data-theme="light"] .tg-studio-pw-code {
  background: rgba(0, 0, 0, 0.06);
}

.tg-join-tables-below {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .tg-join-tables-below {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
}

.tg-join-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(212, 168, 67, 0.22);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.12));
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tg-join-tables-below .tg-join-card {
  min-height: 200px;
}
.tg-join-card:hover {
  border-color: rgba(212, 168, 67, 0.38);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.tg-join-card-title {
  margin: 0;
  flex-shrink: 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(245, 245, 247, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.tg-join-table-host {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 8rem;
  padding: 0.5rem 0.45rem 0.75rem;
}
.tg-join-table-host:has(.tg-join-empty:only-child) {
  justify-content: center;
}
.tg-join-table-host .tg-join-empty {
  margin: 0.35rem 0.65rem;
  text-align: center;
  color: rgba(245, 245, 247, 0.55);
}

.tg-join-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tg-join-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.tg-join-data-table th,
.tg-join-data-table td {
  padding: 0.45rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}
.tg-join-data-table thead th {
  color: rgba(245, 245, 247, 0.65);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tg-join-data-table tbody tr:last-child td {
  border-bottom: none;
}
.tg-join-cell-muted {
  color: rgba(245, 245, 247, 0.55);
  word-break: break-all;
}
.tg-join-cell-date {
  white-space: nowrap;
  color: rgba(245, 245, 247, 0.75);
  font-variant-numeric: tabular-nums;
}

.tg-studio-join-incoming-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  min-width: 9rem;
}
.tg-studio-join-incoming-actions .panel-btn {
  padding: 0.32rem 0.55rem;
  font-size: 0.75rem;
}

.tg-join-my-studios {
  margin-bottom: 1rem;
}
.tg-join-row-status {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.tg-join-row-status--member {
  color: rgba(200, 230, 205, 0.95);
  border: 1px solid rgba(120, 180, 130, 0.45);
  background: rgba(50, 110, 70, 0.22);
}

.tg-join-empty {
  margin: 0.5rem 0.75rem 0.65rem;
}

.tg-join-badge {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.tg-join-badge--pending {
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde68a;
  background: rgba(250, 204, 21, 0.1);
}
.tg-join-badge--approved {
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.1);
}
.tg-join-badge--rejected {
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fecaca;
  background: rgba(248, 113, 113, 0.1);
}
.tg-join-badge--unknown {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(245, 245, 247, 0.8);
}

html[data-theme="light"] .tg-join-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(212, 168, 67, 0.28);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
html[data-theme="light"] .tg-join-card:hover {
  border-color: rgba(212, 168, 67, 0.45);
}
html[data-theme="light"] .tg-join-card-title {
  background: rgba(0, 0, 0, 0.03);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Takvim sekmesi — araç çubuğu + iki tablo */
.tg-cal-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 168, 67, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.tg-cal-field {
  margin: 0;
  min-width: 10rem;
}
.tg-cal-list-btn {
  align-self: flex-end;
}

.tg-cal-tables {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
/* İki sütun yalnızca geniş ekranda; dar profil sütununda taşmayı önler */
@media (min-width: 1180px) {
  .tg-cal-tables {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.85rem;
  }
}

.tg-cal-table-panel {
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.tg-cal-table-panel .tg-join-table-wrap {
  max-width: 100%;
}

.tg-embedded-provider .panel-tabpanels {
  min-width: 0;
  max-width: 100%;
}

.tg-cal-ref {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(212, 168, 67, 0.95);
  white-space: nowrap;
}
.tg-cal-ws {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.88);
}

/* Geniş tablo yatay kaydırma ile sığar; grid hücresini zorla genişletmez */
.tg-cal-data-table {
  min-width: 0;
  width: max-content;
  max-width: none;
}

/* Performans sekmesi */
.tg-perf-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 168, 67, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.tg-perf-field {
  margin: 0;
  min-width: 10rem;
}
.tg-perf-load-btn {
  align-self: flex-end;
}

.tg-perf-kpi-strip {
  margin-bottom: 1rem;
}
.tg-perf-kpi-strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
}
.tg-perf-kpi-c {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.15));
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tg-perf-kpi-c:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 168, 67, 0.35);
}
.tg-perf-kpi-c__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(245, 245, 247, 0.55);
}
.tg-perf-kpi-c__value {
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: rgba(245, 245, 247, 0.96);
}
.tg-perf-kpi-c--gross .tg-perf-kpi-c__value {
  color: #fde68a;
}
.tg-perf-kpi-c--net .tg-perf-kpi-c__value {
  color: #a7f3d0;
}
.tg-perf-kpi-c--comm .tg-perf-kpi-c__value {
  color: #fecaca;
}
.tg-perf-kpi-c--count .tg-perf-kpi-c__value {
  color: #93c5fd;
}
.tg-perf-kpi-c--avg .tg-perf-kpi-c__value {
  color: #c4b5fd;
}

.tg-perf-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .tg-perf-tables {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
}

.tg-perf-metric-table .tg-perf-metric-value {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(212, 168, 67, 0.95);
}

html[data-theme="light"] .tg-perf-kpi-c {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-perf-toolbar {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(212, 168, 67, 0.3);
}

/* Gelen rezervasyonlar */
.tg-inbox-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 168, 67, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.tg-inbox-load-btn {
  min-width: 10rem;
}

.tg-inbox-kpi-strip {
  margin-bottom: 1rem;
}
.tg-inbox-kpi-strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
}
.tg-inbox-kpi-c {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.15));
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tg-inbox-kpi-c:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 168, 67, 0.35);
}
.tg-inbox-kpi-c__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(245, 245, 247, 0.55);
}
.tg-inbox-kpi-c__value {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #93c5fd;
}

.tg-inbox-list-host {
  min-height: 3rem;
}
.tg-inbox-loading {
  padding: 0.5rem 0;
}
.tg-inbox-empty {
  margin: 0.35rem 0 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.tg-inbox-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tg-embedded-provider .tg-inbox-card.panel-card {
  margin-bottom: 0;
  border-color: rgba(212, 168, 67, 0.18);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.12));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tg-embedded-provider .tg-inbox-card.panel-card:hover {
  border-color: rgba(212, 168, 67, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.tg-inbox-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tg-inbox-card__ref {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(212, 168, 67, 0.98);
  font-variant-numeric: tabular-nums;
}
.tg-inbox-card__when {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.72);
  font-variant-numeric: tabular-nums;
}
.tg-inbox-card__client {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.95);
}
.tg-inbox-card__meta,
.tg-inbox-card__studio {
  margin-bottom: 0.25rem;
}
.tg-inbox-card__reflink {
  margin: 0.25rem 0 0.35rem;
  font-size: 0.88rem;
}
.tg-inbox-card__reflink a {
  color: rgba(147, 197, 253, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tg-inbox-card__note {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(245, 245, 247, 0.88);
}
.tg-inbox-card__actions.panel-actions {
  margin-top: 0.75rem;
  flex-wrap: wrap;
  gap: 0.45rem;
}

html[data-theme="light"] .tg-inbox-toolbar {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(212, 168, 67, 0.3);
}
html[data-theme="light"] .tg-inbox-kpi-c {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-embedded-provider .tg-inbox-card.panel-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-inbox-card__head {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-inbox-empty {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
}

/* Atanan işler */
.tg-jobs-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 168, 67, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.tg-jobs-load-btn {
  min-width: 10rem;
}

.tg-jobs-kpi-strip {
  margin-bottom: 1rem;
}
.tg-jobs-kpi-strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.65rem;
}
.tg-jobs-kpi-c {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.15));
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tg-jobs-kpi-c:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 168, 67, 0.35);
}
.tg-jobs-kpi-c__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(245, 245, 247, 0.55);
}
.tg-jobs-kpi-c__value {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: rgba(245, 245, 247, 0.96);
}
.tg-jobs-kpi-c--total .tg-jobs-kpi-c__value {
  color: #93c5fd;
}
.tg-jobs-kpi-c--action .tg-jobs-kpi-c__value {
  color: #fde68a;
}

.tg-jobs-list-host {
  min-height: 3rem;
}
.tg-jobs-loading {
  padding: 0.5rem 0;
}
.tg-jobs-empty {
  margin: 0.35rem 0 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.tg-jobs-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tg-embedded-provider .tg-jobs-card.panel-card {
  margin-bottom: 0;
  border-color: rgba(212, 168, 67, 0.18);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.12));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tg-embedded-provider .tg-jobs-card.panel-card:hover {
  border-color: rgba(212, 168, 67, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.tg-jobs-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tg-jobs-card__ref {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(212, 168, 67, 0.98);
  font-variant-numeric: tabular-nums;
}
.tg-jobs-card__when {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.72);
  font-variant-numeric: tabular-nums;
}
.tg-jobs-card__client {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.95);
}
.tg-jobs-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.tg-jobs-badge {
  display: inline-block;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.tg-jobs-badge--booking {
  border: 1px solid rgba(147, 197, 253, 0.4);
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.12);
}
.tg-jobs-badge--work {
  border: 1px solid rgba(196, 181, 253, 0.45);
  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.12);
}
.tg-card-transfer-wrap {
  margin: 0.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.tg-transfer-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
}
html[data-theme="light"] .tg-transfer-badge {
  border-color: rgba(5, 150, 105, 0.4);
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
}
.tg-jobs-card__actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.tg-jobs-pdf-btn {
  border-color: rgba(212, 168, 67, 0.45) !important;
}

html[data-theme="light"] .tg-jobs-toolbar {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(212, 168, 67, 0.3);
}
html[data-theme="light"] .tg-jobs-kpi-c {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-embedded-provider .tg-jobs-card.panel-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-jobs-card__head {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-jobs-empty {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
}
html[data-theme="light"] .tg-jobs-badge--booking {
  border-color: rgba(37, 99, 235, 0.35);
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.12);
}
html[data-theme="light"] .tg-jobs-badge--work {
  border-color: rgba(124, 58, 237, 0.35);
  color: #5b21b6;
  background: rgba(139, 92, 246, 0.1);
}

/* Profil paneli — stüdyo «Randevu ekle» bağlantısı */
.tg-embedded-provider .panel-actions a.panel-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Stüdyo — randevu ekle sayfası */
.tg-studio-booking-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}
.tg-studio-booking {
  padding-bottom: 1rem;
}
.tg-studio-booking__top {
  margin-bottom: 0.35rem;
}
.tg-studio-booking__lede {
  margin: 0 0 1rem;
}
.tg-studio-booking__en {
  font-size: 0.78em;
  font-weight: 500;
  opacity: 0.65;
}
.tg-studio-booking__req {
  color: rgba(251, 113, 133, 0.95);
}
.tg-studio-booking__meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 168, 67, 0.22);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
}
.tg-studio-booking__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.tg-studio-booking__meta-time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}
.tg-studio-booking__tag {
  color: rgba(212, 168, 67, 0.98);
  font-variant-numeric: tabular-nums;
}
.tg-studio-booking__icon-btn {
  appearance: none;
  margin-left: 0.25rem;
  padding: 0.4rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tg-studio-booking__icon-btn:hover {
  border-color: rgba(212, 168, 67, 0.35);
  background: rgba(212, 168, 67, 0.1);
}
.tg-studio-booking__form {
  margin-top: 0.5rem;
}
.tg-studio-booking__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 720px) {
  .tg-studio-booking__grid {
    grid-template-columns: 1fr;
  }
  .tg-studio-booking__meta-time {
    margin-left: 0;
    width: 100%;
  }
}
.tg-studio-booking__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}
@media (max-width: 560px) {
  .tg-studio-booking__checks {
    grid-template-columns: 1fr;
  }
}
.tg-studio-booking__check-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tg-studio-booking__check-heading {
  margin-bottom: 0.15rem !important;
  font-weight: 600;
  opacity: 0.88;
}
.tg-studio-booking__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  cursor: pointer;
}
.tg-studio-booking__check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: rgba(212, 168, 67, 0.9);
}
.tg-studio-booking__check--solo {
  margin: 0 0 1.25rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}
.tg-studio-booking__notes {
  margin-bottom: 1.25rem;
}
.tg-studio-booking__notes textarea {
  min-height: 6rem;
  resize: vertical;
}
.tg-studio-booking__dates-block {
  margin-bottom: 1.25rem;
}
.tg-studio-booking__dates-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.tg-studio-booking__add-date {
  white-space: nowrap;
}
.tg-studio-booking__dates-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tg-studio-booking__date-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem;
}
.tg-studio-booking__date-row .tg-studio-booking__date-field {
  flex: 1 1 220px;
  min-width: 0;
}
.tg-studio-booking__remove-date {
  flex: 0 0 auto;
  min-width: 2.5rem;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}
.tg-studio-booking__uploads {
  margin-bottom: 1.5rem;
}
.tg-studio-booking__upload-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}
@media (max-width: 640px) {
  .tg-studio-booking__upload-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tg-studio-booking__upload-slot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px dashed rgba(212, 168, 67, 0.28);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}
.tg-studio-booking__upload-slot:hover {
  border-color: rgba(212, 168, 67, 0.45);
  background: rgba(212, 168, 67, 0.06);
}
.tg-studio-booking__upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.tg-studio-booking__upload-ui {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  text-align: center;
  color: rgba(245, 245, 247, 0.55);
}
.tg-studio-booking__upload-hint {
  font-size: 0.65rem;
  line-height: 1.2;
  word-break: break-all;
  max-width: 100%;
}
.tg-studio-booking__footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  padding-top: 0.85rem;
  margin-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tg-studio-booking__footer-actions .panel-btn--primary {
  font-weight: 700;
  min-width: 7.5rem;
}

html[data-theme="light"] .tg-studio-booking__meta-bar {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(212, 168, 67, 0.28);
}
html[data-theme="light"] .tg-studio-booking__checks {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .tg-studio-booking__check--solo {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 0, 0, 0.1);
}
html[data-theme="light"] .tg-studio-booking__upload-slot {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(212, 168, 67, 0.32);
}
html[data-theme="light"] .tg-studio-booking__icon-btn {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
}
html[data-theme="light"] .tg-studio-booking__footer-actions {
  border-top-color: rgba(0, 0, 0, 0.08);
}

/* Profil: dövmeci atama diyaloğu */
dialog.tg-embed-dialog {
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 14px;
  padding: 0;
  background: var(--surface-elevated, #141218);
  color: var(--text-primary, #f5f5f7);
  max-width: min(420px, 92vw);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}
dialog.tg-embed-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
}
.tg-embed-dialog__inner {
  padding: 1.15rem 1.25rem 1.25rem;
}
.tg-embed-dialog__title {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 700;
}
.tg-assign-select {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  color-scheme: dark;
}
.tg-jobs-assign-line {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.82rem;
}
html[data-theme="light"] dialog.tg-embed-dialog {
  background: #fafafa;
  border-color: rgba(212, 168, 67, 0.45);
  color: #111;
}
html[data-theme="light"] .tg-assign-select {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
  color-scheme: light;
}

/* Rezervasyon referans görselleri — yan yana */
.tg-refimg-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0.65rem 0 0;
}
.tg-refimg-row > * {
  flex: 0 0 auto;
}

.panel-booking-refimg {
  margin: 0;
}
.panel-booking-refimg__link {
  display: inline-block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 0;
  max-width: min(100%, 280px);
}
.panel-booking-refimg__img {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  vertical-align: middle;
}
.panel-booking-refimg__cap {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  opacity: 0.85;
}

.tg-inbox-card__refimg,
.tg-jobs-card__refimg,
.panel-job-refimg,
.studio-inbox-refimg {
  margin: 0;
}
.tg-inbox-card__refimg-link,
.tg-jobs-card__refimg-link,
.panel-job-refimg-link,
.studio-inbox-refimg-link {
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 0;
  max-width: min(100%, 220px);
}
.tg-inbox-card__refimg-img,
.tg-jobs-card__refimg-img,
.panel-job-refimg-img,
.studio-inbox-refimg-img {
  display: block;
  width: 100%;
  max-height: 140px;
  object-fit: cover;
}

.tg-refimg-row .panel-booking-refimg__link,
.tg-refimg-row .tg-inbox-card__refimg-link,
.tg-refimg-row .tg-jobs-card__refimg-link,
.tg-refimg-row .panel-job-refimg-link,
.tg-refimg-row .studio-inbox-refimg-link {
  width: 4.75rem;
  height: 4.75rem;
  max-width: 4.75rem;
}
.tg-refimg-row .panel-booking-refimg__img,
.tg-refimg-row .tg-inbox-card__refimg-img,
.tg-refimg-row .tg-jobs-card__refimg-img,
.tg-refimg-row .panel-job-refimg-img,
.tg-refimg-row .studio-inbox-refimg-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.provider-booking-card__refs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
}
.provider-booking-card__ref-thumb {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 0;
  width: 72px;
  height: 54px;
}
.provider-booking-card__ref-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.provider-booking-detail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.65rem 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.provider-booking-detail-gallery__link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 0;
  max-width: 160px;
}
.provider-booking-detail-gallery__img {
  display: block;
  width: 100%;
  max-height: 140px;
  object-fit: cover;
}

.provider-booking-card__refimg-wrap {
  margin: 0.5rem 0 0;
}
.provider-booking-card__refimg-link {
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 0;
  max-width: 120px;
}
.provider-booking-card__refimg {
  display: block;
  width: 120px;
  height: 90px;
  object-fit: cover;
}
html[data-theme="light"] .panel-booking-refimg__link,
html[data-theme="light"] .tg-inbox-card__refimg-link,
html[data-theme="light"] .tg-jobs-card__refimg-link,
html[data-theme="light"] .panel-job-refimg-link,
html[data-theme="light"] .studio-inbox-refimg-link,
html[data-theme="light"] .provider-booking-card__refimg-link,
html[data-theme="light"] .provider-booking-card__ref-thumb,
html[data-theme="light"] .provider-booking-detail-gallery__link {
  border-color: rgba(0, 0, 0, 0.12);
}
html[data-theme="light"] .provider-booking-detail-gallery {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
