:root {
  --bg: #070707;
  --panel: #111113;
  --panel-2: #18181b;
  --line: #2a2a31;
  --text: #f7f7f8;
  --muted: #a4a7b0;
  --soft: #f5f6fa;
  --ink: #15151a;
  --orange: #ff7a00;
  --orange-2: #ffb21f;
  --blue: #1683ff;
  --cyan: #42d9ff;
  --green: #23c46e;
  --red: #f43f5e;
  --shadow: 0 18px 55px rgba(0, 0, 0, .28);
  --accent: #ffb21f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(255, 122, 0, .18), transparent 28%),
    linear-gradient(280deg, rgba(22, 131, 255, .2), transparent 32%),
    var(--bg);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  letter-spacing: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  background: linear-gradient(180deg, rgba(10, 10, 12, .96), rgba(15, 16, 20, .92));
  border-right: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(18px);
}

body.panel-future .sidebar {
  background: transparent;
  border-right: none;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  color: var(--orange-2);
  font-weight: 800;
  margin-top: 3px;
}

.nav {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  color: #d8dbe3;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
  border-color: transparent;
  background: linear-gradient(90deg, rgba(255, 122, 0, .24), rgba(255, 178, 31, .08));
  box-shadow: inset 3px 0 0 var(--orange);
  transform: none;
}

body.panel-future .nav-link:hover,
body.panel-future .nav-link.active {
  border-color: transparent;
}

.nav-link::before,
.nav-link::after {
  content: none !important;
  display: none !important;
}

.nav-link:hover .nav-ico,
.nav-link.active .nav-ico {
  color: #070707;
  border-color: rgba(255, 178, 31, .86);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24);
}

.nav-ico {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  color: var(--orange-2);
  background: linear-gradient(145deg, rgba(255, 122, 0, .16), rgba(255, 178, 31, .07));
  border: 1px solid rgba(255, 122, 0, .38);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 178, 31, .13);
  font-size: 0;
  line-height: 0;
}

.nav-ico::before,
.nav-ico::after {
  content: none !important;
  display: none !important;
}

.nav-ico > :not(svg) {
  display: none !important;
}

.nav-ico svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-link > span:last-child {
  min-width: 0;
}

.sidebar-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  border-radius: 8px;
}

.account-line,
.mini-usage,
.customer-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sidebar-card small {
  color: var(--muted);
  line-height: 1.45;
}

.mini-usage {
  min-height: 42px;
  padding: 0 12px;
  color: #f8fafc;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
}

.mini-usage span {
  color: var(--muted);
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(35, 196, 110, .15);
}

.main {
  min-width: 0;
  padding: 28px;
}

.topbar,
.section-head,
.top-actions,
.hero-actions,
.service-main,
.service-meta,
.service-actions,
.tabs {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.12;
}

h2 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.18;
}

h3 {
  margin-bottom: 6px;
}

.top-actions {
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}

.customer-chip {
  min-height: 42px;
  padding: 0 14px;
  color: #f8fafc;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
}

.customer-chip span,
.customer-chip strong {
  display: block;
  white-space: nowrap;
}

.customer-chip strong {
  color: var(--orange-2);
  font-size: 12px;
}

.primary-button,
.ghost-button,
.icon-button,
.service-actions button,
.package-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  appearance: none;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.primary-button {
  color: #090909;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 10px 30px rgba(255, 122, 0, .25);
}

.ghost-button,
.icon-button {
  color: white;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
}

.session-logout-button {
  color: #f8fafc;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}

.session-logout-button:hover {
  color: white;
  background: rgba(255, 122, 0, .16);
  border-color: rgba(255, 122, 0, .46);
}

[data-guest-only],
[data-auth-only],
[data-auth-role],
html[data-session="checking"] [data-guest-only] {
  display: none;
}

html[data-session="guest"] [data-guest-only]:not([hidden]) {
  display: inline-flex;
}

html[data-session="guest"] [data-auth-only],
html[data-session="guest"] [data-auth-role] {
  display: none;
}

html[data-session="known"] [data-guest-only] {
  display: none;
}

html[data-session="known"] [data-auth-only]:not([data-auth-role]):not([hidden]) {
  display: inline-flex;
}

html[data-session="known"][data-role="admin"] [data-auth-role="customer"],
html[data-session="known"][data-role="customer"] [data-auth-role="admin"] {
  display: none;
}

html[data-session="known"][data-role="admin"] [data-auth-role="admin"]:not([hidden]),
html[data-session="known"][data-role="customer"] [data-auth-role="customer"]:not([hidden]) {
  display: inline-flex;
}

html[data-session="known"][data-role="customer"] .notification-bell-wrap:not([hidden]) {
  display: inline-flex;
  align-items: center;
}

.icon-button {
  width: 42px;
  padding: 0;
}

.full {
  width: 100%;
}

button:disabled,
button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .58;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: center;
  min-height: 285px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(120deg, rgba(255, 122, 0, .24), rgba(22, 131, 255, .18)),
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  max-width: 690px;
}

.hero-panel.hero-panel-clean {
  grid-template-columns: minmax(0, 1fr);
}

.hero-panel.hero-panel-clean .hero-copy {
  max-width: 920px;
}

.hero-copy h2 {
  margin-bottom: 14px;
  font-size: 38px;
}

.hero-copy p:not(.eyebrow) {
  color: #e9ebf3;
  line-height: 1.6;
  max-width: 650px;
}

.hero-actions {
  gap: 10px;
  margin-top: 24px;
}

.hero-brand,
.hero-status {
  display: grid;
  place-items: center;
}

.hero-status {
  align-content: center;
  gap: 14px;
  padding: 18px;
  color: #f8fafc;
  background: rgba(7, 7, 7, .38);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
}

.hero-status img,
.hero-brand img {
  width: min(168px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .36);
}

.hero-status div {
  display: grid;
  gap: 7px;
  text-align: center;
}

.hero-status strong {
  font-size: 20px;
}

.hero-status small {
  color: #d8dbe3;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.metric,
.section:not(.ts-panel-status-bar):not(.public-section),
.order-panel,
.split-section article {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .18);
}

.metric {
  padding: 18px;
}

.metric-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.metric-link:hover,
.metric-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 145, 0, .72);
  box-shadow: 0 18px 52px rgba(255, 122, 0, .18);
  outline: none;
}

.metric-link small::after {
  content: " · Tıkla ve görüntüle";
  color: var(--orange);
  font-weight: 950;
}

.metric span,
.metric small {
  color: #636976;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 28px;
}

.notification-bell-wrap {
  position: relative;
  flex: 0 0 auto;
  z-index: 200;
}

.notification-bell-btn {
  position: relative;
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  color: #f8fafc;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.notification-bell-btn:hover,
.notification-bell-btn:focus-visible {
  background: rgba(255, 145, 0, .18);
  border-color: rgba(255, 145, 0, .55);
  outline: none;
}

.notification-bell-btn[aria-expanded="true"] {
  background: rgba(255, 145, 0, .24);
  border-color: rgba(255, 145, 0, .72);
}

.notification-bell-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  color: #fff;
  background: #ef4444;
  border: 2px solid #12141a;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(239, 68, 68, .45);
}

.notification-badge[hidden] {
  display: none !important;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 140;
  width: min(400px, calc(100vw - 36px));
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dfe3eb;
  border-radius: 12px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, .28);
}

.notification-dropdown[hidden] {
  display: none !important;
}

.notification-dropdown-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #e8ebf2;
  background: linear-gradient(180deg, #fffaf3, #fff 72%);
}

.notification-dropdown-head-actions {
  display: flex;
  justify-content: flex-end;
}

.notification-dropdown-head-actions[hidden] {
  display: none !important;
}

.notification-dropdown-head .eyebrow {
  margin-bottom: 4px;
  color: #bd4b00;
}

.notification-dropdown-head strong {
  display: block;
  color: #111827;
  font-size: 16px;
}

.notification-unread-summary {
  display: block;
  margin-top: 4px;
  color: #bd4b00;
  font-size: 12px;
  font-weight: 850;
}

.notification-unread-summary[hidden] {
  display: none !important;
}

.notification-dropdown-foot {
  display: flex;
  justify-content: center;
  padding: 10px 12px 12px;
  border-top: 1px solid #e8ebf2;
  background: #f8fafc;
}

.notification-dropdown-foot[hidden] {
  display: none !important;
}

.notification-read-all {
  width: auto;
  min-height: 32px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 900;
  white-space: nowrap;
}

.notification-mark-read {
  justify-self: start;
  min-height: 30px;
  padding: 0 10px;
  color: #bd4b00;
  background: rgba(255, 145, 0, .1);
  border: 1px solid rgba(255, 145, 0, .35);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.notification-mark-read:hover,
.notification-mark-read:focus-visible {
  background: rgba(255, 145, 0, .18);
  outline: none;
}

.notification-dropdown-list {
  display: grid;
  gap: 0;
  max-height: 300px;
  overflow-y: auto;
  border-bottom: 1px solid #e8ebf2;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  scrollbar-width: thin;
}

/* Kaydirma cubugu (WebKit) — bildirim listesi */
.notification-dropdown-list::-webkit-scrollbar {
  width: 8px;
}
.notification-dropdown-list::-webkit-scrollbar-thumb {
  background: rgba(120, 130, 150, .45);
  border-radius: 8px;
}

.notification-card {
  display: grid;
  gap: 6px;
  padding: 12px 16px;
  color: #1f2937;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eef1f6;
  border-left: 4px solid var(--blue);
  border-radius: 0;
  box-shadow: none;
}

.notification-card:last-child {
  border-bottom: 0;
}

.notification-card.warning {
  border-left-color: var(--orange);
}

.notification-card.danger {
  border-left-color: #ef4444;
}

.notification-card.unread {
  background: linear-gradient(90deg, rgba(255, 178, 31, .12), #fff 42%);
}

.notification-card.notification-empty {
  border-left-color: #cbd5e1;
  padding: 20px 16px;
}

.notification-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.notification-card span {
  color: #6b7280;
  font-size: 11px;
  font-weight: 900;
}

.notification-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 145, 0, .22);
  flex: 0 0 auto;
}

.notification-card strong {
  color: #111827;
  font-size: 14px;
  line-height: 1.35;
}

.notification-card p {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
}

/* Bildirim açılır menü — koyu vitrin (müşteri paneli + ana sayfa) */
body.panel-future .notification-dropdown,
body.home-future .notification-dropdown {
  color: #e2e8f0;
  background: rgba(10, 14, 24, .97);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .45);
  backdrop-filter: blur(16px);
}

body.panel-future .notification-dropdown-head,
body.home-future .notification-dropdown-head {
  border-bottom-color: rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 122, 0, .14), rgba(10, 14, 24, 0) 78%);
}

body.panel-future .notification-dropdown-head .eyebrow,
body.home-future .notification-dropdown-head .eyebrow {
  color: #42d9ff;
  letter-spacing: .12em;
}

body.panel-future .notification-dropdown-head strong,
body.home-future .notification-dropdown-head strong {
  color: #fff;
}

body.panel-future .notification-unread-summary,
body.home-future .notification-unread-summary {
  color: #ffb347;
}

body.panel-future .notification-dropdown-foot,
body.home-future .notification-dropdown-foot {
  border-top-color: rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .22);
}

body.panel-future .notification-dropdown-list,
body.home-future .notification-dropdown-list {
  background: rgba(0, 0, 0, .12);
  border-bottom-color: rgba(255, 255, 255, .12);
}

body.panel-future .notification-card,
body.home-future .notification-card {
  color: #e2e8f0;
  background: rgba(255, 255, 255, .04);
  border-bottom-color: rgba(255, 255, 255, .08);
  border-left-color: #42d9ff;
}

body.panel-future .notification-card.warning,
body.home-future .notification-card.warning {
  border-left-color: #ff7a00;
}

body.panel-future .notification-card.danger,
body.home-future .notification-card.danger {
  border-left-color: #f87171;
}

body.panel-future .notification-card.unread,
body.home-future .notification-card.unread {
  background: linear-gradient(90deg, rgba(255, 122, 0, .16), rgba(255, 255, 255, .04) 48%);
}

body.panel-future .notification-card.notification-empty,
body.home-future .notification-card.notification-empty {
  border-left-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .03);
}

body.panel-future .notification-card span,
body.home-future .notification-card span {
  color: #94a3b8;
}

body.panel-future .notification-card strong,
body.home-future .notification-card strong {
  color: #fff;
}

body.panel-future .notification-card p,
body.home-future .notification-card p {
  color: #94a3b8;
}

body.panel-future .notification-mark-read,
body.home-future .notification-mark-read {
  color: #ffd9a8;
  background: rgba(255, 122, 0, .14);
  border-color: rgba(255, 145, 0, .4);
}

body.panel-future .notification-mark-read:hover,
body.panel-future .notification-mark-read:focus-visible,
body.home-future .notification-mark-read:hover,
body.home-future .notification-mark-read:focus-visible {
  color: #fff;
  background: rgba(255, 122, 0, .28);
}

body.panel-future .notification-read-all,
body.home-future .notification-read-all {
  color: #e2e8f0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
}

body.panel-future .notification-read-all:hover,
body.panel-future .notification-read-all:focus-visible,
body.home-future .notification-read-all:hover,
body.home-future .notification-read-all:focus-visible {
  color: #fff;
  background: rgba(255, 122, 0, .2);
  border-color: rgba(255, 145, 0, .45);
  outline: none;
}

body.panel-future .notification-dropdown-list::-webkit-scrollbar,
body.home-future .notification-dropdown-list::-webkit-scrollbar {
  width: 8px;
}

body.panel-future .notification-dropdown-list::-webkit-scrollbar-thumb,
body.home-future .notification-dropdown-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
}

.section {
  margin-top: 18px;
  padding: 20px;
}

.section-head {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-grid article {
  padding: 18px;
  border: 1px solid #e0e4ec;
  background: white;
  border-radius: 8px;
}

.seo-grid p {
  color: #5f6673;
  line-height: 1.55;
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.keyword-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: #101014;
  background: #f2f4f8;
  border: 1px solid #dfe3eb;
  border-radius: 999px;
  font-weight: 850;
  font-size: 13px;
}

.section .eyebrow,
.order-panel .eyebrow {
  color: #bd4b00;
}

.service-list,
.package-grid {
  display: grid;
  gap: 12px;
}

.service {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(150px, 0.9fr) minmax(170px, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e1e4ea;
  border-radius: 8px;
  background: white;
}

.service-main {
  gap: 12px;
  min-width: 0;
}

.service-main p {
  margin-bottom: 0;
  color: #6b7280;
}

.product-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 950;
}

.product-badge.ts {
  background: linear-gradient(135deg, #ff7a00, #ffb21f);
}

.product-badge.logo-badge {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 78, 86, .18), transparent 58%),
    #fff;
  border: 1px solid rgba(255, 78, 86, .3);
  box-shadow: 0 10px 22px rgba(255, 78, 86, .16);
}

.product-badge.logo-badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(255, 78, 86, .24));
}

.product-badge.music-logo {
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 122, 0, .22), transparent 45%),
    radial-gradient(circle at 78% 24%, rgba(66, 217, 255, .18), transparent 42%),
    #070707;
  border-color: rgba(255, 178, 31, .32);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(255, 122, 0, .14);
}

.product-badge.music-logo img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  filter: none;
}

.product-badge.sinus-logo {
  overflow: hidden;
  background: #fff;
  border-color: rgba(239, 50, 58, .24);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(239, 50, 58, .14);
}

.product-badge.sinus-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(239, 50, 58, .18));
}

.product-badge.management-logo {
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 122, 0, .22), transparent 45%),
    radial-gradient(circle at 78% 24%, rgba(66, 217, 255, .2), transparent 42%),
    #070707;
  border-color: rgba(255, 178, 31, .32);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(255, 122, 0, .14);
}

.product-badge.management-logo img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  filter: none;
}

.product-badge.mb {
  background: linear-gradient(135deg, #e11d48, #ff7a00);
}

.product-badge.sb {
  background: linear-gradient(135deg, #1683ff, #42d9ff);
}

.product-badge.yb {
  background: linear-gradient(135deg, #23c46e, #42d9ff);
}

.product-badge.by {
  background: linear-gradient(135deg, #6d5dfc, #ffb21f);
}

.product-badge.service-logo {
  flex: 0 0 46px;
  overflow: hidden;
  padding: 4px;
  color: transparent;
  background: #fff;
  border: 1px solid #dfe6ef;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
}

.product-badge.service-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.product-badge.service-logo.ts-logo {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.product-badge.service-logo.ts-logo img {
  width: 38px;
  height: 38px;
}

.product-badge.service-logo.music-logo {
  padding: 0;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 122, 0, .22), transparent 45%),
    radial-gradient(circle at 78% 24%, rgba(66, 217, 255, .18), transparent 42%),
    #070707;
  border-color: rgba(255, 178, 31, .34);
  border-radius: 50%;
}

.product-badge.service-logo.music-logo img {
  width: 46px;
  height: 46px;
  object-fit: cover;
}

.product-badge.service-logo.sinus-logo {
  background: transparent;
  border-color: transparent;
  border-radius: 10px;
  box-shadow: none;
}

.product-badge.service-logo.sinus-logo img {
  width: 40px;
  height: 40px;
}

.product-badge.service-logo.management-logo {
  padding: 3px;
  background: linear-gradient(135deg, #111827, #050507);
  border-color: rgba(255, 178, 31, .38);
  border-radius: 12px;
}

.product-badge.service-logo.management-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.product-badge.service-logo.bayilik-logo {
  padding: 2px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 122, 0, .2), transparent 45%),
    #070707;
  border-color: rgba(255, 178, 31, .32);
  border-radius: 50%;
}

.product-badge.service-logo.bayilik-logo img {
  width: 42px;
  height: 42px;
  object-fit: cover;
}

.service-meta {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  color: #4b5563;
  font-weight: 800;
}

.service-meta .days-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #64748b;
}

.service-meta .days-label.days-urgent {
  color: #dc2626;
  animation: service-expiry-blink 1s ease-in-out infinite alternate;
}

.service-meta .days-label.days-expired,
.service-meta .days-label.days-suspended {
  color: #dc2626;
  animation: service-expiry-blink 1s ease-in-out infinite alternate;
}

@keyframes service-expiry-blink {
  0% { opacity: 1; }
  100% { opacity: .4; }
}

.service-actions .renew-button.renew-urgent,
.service-actions button[data-renew-service].renew-urgent {
  color: #fff !important;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 52%, #f87171 100%) !important;
  border-color: #b91c1c !important;
  animation: service-expiry-blink 1s ease-in-out infinite alternate;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-style: normal;
}

.pill.success {
  background: var(--green);
}

.pill.warn {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .3px;
  box-shadow: 0 4px 14px rgba(249, 115, 22, .35);
  animation: pill-glow 2s ease-in-out infinite alternate;
}

@keyframes pill-glow {
  0% { box-shadow: 0 4px 14px rgba(249, 115, 22, .35); }
  100% { box-shadow: 0 6px 20px rgba(249, 115, 22, .55), 0 0 8px rgba(251, 146, 60, .3); }
}

.pill.recommendation {
  color: #090909;
  background: linear-gradient(135deg, #ffb21f, #42d9ff);
  box-shadow: 0 10px 22px rgba(255, 178, 31, .18);
}

.progress {
  height: 8px;
  overflow: hidden;
  background: #e7e9ee;
  border-radius: 999px;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: inherit;
}

.service-actions {
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.service-actions button,
.service-link,
.package-card button {
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  box-shadow: none;
  transition: opacity .15s ease, border-color .15s ease;
}

.service-link {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
}

.service-actions button:hover:not(:disabled),
.service-link:hover {
  filter: none;
  transform: none;
  box-shadow: none;
}

.service-link-primary,
.package-card button.active {
  color: #fff;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 52%, #fb923c 100%);
  border: 1px solid #c2410c;
  box-shadow: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}

.service-link-primary:hover {
  opacity: .92;
}

.service-link-connect {
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 52%, #3b82f6 100%);
  border: 1px solid #1e40af;
  box-shadow: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}

.service-link-connect:hover {
  opacity: .92;
}

.service-link-external {
  color: #fff;
  background: linear-gradient(135deg, #047857 0%, #059669 52%, #10b981 100%);
  border: 1px solid #065f46;
  box-shadow: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}

.service-link-external:hover {
  opacity: .92;
}

.service-actions .renew-button,
.service-actions button[data-renew-service] {
  color: #9a3412;
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
  border: 1.5px solid #ea580c;
  box-shadow: none;
  font-weight: 800;
}

.service-actions .renew-button:hover,
.service-actions button[data-renew-service]:hover {
  color: #7c2d12;
  background: #fff7ed;
  border-color: #c2410c;
  opacity: 1;
}

.service-actions button:disabled {
  color: #94a3b8;
  background: #f1f5f9;
  border-color: #e2e8f0;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.package-section:not(.package-vitrin) {
  background: rgba(255, 255, 255, .96);
}

.tabs {
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tab {
  min-height: 38px;
  padding: 0 12px;
  color: #384152;
  background: #eef1f6;
  border: 1px solid #dde2ea;
  border-radius: 8px;
  font-weight: 900;
}

.tab.active {
  color: #08080a;
  background: var(--orange-2);
  border-color: #f59e0b;
}

.ts-panel-status-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .9fr) minmax(260px, .7fr) minmax(220px, .6fr);
  gap: 14px;
  align-items: stretch;
  padding: 18px 20px;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(8, 13, 23, .96), rgba(61, 22, 13, .88) 58%, rgba(10, 31, 43, .92)),
    rgba(8, 11, 16, .94);
  border: 1px solid rgba(255, 178, 31, .32);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

.ts-panel-status-intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.12;
}

.ts-panel-status-intro p {
  margin: 8px 0 0;
  color: rgba(226, 232, 240, .86);
  line-height: 1.5;
}

.ts-panel-status-actions {
  display: grid;
  gap: 10px;
  align-content: center;
}

.ts-panel-status-actions .ts-control-note {
  margin: 0;
  color: rgba(226, 232, 240, .88);
  font-size: 13px;
}

.ts-panel-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
  padding: 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.ts-panel-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 280px;
  min-width: 0;
}

.ts-panel-nav-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.ts-nav-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.ts-nav-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  animation: ts-nav-live-pulse 1.8s ease-out infinite;
}

.ts-nav-live-status[data-state="attention"] .ts-nav-live-dot {
  background: #f59e0b;
  animation: none;
}

@keyframes ts-nav-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.ts-panel-nav-toolbar .ts-nav-action {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.ts-panel-nav-toolbar .ghost-button.ts-nav-action {
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}

.ts-panel-nav-toolbar #startServerButton,
.ts-panel-nav-toolbar #stopServerButton {
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}

.ts-panel-nav-toolbar #startServerButton {
  background: linear-gradient(135deg, #15803d, #22c55e);
  border: 1px solid #166534;
}

.ts-panel-nav-toolbar #stopServerButton {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  border: 1px solid #991b1b;
}

.ts-panel-nav-toolbar #startServerButton:hover:not(:disabled),
.ts-panel-nav-toolbar #stopServerButton:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: saturate(1.1) brightness(1.04);
}

.ts-panel-nav-toolbar #startServerButton:disabled,
.ts-panel-nav-toolbar #stopServerButton:disabled {
  color: rgba(255, 255, 255, .72);
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}

.ts-panel-nav button {
  min-height: 38px;
  padding: 0 12px;
  color: #e2e8f0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
}

.ts-panel-nav button:hover,
.ts-panel-nav button:focus-visible {
  background: rgba(255, 255, 255, .08);
  outline: none;
}

.ts-panel-nav button.is-active {
  color: #111827;
  background: linear-gradient(135deg, #ffb21f, #ff7a00);
  border-color: rgba(255, 145, 0, .65);
}

.ts-panel-pane[hidden] {
  display: none !important;
}

.ts-advanced-toggle-wrap {
  grid-column: 1 / -1;
  margin: 4px 0 8px;
}

.ts-user-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ts-user-tabs button {
  min-height: 34px;
  padding: 0 12px;
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.ts-user-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0b5fff, #1d9bff);
  border-color: rgba(11, 95, 255, .45);
}

.ts-user-workbench {
  min-width: 0;
}

.ts-user-panel[hidden] {
  display: none !important;
}

.ts-user-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.ts-perm-section {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.ts-perm-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.ts-perm-section h3 {
  margin: 0;
  font-size: 16px;
}

.ts-user-panel .ts-record-list.compact {
  max-height: 220px;
  overflow: auto;
}

.ts-record-panel.wide {
  grid-column: 1 / -1;
}

/* Uygulama panelleri: okunaklı açık kartlar (müşteri / üyelik / destek) */
.shell .main > .section:not(.hero-panel):not(.ts-panel-status-bar):not(.package-vitrin):not(.services-vitrin):not(.panel-vitrin):not(.support-vitrin):not(.membership-vitrin):not(.ts-manager-card):not(.ts-live-view-card) {
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  backdrop-filter: none;
}

/* Paket / hizmet / muhasebe / SSS vitrin — koyu zemin */
.shell .main > .section.package-vitrin,
.shell .main > .section.services-vitrin,
.shell .main > .section.panel-vitrin,
body.panel-future #packages.package-vitrin,
body.panel-future #services.services-vitrin,
body.panel-future #billing.panel-vitrin,
body.panel-future #faq.panel-vitrin,
body[data-page="panel"] #packages.package-vitrin,
body[data-page="panel"] #services.services-vitrin,
body[data-page="panel"] #billing.panel-vitrin,
body[data-page="panel"] #faq.panel-vitrin {
  color: #e2e8f0;
}

.shell .main > .section:not(.hero-panel):not(.ts-panel-status-bar):not(.package-vitrin):not(.services-vitrin):not(.panel-vitrin) .section-head h2,
.shell .main .split-section:not(.panel-vitrin) article h2,
.shell .main #billing.panel-vitrin article h2,
.shell .main #faq.panel-vitrin .help-card h3 {
  color: #0f172a;
  text-shadow: none;
}

.shell .main > .section:not(.hero-panel):not(.ts-panel-status-bar):not(.package-vitrin):not(.services-vitrin):not(.panel-vitrin) .section-head p:not(.eyebrow),
.shell .main .split-section:not(.panel-vitrin) article > p,
.shell .main #faq.panel-vitrin .help-card p {
  color: #475569;
  text-shadow: none;
}

.shell .main > .section:not(.hero-panel):not(.ts-panel-status-bar):not(.package-vitrin):not(.services-vitrin):not(.panel-vitrin) .section-head .eyebrow,
.shell .main .split-section:not(.panel-vitrin) article .eyebrow,
.shell .main #billing.panel-vitrin article .eyebrow,
.shell .main #faq.panel-vitrin > .section-head .eyebrow {
  color: #c2410c;
  text-shadow: none;
}

/* Müşteri / destek / üyelik: açık kartlarda ghost düğme okunabilirliği */
.shell .main > .section:not(.hero-panel):not(.ts-panel-status-bar):not(.package-vitrin):not(.services-vitrin):not(.panel-vitrin) :is(.section-head, article) :is(.ghost-button, .ghost-link),
.shell .main .split-section:not(.panel-vitrin) article :is(.ghost-button, .ghost-link) {
  color: #111827;
  background: #eef2f7;
  border-color: #d5dde8;
}

.shell .main > .section.ts-manager-grid {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* TS üst durum şeridi: koyu zemin + beyaz kutucuklarda koyu metin */
.section.ts-panel-status-bar {
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(8, 13, 23, .96), rgba(61, 22, 13, .88) 58%, rgba(10, 31, 43, .92)),
    rgba(8, 11, 16, .94) !important;
  border: 1px solid rgba(255, 178, 31, .32) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

.section.ts-panel-status-bar .ts-panel-status-intro .eyebrow {
  color: #ffb21f;
  text-shadow: none;
}

.section.ts-panel-status-bar .ts-panel-status-intro h2,
.section.ts-panel-status-bar #panelTitle {
  color: #ffffff;
  text-shadow: none;
}

.section.ts-panel-status-bar .ts-panel-status-intro p,
.section.ts-panel-status-bar #panelSubtitle {
  color: #cbd5e1;
  text-shadow: none;
}

.section.ts-panel-status-bar .ts-manager-stats article,
.section.ts-panel-status-bar .ts-command-health article {
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .1);
}

.section.ts-panel-status-bar .ts-manager-stats span,
.section.ts-panel-status-bar .ts-command-health span {
  color: #475569;
  font-weight: 800;
}

.section.ts-panel-status-bar .ts-manager-stats strong,
.section.ts-panel-status-bar .ts-command-health strong {
  color: #0f172a;
  font-weight: 800;
}

.section.ts-panel-status-bar .ts-command-health[data-state="active"] article:first-child strong {
  color: #15803d;
}

.section.ts-panel-status-bar .ts-command-health[data-state="attention"] article:first-child strong {
  color: #b45309;
}

.section.ts-panel-status-bar .ts-control-note,
.section.ts-panel-status-bar #serverControlNote {
  color: #e2e8f0;
}

.section.ts-panel-status-bar .ts-panel-status-actions .ghost-button {
  color: #0f172a;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

body[data-page="ts-panel"] .ts-manager-card .ts-live-summary article,
body[data-page="ts-panel"] .ts-manager-card .ts-action-grid article,
body[data-page="ts-panel"] .ts-manager-card .ts-selector-panel,
body[data-page="ts-panel"] .ts-manager-card .ts-selected-card,
body[data-page="ts-panel"] .ts-manager-card .ts-backup-card,
body[data-page="ts-panel"] .ts-manager-card .ts-record-panel,
body[data-page="ts-panel"] .ts-manager-card .ts-user-panel,
body[data-page="ts-panel"] .ts-manager-card .ts-settings-group {
  color: #0f172a;
  background: #f8fafc;
  border-color: #e2e8f0;
}

body[data-page="ts-panel"] .ts-manager-card .ts-live-summary span,
body[data-page="ts-panel"] .ts-manager-card .ts-selected-card span,
body[data-page="ts-panel"] .ts-manager-card .ts-card-note,
body[data-page="ts-panel"] .ts-manager-card .ts-action-grid article .ts-card-note {
  color: #475569;
  font-weight: 600;
}

body[data-page="ts-panel"] .ts-manager-card .ts-live-summary strong,
body[data-page="ts-panel"] .ts-manager-card .ts-selected-card strong {
  color: #0f172a;
  font-weight: 800;
}

.shell .main .split-section:not(.panel-vitrin) article {
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: none;
  backdrop-filter: none;
}

.shell .main #billing.panel-vitrin article,
.shell .main #faq.panel-vitrin .help-card {
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .2);
}

body[data-page="ts-panel"]:not(.panel-future) section.ts-manager-card:not(.ts-super-admin-panel),
body[data-page="ts-panel"]:not(.panel-future) #securityRecordsSection.ts-security-card,
body[data-page="ts-panel"]:not(.panel-future) #iconManagementSection.ts-security-card {
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
  backdrop-filter: none;
}

.ts-security-ban-panel {
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

#securityRecordsSection .ts-record-list {
  gap: 12px;
}

#securityRecordsSection .ts-live-empty {
  margin: 0;
  padding: 22px 16px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}

#securityRecordsSection .ts-record-item {
  padding: 14px 16px;
  background: #fff;
  border-color: #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

#securityRecordsSection .ts-record-item strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
}

#securityRecordsSection .ts-record-item span,
#securityRecordsSection .ts-record-item small {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

#iconManagementSection .ts-action-grid article {
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: none;
}

#iconManagementSection .ts-action-grid article h3,
#iconManagementSection .ts-action-grid article p,
#iconManagementSection .ts-action-grid article .eyebrow {
  text-shadow: none;
}

#iconManagementSection .ts-action-grid article h3 {
  color: #0f172a;
  font-size: 17px;
  font-weight: 800;
}

#iconManagementSection .ts-action-grid article .ts-card-note {
  color: #64748b;
  font-weight: 600;
}

.ts-manager-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 24px;
  align-items: center;
}

.ts-manager-hero h2 {
  max-width: 880px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02;
}

.ts-manager-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ts-manager-stats article,
.ts-manager-card {
  color: #111827;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #dfe4ec;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

.ts-manager-stats article {
  padding: 18px;
}

.ts-manager-stats span,
.ts-token-output span {
  display: block;
  margin-bottom: 6px;
  color: #5f6b7c;
  font-size: 13px;
  font-weight: 900;
}

.ts-manager-stats strong {
  display: block;
  color: #090b10;
  font-size: 24px;
  line-height: 1.1;
}

.ts-command-center {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  gap: 16px;
  align-items: stretch;
  padding: 22px;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(8, 13, 23, .96), rgba(61, 22, 13, .88) 58%, rgba(10, 31, 43, .92)),
    rgba(8, 11, 16, .94);
  border: 1px solid rgba(255, 178, 31, .38);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .24);
}

.ts-command-copy {
  display: grid;
  align-content: center;
  gap: 8px;
}

.ts-command-copy .eyebrow {
  color: #ffb21f;
}

.ts-command-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.12;
}

.ts-command-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(226, 232, 240, .88);
  font-weight: 750;
  line-height: 1.6;
}

.ts-command-health {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ts-command-health article {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
}

.ts-command-health span,
.ts-command-actions small {
  display: block;
}

.ts-command-health span {
  margin-bottom: 6px;
  color: rgba(203, 213, 225, .9);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ts-command-health strong {
  display: block;
  min-width: 0;
  color: #f8fafc;
  font-size: 18px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.ts-command-health[data-state="active"] article:first-child strong {
  color: #4ade80;
}

.ts-command-health[data-state="attention"] article:first-child strong {
  color: #fbbf24;
}

.ts-command-actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.ts-command-actions a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  min-width: 0;
  min-height: 82px;
  padding: 12px;
  color: #f8fafc;
  text-decoration: none;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.ts-command-actions a:hover,
.ts-command-actions a:focus-visible {
  background: rgba(255, 178, 31, .13);
  border-color: rgba(255, 178, 31, .68);
  transform: translateY(-1px);
}

.ts-command-actions .command-icon {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #f8fafc;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .22), transparent 32%),
    linear-gradient(135deg, #0b5fff 0%, #1d9bff 42%, #b42318 100%);
  border: 1px solid rgba(66, 217, 255, .46);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(11, 95, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.ts-command-actions .command-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ts-command-actions strong {
  min-width: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}

.ts-command-actions small {
  min-width: 0;
  color: rgba(203, 213, 225, .86);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

#liveViewSection,
#activitySection,
#serverSettingsSection,
#securityRecordsSection,
#iconManagementSection,
#channelManagementSection,
#userManagementSection,
#backupSection {
  scroll-margin-top: 92px;
}

.ts-manager-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ts-manager-card {
  padding: 22px;
}

.ts-card-note {
  margin: 10px 0 16px;
  color: #5f6b7c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.ts-manager-card.wide {
  grid-column: 1 / -1;
}

.section-head.compact {
  margin-bottom: 18px;
}

.ts-collapsible-head {
  align-items: flex-start;
  gap: 16px;
}

.ts-collapsible-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.ts-collapsible-body {
  margin-top: 18px;
}

.ts-collapsible-body[hidden] {
  display: none !important;
}

.ts-collapsible-card .ts-card-note {
  margin-bottom: 0;
}

.ts-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ts-server-settings-form {
  grid-template-columns: 1fr;
}

.ts-settings-group {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  margin: 0;
  background: #f8fafc;
  border: 1px solid #dce3ee;
  border-radius: 8px;
}

.ts-settings-group legend {
  padding: 0 8px;
  color: #f59e0b;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.ts-settings-group .wide {
  grid-column: 1 / -1;
}

.ts-security-level-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 16px;
}

.ts-security-level-row > label {
  flex: 0 1 auto;
  min-width: 140px;
}

.ts-security-level-warning {
  flex: 1 1 220px;
  margin: 0;
  padding-bottom: 4px;
  color: #dc2626;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.ts-checkbox-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  justify-content: flex-start;
}

.ts-form .ts-checkbox-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: #ff9800;
}

.ts-password-clear-row {
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  color: #111827;
  background: rgba(255, 255, 255, .68);
  border: 1px solid #d8e0ec;
  border-radius: 8px;
}

.ts-password-clear-row span {
  line-height: 1.25;
}

.ts-form label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-weight: 900;
}

.admin-only-setting {
  display: none !important;
}

body[data-user-role="admin"] .admin-only-setting {
  display: grid !important;
}

.ts-form .wide,
.ts-form .form-actions,
.ts-form button.full {
  grid-column: 1 / -1;
}

.ts-form input,
.ts-form select,
.ts-form textarea,
.ts-inline-input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.ts-form textarea {
  resize: vertical;
}

.ts-native-icon-select {
  position: absolute !important;
  width: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ts-icon-picker {
  position: relative;
  min-width: 0;
}

.ts-icon-picker-current {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 8px 42px 8px 10px;
  color: #111827;
  text-align: left;
  background: #f8fafc;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  position: relative;
}

.ts-icon-picker-current::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #475569;
  border-bottom: 2px solid #475569;
  transform: translateY(-65%) rotate(45deg);
}

.ts-icon-picker-current:focus-visible {
  outline: 3px solid rgba(14, 165, 233, .35);
  outline-offset: 2px;
}

.ts-icon-picker-current span:not(.ts-icon-thumb),
.ts-icon-option span:not(.ts-icon-thumb) {
  min-width: 0;
}

.ts-icon-picker-current strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-icon-picker-current small {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.ts-icon-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 3px;
  color: #f8fafc;
  background: linear-gradient(135deg, #0f4c81, #b42318);
  border: 1px solid rgba(15, 76, 129, .24);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
}

.ts-icon-thumb img {
  display: block;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
  image-rendering: auto;
}

.ts-icon-thumb.empty {
  font-size: 13px;
  font-weight: 1000;
  background: linear-gradient(135deg, #475569, #111827);
}

.ts-icon-picker-current .ts-icon-thumb,
.ts-icon-picker-menu .ts-icon-thumb {
  color: inherit;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.ts-icon-picker-current .ts-icon-thumb.empty,
.ts-icon-picker-menu .ts-icon-thumb.empty {
  color: #94a3b8;
  background: #fff;
  border: 1px dashed rgba(148, 163, 184, .45);
}

.ts-live-client-menu {
  position: fixed;
  z-index: 1000;
  min-width: 228px;
  max-width: 280px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #d7deea;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .28);
}

.ts-live-client-menu-head {
  padding: 8px 10px 7px;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  border-bottom: 1px solid #eef2f7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-live-client-menu-item {
  display: block;
  width: 100%;
  padding: 9px 10px;
  color: #1f2937;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ts-live-client-menu-item:hover,
.ts-live-client-menu-item:focus-visible {
  background: #f1f5f9;
  outline: none;
}

.ts-live-client-menu-item.danger {
  color: #dc2626;
}

.ts-live-client-menu-item.danger:hover,
.ts-live-client-menu-item.danger:focus-visible {
  background: #fef2f2;
}

.ts-icon-thumb-skel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 11px;
  font-weight: 900;
  color: #94a3b8;
}

.ts-custom-icon-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 12px 0 16px;
}

.ts-file-picker {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  cursor: pointer;
}

.ts-file-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ts-file-picker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: #111827;
  background: linear-gradient(135deg, var(--orange), #ffbc2e);
  border-radius: 8px;
  font-weight: 1000;
  box-shadow: 0 12px 24px rgba(255, 143, 0, .18);
}

.ts-file-picker strong {
  min-width: 0;
  overflow: hidden;
  color: #111827;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-custom-icon-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 6px;
  color: #64748b;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #cfd7e3;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 900;
}

.ts-custom-icon-preview[data-ready="true"] {
  color: transparent;
}

.ts-custom-icon-preview img {
  display: block;
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

.ts-password-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: end;
  min-width: 0;
}

.ts-password-control label:first-child {
  min-width: 0;
}

.ts-password-control .ts-checkbox-row {
  align-self: center;
  margin: 0;
  padding-top: 22px;
}

.ts-password-control .ghost-button {
  min-height: 42px;
}

.ts-password-control small {
  grid-column: 1 / -1;
  color: #64748b;
  font-weight: 800;
}

.ts-icon-picker-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  padding: 10px;
  background: #fff;
  border: 1px solid #cfd7e3;
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .28);
}

.ts-icon-picker-search {
  width: 100%;
  min-height: 40px;
  margin-bottom: 8px;
  padding: 9px 11px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.ts-icon-picker-list {
  display: grid;
  gap: 6px;
  max-height: min(680px, 78vh);
  overflow: auto;
  padding-right: 4px;
}

.ts-icon-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 7px 9px;
  color: #111827;
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.ts-icon-option:hover,
.ts-icon-option:focus-visible,
.ts-icon-option.selected {
  color: #fff;
  background: linear-gradient(135deg, rgba(15, 76, 129, .98), rgba(180, 35, 24, .96));
  border-color: rgba(255, 178, 31, .55);
}

.ts-icon-option span:not(.ts-icon-thumb) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-icon-list-dialog {
  width: min(720px, calc(100vw - 32px));
}

.ts-icon-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ts-icon-list-head .ts-card-note {
  margin: 6px 0 0;
}

.ts-icon-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px;
  max-height: min(52vh, 520px);
  overflow: auto;
  margin-top: 10px;
  padding: 10px;
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.ts-icon-list-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 4px 6px;
  color: #111827;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
}

.ts-icon-list-item strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.ts-icon-list-item small {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.ts-icon-list-item.is-custom strong::after {
  content: " · Özel";
  color: #ea580c;
  font-weight: 900;
}

#iconListModal .ts-icon-thumb,
.ts-icon-list-dialog .ts-icon-thumb {
  width: 32px;
  height: 32px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

#iconListModal .ts-icon-thumb img,
.ts-icon-list-dialog .ts-icon-thumb img {
  max-width: 32px;
  max-height: 32px;
}

#iconListModal .ts-icon-thumb.empty,
.ts-icon-list-dialog .ts-icon-thumb.empty {
  width: 32px;
  height: 32px;
  font-size: 12px;
  color: #94a3b8;
  background: transparent;
  border: 1px dashed rgba(148, 163, 184, .45);
  border-radius: 4px;
}

#iconListModal .ts-icon-list-grid .ts-icon-list-item {
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
}

#iconListModal .ts-icon-list-grid .ts-icon-list-item strong {
  color: #0f172a;
}

#iconListModal .ts-icon-list-grid .ts-icon-list-item small {
  color: #64748b;
}

#iconListModal .ts-icon-list-grid .ts-icon-list-item:hover,
#iconListModal .ts-icon-list-grid .ts-icon-list-item:focus-within {
  background: #fff7ed;
  border-color: rgba(255, 122, 0, .35);
}

#iconListModal .ts-icon-list-grid .ts-card-note {
  color: #64748b;
}

body.panel-future[data-page="ts-panel"] #iconListModal .ts-icon-thumb,
body.panel-future[data-page="ts-panel"] .ts-icon-list-dialog .ts-icon-thumb {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#iconListModal .ts-icon-list-grid .ts-icon-thumb.empty,
body.panel-future[data-page="ts-panel"] #iconListModal .ts-icon-list-grid .ts-icon-thumb.empty {
  color: #94a3b8 !important;
  background: #fff !important;
  border: 1px dashed #cbd5e1 !important;
}

.ts-token-output {
  margin-top: 14px;
  padding: 12px;
  color: #0f172a;
  word-break: break-all;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 8px;
}

.ts-token-output strong {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.ts-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ts-record-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.ts-record-panel h3 {
  margin: 0;
  color: #111827;
}

.ts-record-list {
  display: grid;
  gap: 10px;
}

.ts-record-item {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #dfe4ec;
  border-radius: 8px;
}

.ts-record-item > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ts-record-item strong,
.ts-record-item span,
.ts-record-item small,
.ts-record-item code {
  overflow-wrap: anywhere;
}

.ts-record-item span,
.ts-record-item small {
  color: #4b5563;
  font-weight: 800;
}

.ts-record-item code {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 7px 9px;
  color: #111827;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 8px;
  font: 800 12px/1.4 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.ts-record-item button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: #b42318;
  border: 1px solid #991b1b;
  border-radius: 8px;
  font-weight: 950;
}

.ts-table-wrap {
  overflow-x: auto;
}

.ts-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.ts-table th,
.ts-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e1e6ef;
  vertical-align: middle;
}

.ts-table th {
  color: #5f6b7c;
  font-size: 13px;
  font-weight: 900;
  background: #f3f6fa;
}

.ts-table td small {
  display: block;
  max-width: 300px;
  color: #667085;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ts-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ts-row-actions button {
  min-height: 36px;
  padding: 0 12px;
  color: #111827;
  background: #eef2f7;
  border: 1px solid #d5dde8;
  border-radius: 8px;
  font-weight: 900;
}

.ts-row-actions button:first-child {
  color: #111;
  background: var(--orange-2);
  border-color: #f59e0b;
}

.ts-workbench {
  display: grid;
  gap: 18px;
}

.ts-live-view-card {
  display: block;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

body[data-page="ts-panel"] section.ts-live-view-card {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

#superAdminPanel[hidden] {
  display: none !important;
}

.ts-super-admin-panel {
  display: grid;
  gap: 18px;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(255, 154, 0, .2), rgba(66, 217, 255, .12)),
    rgba(8, 11, 16, .94);
  border-color: rgba(255, 178, 31, .45);
}

.ts-super-admin-panel .ghost-link {
  color: #f8fafc;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
}

.ts-admin-switcher {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.ts-admin-switcher label {
  display: grid;
  gap: 8px;
  color: #f8fafc;
  font-weight: 900;
}

.ts-admin-switcher select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #111827;
  background: #fff;
  border: 1px solid #d5dde8;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
}

.ts-admin-port-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ts-admin-port-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  color: #111827;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #dfe6ef;
  border-radius: 8px;
}

.ts-admin-port-card.active {
  border-color: #ff9a00;
  box-shadow: 0 0 0 2px rgba(255, 154, 0, .22);
}

.ts-admin-port-card strong,
.ts-admin-port-card span,
.ts-admin-port-card small {
  display: block;
  overflow-wrap: anywhere;
}

.ts-admin-port-card strong {
  color: #111827;
  font-size: 16px;
  line-height: 1.2;
}

.ts-admin-port-card span,
.ts-admin-port-card small {
  color: #5f6b7c;
  font-weight: 800;
}

.ts-admin-port-card button {
  min-height: 38px;
  padding: 0 14px;
  color: #111827;
  background: #ffb21f;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  font-weight: 950;
}

.ts-admin-port-card.active button {
  color: #fff;
  background: #111827;
  border-color: #111827;
}

.ts-live-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ts-live-summary article {
  padding: 16px;
  color: #111827;
  background: linear-gradient(135deg, rgba(255, 178, 31, .14), rgba(66, 217, 255, .08)), #fff;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
}

.ts-live-summary span {
  display: block;
  margin-bottom: 6px;
  color: #5f6b7c;
  font-size: 13px;
  font-weight: 900;
}

.ts-live-summary strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ts-control-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.ts-control-actions button {
  min-width: 104px;
}

.ts-control-note {
  margin: -6px 0 0;
  padding: 12px 14px;
  color: #f8fafc;
  background: rgba(15, 23, 42, .72);
  border: 1px solid rgba(255, 178, 31, .28);
  border-radius: 8px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.ts-control-note.is-blocked {
  color: #fed7aa;
  background: rgba(127, 29, 29, .42);
  border-color: rgba(248, 113, 113, .4);
}

.ts-control-actions button:disabled {
  cursor: not-allowed;
  opacity: .52;
  filter: grayscale(.25);
}

.ts-activity-card {
  display: grid;
  gap: 14px;
}

.ts-activity-list {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.ts-activity-row {
  display: grid;
  grid-template-columns: 88px minmax(180px, 1.2fr) repeat(3, minmax(118px, .85fr)) 70px minmax(120px, .75fr);
  gap: 10px;
  align-items: center;
  min-width: 820px;
  padding: 12px 14px;
  color: #111827;
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 248, 252, .94));
  border: 1px solid #dfe6ef;
  border-radius: 8px;
}

.ts-activity-row.head {
  color: #5f6b7c;
  background: #f3f6fa;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ts-activity-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  min-width: 820px;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid #e5e7eb;
}

.ts-activity-page-info {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.ts-activity-page-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ts-activity-page-buttons .ghost-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.ts-activity-page-buttons .ghost-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.ts-activity-pagination button[data-activity-page] {
  width: 38px;
  min-height: 34px;
  padding: 0;
  color: #101828;
  background: #f3f6fa;
  border: 1px solid #d6deea;
  border-radius: 8px;
  font-weight: 950;
  cursor: pointer;
}

.ts-activity-pagination button[data-activity-page].active {
  color: #fff;
  background: linear-gradient(135deg, #ff7a00, #ffb21a);
  border-color: rgba(255, 178, 26, .85);
  box-shadow: 0 12px 28px rgba(255, 122, 0, .24);
}

.ts-activity-row strong,
.ts-activity-row small {
  display: block;
  overflow-wrap: anywhere;
}

.ts-activity-row small {
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.ts-activity-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.ts-activity-state.online {
  background: #22c55e;
}

.ts-activity-state.offline {
  background: #64748b;
}

.ts-activity-grant-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 5px 10px;
  border: 1px solid #c2410c;
  border-radius: 8px;
  background: linear-gradient(180deg, #fb923c, #f97316);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 2px 10px rgba(249, 115, 22, .35);
  cursor: pointer;
}

.ts-activity-grant-btn:hover,
.ts-activity-grant-btn:focus-visible {
  background: linear-gradient(180deg, #fdba74, #fb923c);
}

.ts-ip-hidden {
  color: #64748b;
  font-weight: 900;
}

.ts-ip-visible {
  color: #111827;
  font-weight: 950;
}

.ts-client-window {
  color: #e5edf8;
  background: #070b13;
  border: 1px solid rgba(255, 152, 0, .34);
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
}

.ts-client-header {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background:
    linear-gradient(135deg, rgba(255, 152, 0, .18), rgba(14, 165, 233, .12)),
    #101722;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ts-client-title-block {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-left: 2px;
}

.ts-client-header .ts-client-live-badge {
  margin: 0;
  flex-shrink: 0;
  align-self: center;
  letter-spacing: .08em;
  white-space: nowrap;
}

.ts-client-header strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ts-live-meters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 14px;
  padding: 10px 18px 12px;
  background:
    radial-gradient(720px 140px at 6% -50%, rgba(56, 189, 248, .12), transparent 68%),
    linear-gradient(180deg, #0e1828, #0a1019);
  border-bottom: 1px solid rgba(56, 189, 248, .14);
}

.ts-conn-stat {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ts-conn-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.ts-conn-label {
  color: #93a6c4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ts-conn-value {
  color: #f1f6fc;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(148, 163, 184, .25);
  transition: color .2s ease, text-shadow .2s ease;
}

.ts-conn-bar {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .2);
  overflow: hidden;
}

.ts-conn-bar i {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  background-size: 18px 100%;
  opacity: max(.72, var(--strength, .72));
  filter: saturate(1.35);
  animation: tsConnBarFlow var(--flow-dur, 1.1s) linear infinite;
}

@keyframes tsConnBarFlow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 18px 0;
  }
}

.ts-conn-stat.good .ts-conn-bar i {
  background-image: repeating-linear-gradient(90deg, #34e07a 0 7px, rgba(34, 197, 94, .4) 7px 11px);
  box-shadow: 0 0 9px rgba(34, 197, 94, .5);
}

.ts-conn-stat.warn .ts-conn-bar i {
  background-image: repeating-linear-gradient(90deg, #fbbf24 0 7px, rgba(245, 158, 11, .4) 7px 11px);
  box-shadow: 0 0 9px rgba(245, 158, 11, .5);
}

.ts-conn-stat.bad .ts-conn-bar i {
  background-image: repeating-linear-gradient(90deg, #fb5d5d 0 7px, rgba(239, 68, 68, .4) 7px 11px);
  box-shadow: 0 0 9px rgba(239, 68, 68, .55);
}

.ts-conn-stat.neutral .ts-conn-bar i {
  background-image: repeating-linear-gradient(90deg, #4cc9ff 0 7px, rgba(56, 189, 248, .4) 7px 11px);
  box-shadow: 0 0 9px rgba(56, 189, 248, .5);
}

.ts-conn-stat.good .ts-conn-value {
  color: #6ee7a0;
  text-shadow: 0 0 10px rgba(34, 197, 94, .45);
}

.ts-conn-stat.warn .ts-conn-value {
  color: #fcd34d;
  text-shadow: 0 0 10px rgba(245, 158, 11, .45);
}

.ts-conn-stat.bad .ts-conn-value {
  color: #fca5a5;
  text-shadow: 0 0 10px rgba(239, 68, 68, .5);
}

.ts-conn-stat.neutral .ts-conn-value,
.ts-conn-stat.traffic .ts-conn-value {
  color: #7dd3fc;
  text-shadow: 0 0 10px rgba(56, 189, 248, .45);
}

.ts-client-window.is-live-online .ts-client-live-dot {
  animation: tsLiveConnPulse 2.8s ease-in-out infinite;
}

@keyframes tsLiveConnPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, .16);
  }
}

@media (max-width: 980px) {
  .ts-live-meters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ts-client-address-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  padding-left: 2px;
  overflow: visible;
}

.ts-client-live-dot {
  display: none;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .1);
  flex: 0 0 8px;
}

.ts-client-window.is-live-online .ts-client-live-dot {
  display: block;
}

#liveClientAddress {
  min-width: 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ts-client-row.ts-client-spacer {
  min-height: 22px;
  padding: 2px 10px;
  background: transparent;
  border-color: transparent;
}

.ts-client-row.ts-client-spacer .ts-client-meta,
.ts-client-row.ts-client-spacer .ts-client-actions {
  display: none;
}

.ts-client-row.ts-client-spacer .ts-client-name {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
}

.ts-client-tree {
  min-height: 560px;
  max-height: 720px;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 152, 0, .12), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(3, 7, 18, .98));
  overflow: auto;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.ts-client-row {
  --indent: calc(var(--level, 0) * 24px);
  --status-col: 120px;
  position: relative;
  display: grid;
  /* Durum ikon sutunu sabit: 1-4 ikon fark etmez, yetkiler ayni hizadan baslar */
  grid-template-columns: 20px var(--status-col) minmax(100px, 1fr) minmax(120px, 1.1fr) auto;
  min-height: 36px;
  width: calc(100% - var(--indent));
  align-items: center;
  column-gap: 9px;
  margin: 0 0 6px var(--indent);
  padding: 6px 10px;
  color: #e5edf8;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 8px;
  line-height: 1.25;
}

.ts-client-row > .ts-client-icon,
.ts-client-row > .ts-client-icon-stack {
  justify-self: start;
  align-self: center;
}

.ts-client-icon-stack {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  width: var(--status-col);
  min-width: var(--status-col);
  max-width: var(--status-col);
  box-sizing: border-box;
}

.ts-client-row > .ts-client-name {
  min-width: 0;
}

.ts-client-row > .ts-client-meta {
  justify-self: start;
  min-width: 0;
}

.ts-client-row::before {
  display: none;
}

.ts-client-row:hover,
.ts-client-row.selected {
  background: rgba(255, 152, 0, .14);
  border-color: rgba(255, 178, 31, .62);
  box-shadow: inset 3px 0 0 #ff9800;
}

.ts-client-row[draggable="true"] {
  cursor: grab;
}

.ts-client-row.dragging {
  opacity: .58;
  cursor: grabbing;
  transform: scale(.995);
}

.ts-client-row.drop-target {
  background: rgba(56, 189, 248, .16);
  border-color: rgba(56, 189, 248, .72);
  box-shadow: inset 3px 0 0 #38bdf8;
}

.ts-client-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  min-width: 70px;
}

.ts-client-actions button {
  width: 28px;
  height: 26px;
  border: 1px solid rgba(255, 178, 31, .35);
  border-radius: 7px;
  background: rgba(255, 152, 0, .16);
  color: #f8fafc;
  font-weight: 900;
  cursor: pointer;
}

.ts-client-actions button:hover:not(:disabled) {
  background: #ff9800;
  color: #111827;
}

.ts-client-actions button:disabled {
  opacity: .28;
  cursor: not-allowed;
}

.ts-client-server {
  min-height: 44px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, rgba(255, 152, 0, .23), rgba(59, 130, 246, .15));
  border-color: rgba(255, 178, 31, .38);
}

.ts-client-channel {
  background: rgba(15, 23, 42, .72);
}

.ts-client-user {
  background: rgba(15, 23, 42, .42);
}

.ts-client-caret,
.ts-client-branch {
  width: 18px;
  height: 18px;
}

.ts-client-caret::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 6px 0 0 4px;
  border-top: 6px solid #fbbf24;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.ts-client-caret:not(.open)::before {
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #94a3b8;
  border-right: 0;
}

.ts-client-icon {
  position: relative;
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 auto;
}

.ts-client-icon.server-icon {
  background: linear-gradient(135deg, #ff9800, #42d9ff);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
}

.ts-client-icon.server-icon::after {
  content: "";
  width: 11px;
  height: 8px;
  border: 2px solid #fff;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.ts-client-icon.channel-icon {
  background: linear-gradient(135deg, #fbbf24, #fb923c);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
}

.ts-client-icon.channel-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 12px;
  height: 6px;
  background: rgba(255, 255, 255, .65);
  border-radius: 3px 3px 1px 1px;
}

.ts-client-icon.user-icon {
  background: radial-gradient(circle at 35% 30%, #e0f2fe 0 17%, #38bdf8 18% 48%, #0f172a 49% 100%);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
}

.ts-client-icon.user-icon.commander {
  background: radial-gradient(circle at 35% 30%, #ffedd5 0 17%, #f97316 18% 48%, #7c2d12 49% 100%);
}

.ts-client-icon.user-icon.away-afk,
.ts-client-icon.user-icon.mic-muted,
.ts-client-icon.user-icon.mic-disabled,
.ts-client-icon.user-icon.sound-muted,
.ts-client-icon.user-icon.sound-disabled {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

.ts-client-icon.user-icon.away-afk::after {
  display: none;
}

/* AFK / disarida — mavi kare beyaz X */
.ts-client-icon.user-icon.away-afk {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='3' fill='%232563eb'/%3E%3Cpath d='M7.2 7.2l9.6 9.6M16.8 7.2l-9.6 9.6' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ts-client-away-msg {
  color: #94a3b8;
  font-weight: 600;
}

.ts-client-icon.user-icon.mic-muted {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M11 2a3 3 0 0 0-3 3v6a3 3 0 1 0 6 0V5a3 3 0 0 0-3-3z' fill='%23cbd5e1'/%3E%3Cpath d='M6.2 11a4.8 4.8 0 0 0 9.6 0' stroke='%23cbd5e1' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M11 15.8V19M8.2 19h5.6' stroke='%23cbd5e1' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M15.4 15.4l5.2 5.2M20.6 15.4l-5.2 5.2' stroke='%23ef4444' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ts-client-icon.user-icon.mic-disabled {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M11 2a3 3 0 0 0-3 3v6a3 3 0 1 0 6 0V5a3 3 0 0 0-3-3z' fill='%23cbd5e1'/%3E%3Cpath d='M6.2 11a4.8 4.8 0 0 0 9.6 0' stroke='%23cbd5e1' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M11 15.8V19M8.2 19h5.6' stroke='%23cbd5e1' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='18.2' cy='18.2' r='4.2' stroke='%23ef4444' stroke-width='1.7'/%3E%3Cpath d='M15.6 20.8L20.8 15.6' stroke='%23ef4444' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ts-client-icon.user-icon.sound-muted {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 9h3L10.5 5v14L6 15H3V9z' fill='%23cbd5e1'/%3E%3Cpath d='M13.8 9.2a2.8 2.8 0 0 1 0 5.6' stroke='%23cbd5e1' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M15.8 7a5.2 5.2 0 0 1 0 10' stroke='%23cbd5e1' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M15.4 15.4l5.2 5.2M20.6 15.4l-5.2 5.2' stroke='%23ef4444' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ts-client-icon.user-icon.sound-disabled {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 9h3L10.5 5v14L6 15H3V9z' fill='%23cbd5e1'/%3E%3Cpath d='M13.8 9.2a2.8 2.8 0 0 1 0 5.6' stroke='%23cbd5e1' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M15.8 7a5.2 5.2 0 0 1 0 10' stroke='%23cbd5e1' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='18.2' cy='18.2' r='4.2' stroke='%23ef4444' stroke-width='1.7'/%3E%3Cpath d='M15.6 20.8L20.8 15.6' stroke='%23ef4444' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ts-client-name {
  min-width: 0;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-client-server .ts-client-name {
  font-size: 16px;
  font-weight: 1000;
}

.ts-client-channel .ts-client-name {
  color: #fff7ed;
}

.ts-client-user .ts-client-name {
  color: #dbeafe;
  font-weight: 850;
}

.ts-client-meta {
  min-width: 0;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-client-country {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border-radius: 4px;
  cursor: help;
}

.ts-client-country .ts-flag {
  display: block;
  width: 24px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .18);
}

.ts-client-country.ts-client-country-fallback {
  padding: 3px 7px;
  color: #cbd5e1;
  background: rgba(148, 163, 184, .16);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}


.ts-client-tree .ts-live-empty {
  padding: 28px 16px;
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.ts-live-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.ts-live-users,
.ts-channel-tree {
  min-height: 260px;
  padding: 16px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
}

.ts-live-users {
  display: grid;
  gap: 14px;
  align-content: start;
}

.ts-live-users h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.2;
}

.ts-live-user-list {
  display: grid;
  gap: 10px;
}

.ts-live-user {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
}

.ts-live-user > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #111827;
  background: linear-gradient(135deg, #ffb21f, #42d9ff);
  border-radius: 8px;
  font-weight: 950;
}

.ts-live-user strong,
.ts-channel-node strong {
  display: block;
  color: #111827;
  line-height: 1.2;
}

.ts-live-user small,
.ts-channel-node small,
.ts-live-empty {
  display: block;
  color: #5f6b7c;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.ts-channel-tree {
  display: grid;
  gap: 10px;
  max-height: 560px;
  overflow: auto;
}

.ts-channel-node {
  display: grid;
  gap: 10px;
  margin-left: calc(var(--level, 0) * 18px);
  padding: 12px;
  background: #fff;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #ff9a00;
  border-radius: 8px;
}

.ts-channel-main {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.ts-channel-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, rgba(255, 178, 31, .95), rgba(66, 217, 255, .85));
  border-radius: 8px;
  position: relative;
}

.ts-channel-icon::before,
.ts-channel-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  background: #111827;
  border-radius: 999px;
}

.ts-channel-icon::before {
  top: 11px;
}

.ts-channel-icon::after {
  top: 19px;
}

.ts-channel-users {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 44px;
}

.ts-channel-user {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #111827;
  background: #eef2f7;
  border: 1px solid #d5dde8;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.ts-channel-user small {
  color: #16a34a;
  font-size: 12px;
}

.ts-split {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ts-selector-panel,
.ts-action-grid article,
.ts-backup-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
}

.ts-selector-panel label,
.ts-action-grid label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-weight: 900;
}

.ts-selector-panel select,
.ts-action-grid input,
.ts-action-grid select,
.ts-action-grid textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: #111827;
  background: #fff;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.ts-selected-card {
  display: grid;
  gap: 8px;
  min-height: 94px;
  padding: 14px;
  color: #1f2937;
  background: linear-gradient(135deg, rgba(255, 178, 31, .18), rgba(66, 217, 255, .12)), #fff;
  border: 1px solid rgba(255, 178, 31, .35);
  border-radius: 8px;
}

.ts-selected-card.stack span {
  display: block;
}

.ts-selected-card strong {
  color: #08080a;
  font-size: 18px;
  line-height: 1.2;
}

.ts-selected-card span,
.ts-backup-card p:not(.ts-backup-warning),
.ts-backup-status small {
  color: #5f6b7c;
  font-weight: 800;
}

.ts-edit-form {
  align-items: end;
  padding: 18px;
  color: #111827;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(246, 248, 252, .94)),
    #fff;
  border: 1px solid #d7dfeb;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.ts-edit-form > label,
.ts-edit-form .ts-password-control label,
.ts-edit-form .ts-channel-advanced label {
  color: #111827;
  text-shadow: none;
}

.ts-channel-advanced {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #d7dfeb;
  border-radius: 10px;
}

.ts-channel-advanced legend {
  padding: 0 8px;
  color: #f59e0b;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.ts-channel-advanced label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ts-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ts-channel-create-grid,
.ts-security-action-grid {
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}

.ts-icon-grid {
  margin-top: 4px;
}

.ts-user-action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ts-user-action-grid article {
  align-content: start;
}

.ts-selected-card.compact {
  min-height: 0;
  background: #fff;
  border-color: #d7dfeb;
}

.ts-action-grid article.wide {
  grid-column: 1 / -1;
}

.ts-action-grid h3,
.ts-backup-card h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.2;
}

.ts-backup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ts-backup-card {
  min-height: 230px;
  justify-content: space-between;
}

.ts-backup-card.primary {
  background: linear-gradient(135deg, rgba(255, 122, 0, .14), rgba(66, 217, 255, .1)), #fff;
  border-color: rgba(255, 178, 31, .42);
}

.ts-backup-initial-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
  margin-top: 14px;
}

.ts-backup-initial-footer .ts-row-actions {
  margin: 0;
}

.ts-backup-card p.ts-backup-warning,
.ts-manager-card .ts-backup-card p.ts-backup-warning {
  color: #dc2626;
  text-shadow: none;
}

.ts-backup-warning {
  margin: 0;
  color: #dc2626;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

body.panel-future[data-page="ts-panel"] .ts-backup-card p.ts-backup-warning,
body.panel-future[data-page="ts-panel"] .ts-manager-card .ts-backup-card p.ts-backup-warning,
body.panel-future[data-page="ts-panel"] .ts-backup-warning {
  color: #dc2626;
}

.ts-backup-customer-footer {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.ts-backup-list {
  display: grid;
  gap: 8px;
}

.ts-backup-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.ts-backup-list-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ts-backup-list-meta strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.ts-backup-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  padding-top: 4px;
}

.ts-backup-page-info {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.ts-backup-page-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ts-backup-page-buttons .ghost-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.ts-backup-page-buttons button[data-backup-page] {
  width: 38px;
  min-height: 34px;
  padding: 0;
  color: #101828;
  background: #f3f6fa;
  border: 1px solid #d6deea;
  border-radius: 8px;
  font-weight: 950;
  cursor: pointer;
}

.ts-backup-page-buttons button[data-backup-page].active {
  color: #fff;
  background: linear-gradient(135deg, #ff7a00, #ffb21a);
  border-color: rgba(255, 178, 26, .85);
  box-shadow: 0 12px 28px rgba(255, 122, 0, .24);
}

.ts-backup-status {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.ts-good,
.ts-muted {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.ts-good {
  color: #065f46;
  background: #d1fae5;
}

.ts-muted {
  color: #5f6b7c;
  background: #eef2f7;
}

.danger-button,
.ts-row-actions button[data-client-command="client_ban"],
.ts-row-actions button[data-backup-apply] {
  color: #fff;
  background: #b42318;
  border-color: #991b1b;
}

.ts-row-actions button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e0e4ec;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(246, 248, 252, .92)),
    #fff;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.package-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.package-card[data-category="teamspeak"]::before {
  background: linear-gradient(90deg, #ff244f, #ff7a00, #42d9ff);
}

.package-card:hover {
  border-color: rgba(255, 122, 0, .5);
  box-shadow: 0 22px 46px rgba(15, 23, 42, .12);
  transform: translateY(-3px);
}

.package-card.featured {
  border-color: rgba(255, 122, 0, .65);
  box-shadow: 0 18px 40px rgba(255, 122, 0, .16);
}

.package-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 12px;
  color: #0b0b0f;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 178, 31, .38), transparent 34%),
    radial-gradient(circle at 84% 24%, rgba(66, 217, 255, .32), transparent 34%),
    #f4f6fb;
  border: 1px solid #dde4ef;
  border-radius: 8px;
}

.package-visual.teamspeak-visual {
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 36, 79, .22), transparent 36%),
    radial-gradient(circle at 88% 22%, rgba(66, 217, 255, .22), transparent 35%),
    linear-gradient(145deg, #fff7f8, #f6f8fd);
  border-color: rgba(255, 36, 79, .18);
}

.package-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #070707;
  background: linear-gradient(135deg, var(--orange-2), var(--cyan));
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
}

.package-logo.ts-logo {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 78, 86, .16), transparent 58%),
    #fff;
  border: 1px solid rgba(255, 78, 86, .28);
  box-shadow:
    0 10px 24px rgba(255, 78, 86, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .9);
}

.package-logo.ts-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(255, 78, 86, .22));
}

.package-visual em {
  color: #344054;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-align: right;
}

.package-visual.teamspeak-visual em {
  color: #991b1b;
}

.ts-specs,
.bot-specs {
  display: grid;
  margin-top: 2px;
  border-top: 1px solid #e5e9f1;
}

.ts-spec-row,
.bot-spec-row {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 7px 0;
  border-bottom: 1px solid #edf0f5;
  color: #273142;
  font-size: 13px;
  line-height: 1.25;
}

.ts-spec-row:hover .ts-spec-icon,
.bot-spec-row:hover .ts-spec-icon {
  color: #fff;
  background: linear-gradient(135deg, #ff244f, #ff8a00);
  border-color: rgba(255, 36, 79, .35);
  transform: rotate(360deg) scale(1.08);
}

.bot-spec-row:hover .ts-spec-icon {
  background: linear-gradient(135deg, #ff7a00, #42d9ff);
  border-color: rgba(66, 217, 255, .4);
}

.ts-spec-label,
.bot-spec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #344054;
  font-weight: 850;
}

.ts-spec-label > span:last-child,
.bot-spec-label > span:last-child {
  min-width: 0;
}

.ts-spec-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #ff3857;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 138, 0, .2), transparent 58%),
    #fff1f2;
  border: 1px solid rgba(255, 56, 87, .16);
  border-radius: 7px;
  transition: transform .55s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

.ts-spec-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bot-spec-row .ts-spec-icon {
  color: #ff7a00;
  background:
    radial-gradient(circle at 30% 20%, rgba(66, 217, 255, .22), transparent 58%),
    #fff7ed;
  border-color: rgba(255, 122, 0, .18);
}

.ts-spec-row strong,
.bot-spec-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: #0b0f19;
  font-size: 13px;
  font-weight: 950;
  text-align: right;
}

.ts-check,
.bot-check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 7px 14px rgba(34, 197, 94, .25);
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

.flag-value {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mini-flag {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .14);
}

.mini-flag.de {
  background: linear-gradient(180deg, #000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.mini-flag.tr {
  background: #e30a17 url("assets/flag-tr.svg") center / cover no-repeat;
}

.location-flags {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.package-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.package-top .pill {
  justify-content: center;
  max-width: 150px;
  min-height: 34px;
  padding: 5px 9px;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.package-top .pill.recommendation {
  max-width: 190px;
  font-size: 11px;
  letter-spacing: 0;
}

.package-card p {
  color: #6b7280;
  line-height: 1.45;
  margin-bottom: 0;
}

.price-block {
  display: grid;
  gap: 2px;
  align-content: start;
}

.old-price {
  min-height: 18px;
  color: #8b92a0;
  line-height: 1;
}

.old-price .price-money {
  font-size: 15px;
  font-weight: 850;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(139, 146, 160, .75);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #0b0f19;
  font-size: 28px;
  font-weight: 950;
}

.price-money {
  display: inline-flex;
  align-items: flex-start;
  line-height: .95;
  letter-spacing: 0;
}

.price-currency {
  margin-right: 2px;
}

.price-money sup {
  margin-left: 1px;
  transform: translateY(-.18em);
  color: inherit;
  font-size: .48em;
  font-weight: 950;
  line-height: 1;
}

.price-period {
  color: #737985;
  font-size: 13px;
  font-weight: 800;
}

.quote-price {
  color: #0b0f19;
  font-size: 22px;
  font-weight: 950;
}

.features {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #303644;
  font-weight: 750;
}

.features li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--orange);
  border-radius: 50%;
  vertical-align: 1px;
}

.order-panel {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 20px;
}

.summary-copy {
  color: #5f6673;
  line-height: 1.45;
}

.summary-price {
  margin: 18px 0;
}

.summary-price .price {
  font-size: 30px;
}

.summary-price .old-price .price-money {
  font-size: 16px;
}

.summary-price .price-period {
  font-size: 14px;
}

dl {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

dl div,
.invoice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

dt {
  color: #6b7280;
  font-weight: 800;
}

dd {
  margin: 0;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.split-section article {
  padding: 20px;
}

.management-grid,
.automation-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.automation-grid {
  grid-template-columns: 1.1fr .9fr;
}

.management-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-grid,
.pool-grid,
.help-grid {
  display: grid;
  gap: 14px;
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pool-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

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

.management-card,
.automation-grid article,
.workflow-card,
.pool-grid article,
.help-card,
.admin-panel {
  padding: 18px;
  border: 1px solid #e0e4ec;
  background: white;
  border-radius: 8px;
}

.workflow-card {
  display: grid;
  gap: 10px;
}

.workflow-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #090909;
  background: linear-gradient(135deg, var(--orange-2), var(--cyan));
  border-radius: 8px;
  font-weight: 950;
}

.workflow-card p,
.help-card p {
  color: #5f6673;
  line-height: 1.48;
}

.template-list {
  margin: 0;
}

.help-card pre {
  margin: 12px 0 0;
  padding: 14px;
  overflow-x: auto;
  color: #f7f7f8;
  background: #101014;
  border-radius: 8px;
  line-height: 1.5;
}

.help-card code {
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

.media-card {
  align-content: start;
}

.media-placeholders {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.media-placeholders button {
  min-height: 42px;
  color: #101014;
  background: #f2f4f8;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  font-weight: 900;
}

.management-card {
  display: grid;
  gap: 12px;
}

.management-card p {
  color: #5f6673;
  line-height: 1.48;
}

.action-grid,
.panel-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.panel-links {
  grid-template-columns: 1fr;
}

.action-grid button,
.panel-links button,
.panel-links a,
.toggle {
  min-height: 38px;
  border: 1px solid #dfe3eb;
  background: #f2f4f8;
  color: #101014;
  border-radius: 8px;
  font-weight: 900;
}

.management-card .panel-link-button:not(.primary-link) {
  color: #101014;
  background: #f2f4f8;
}

.panel-links a {
  display: grid;
  place-items: center;
  text-decoration: none;
  text-align: center;
}

.panel-links .primary-link {
  color: #090909;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-color: rgba(255, 122, 0, .55);
}

.status-list {
  display: grid;
  gap: 10px;
  color: #384152;
  font-weight: 850;
}

.status-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f5;
}

.status-list span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(35, 196, 110, .12);
}

.status-list strong {
  margin-left: auto;
  color: var(--green);
}

.provider-status-list {
  margin: 12px 0 16px;
}

.provider-status-list div {
  flex-wrap: wrap;
  align-items: flex-start;
}

.provider-status-list small {
  flex: 1 1 100%;
  margin-left: 17px;
  color: #606978;
  line-height: 1.45;
}

.provider-status-list .admin-badge {
  margin-left: 8px;
}

.timeline {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f6f7fb;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
}

.timeline strong {
  color: #101014;
}

.timeline span {
  color: #606876;
  font-weight: 750;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid #e9edf3;
  color: #384152;
  font-weight: 900;
}

.toggle {
  min-width: 82px;
}

.toggle.on {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.admin-shell {
  min-height: 100vh;
  padding: 28px;
  color: #e2e8f0;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 145, 255, .14), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(255, 178, 31, .12), transparent 30%),
    linear-gradient(180deg, #0b1220 0%, #111827 48%, #0f172a 100%);
}

body[data-page="admin"] .admin-main > .section.admin-workspace {
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
  backdrop-filter: none;
}

body[data-page="admin"] .admin-workspace .section-head h2 {
  color: #0f172a;
  text-shadow: none;
}

body[data-page="admin"] .admin-workspace-note,
body[data-page="admin"] .admin-workspace .section-head p:not(.eyebrow) {
  margin: 6px 0 0;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  text-shadow: none;
}

body[data-page="admin"] .admin-workspace .eyebrow {
  color: #c2410c;
  text-shadow: none;
}

body[data-page="admin"] .admin-workspace .ghost-button {
  color: #111827;
  background: #eef2f7;
  border-color: #d5dde8;
}

body[data-page="admin"] .admin-panel .ghost-button,
body[data-page="admin"] .ts-profile-form .ghost-button,
body[data-page="admin"] .admin-inline-form .ghost-button,
body[data-page="admin"] .admin-form .ghost-button,
body[data-page="admin"] .admin-form-actions .ghost-button,
body[data-page="admin"] .provider-settings-form .ghost-button {
  color: #0f172a;
  background: #f1f5f9;
  border-color: #cbd5e1;
  font-weight: 600;
}

body[data-page="admin"] .admin-panel .ghost-button:hover,
body[data-page="admin"] .ts-profile-form .ghost-button:hover,
body[data-page="admin"] .admin-form-actions .ghost-button:hover {
  color: #020617;
  background: #e2e8f0;
  border-color: #94a3b8;
}

.admin-panel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  position: sticky;
  top: 8px;
  z-index: 30;
}

.admin-panel-nav button {
  min-height: 38px;
  padding: 0 14px;
  color: #334155;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
}

.admin-panel-nav button:hover,
.admin-panel-nav button:focus-visible {
  background: #e2e8f0;
  outline: none;
}

.admin-panel-nav button.is-active {
  color: #111827;
  background: linear-gradient(135deg, #ffb21f, #ff7a00);
  border-color: rgba(255, 145, 0, .65);
}

.admin-billing-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.admin-billing-block:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.admin-billing-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 12px;
}

.admin-billing-block-head h4 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}

.admin-billing-block-note {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.admin-filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.admin-filter-bar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  color: #475569;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-filter-bar button span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  min-height: 20px;
  padding: 0 6px;
  color: #0f172a;
  background: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.admin-filter-bar button.is-active {
  color: #111827;
  background: #fff;
  border-color: #fdba74;
  box-shadow: 0 4px 12px rgba(255, 122, 0, .12);
}

.admin-filter-bar button.is-active span {
  background: linear-gradient(135deg, #ff7a00, #ffb21f);
  color: #fff;
}

.admin-service-type-bar {
  margin-top: -4px;
}

.admin-service-group-row td {
  background: linear-gradient(90deg, rgba(255, 122, 0, .12), rgba(66, 217, 255, .08));
  border-top: 2px solid rgba(255, 122, 0, .35);
  border-bottom: 1px solid rgba(148, 163, 184, .25);
  padding: 12px 14px;
  font-size: 13px;
  color: #0f172a;
}

.admin-service-group-row strong {
  font-size: 14px;
  margin-right: 10px;
}

.admin-service-group-row span {
  color: #64748b;
  font-weight: 700;
}

.admin-table-compact td,
.admin-table-compact th {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 13px;
}

.admin-empty-row {
  color: #64748b !important;
  font-weight: 600;
  text-align: center;
}

.admin-row-muted {
  opacity: .72;
}

.admin-billing-block.is-empty-queue .table-wrap {
  opacity: .92;
}

#adminGrid > .admin-panel[hidden] {
  display: none !important;
}

#adminGrid[data-active-pane="customers"],
#adminGrid[data-active-pane="services"],
#adminGrid[data-active-pane="support"],
#adminGrid[data-active-pane="ts"] {
  grid-template-columns: minmax(0, 1fr);
}

#adminGrid[data-active-pane="customers"] .admin-panel.wide,
#adminGrid[data-active-pane="services"] .admin-panel.wide,
#adminGrid[data-active-pane="support"] .admin-panel.wide,
#adminGrid[data-active-pane="ts"] .admin-panel.wide,
#adminGrid[data-active-pane="billing"] .admin-panel.wide,
#adminGrid[data-active-pane="messages"] .admin-panel.wide {
  grid-column: 1 / -1;
}

#adminGrid[data-active-pane="billing"],
#adminGrid[data-active-pane="messages"] {
  grid-template-columns: minmax(0, 1fr);
}

body[data-page="admin"] .admin-panel {
  color: #0f172a;
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: none;
}

body[data-page="admin"] .admin-panel label,
body[data-page="admin"] .admin-form label,
body[data-page="admin"] .admin-service-toolbar label {
  color: #334155;
}

body[data-page="admin"] .admin-panel input,
body[data-page="admin"] .admin-panel select,
body[data-page="admin"] .admin-panel textarea,
body[data-page="admin"] .admin-form input,
body[data-page="admin"] .admin-form select,
body[data-page="admin"] .admin-form textarea {
  color: #0f172a;
  background: #fff;
}

.public-section .package-card span,
.public-section .package-card small,
.public-section .package-card p {
  color: #475569;
}

.public-section .package-card strong,
.public-section .package-card h3 {
  color: #0f172a;
}

body[data-page="admin"] .admin-panel h3 {
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

body[data-page="admin"] .admin-panel > p,
body[data-page="admin"] .panel-title-row p {
  color: #64748b;
  font-weight: 600;
}

body[data-page="admin"] .admin-inline-form {
  background: #fff;
  border-color: #e2e8f0;
}

body[data-page="admin"] .status-list div {
  padding: 12px 14px;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-bottom: 0;
  border-radius: 8px;
}

body[data-page="admin"] .status-list div + div {
  margin-top: 8px;
}

body[data-page="admin"] .status-list strong {
  color: #0f172a;
}

body[data-page="admin"] .metric {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

body[data-page="admin"] .metric span,
body[data-page="admin"] .metric small {
  color: #64748b;
}

body[data-page="admin"] .metric strong {
  color: #0f172a;
}

.admin-locked {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}

.admin-locked img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
}

.admin-locked h1 {
  max-width: 620px;
}

.admin-locked p:not(.eyebrow) {
  max-width: 640px;
  color: #d6d9e1;
  line-height: 1.55;
}

.admin-locked a {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  text-decoration: none;
}

.admin-main {
  max-width: 1480px;
  margin: 0 auto;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.94);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-hero img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

.admin-title p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #5f6673;
  line-height: 1.55;
}

.admin-back {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 0 12px;
  color: #101014;
  background: #edf0f5;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.admin-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-title-actions .admin-back {
  margin-bottom: 0;
}

.admin-logout {
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border: 1px solid rgba(255, 122, 0, .5);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.admin-logout:hover {
  filter: brightness(1.04);
}

.admin-metrics {
  margin-bottom: 18px;
}

.admin-quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-quick-links a {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 14px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 122, 0, .28);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.admin-quick-links span {
  color: #4a5260;
  font-size: 13px;
  font-weight: 950;
}

.admin-quick-links strong {
  color: #101014;
  font-size: 28px;
  line-height: 1;
}

.admin-quick-links small {
  color: #687080;
  line-height: 1.35;
  font-weight: 800;
}

.admin-panel.wide {
  grid-column: span 2;
}

.panel-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.panel-title-row p,
.admin-panel > p {
  color: #5f6673;
  line-height: 1.45;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #e6eaf0;
  text-align: left;
  color: #222836;
}

.admin-table th {
  color: #687080;
  background: #f7f8fb;
  font-size: 13px;
}

.admin-table small {
  display: block;
  margin-top: 4px;
  color: #687080;
  line-height: 1.35;
  font-weight: 800;
}

.admin-table button {
  min-height: 34px;
  padding: 0 12px;
  color: #101014;
  background: #f2f4f8;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  font-weight: 900;
}

.admin-table-actions,
.customer-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-client-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  color: #101014;
  background: linear-gradient(135deg, #ffb21f, #ff7a00);
  border: 1px solid rgba(255, 122, 0, 0.7);
  border-radius: 8px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(255, 122, 0, 0.18);
}

.admin-client-link:hover {
  color: #101014;
  background: linear-gradient(135deg, #ffc247, #ff8a00);
}

.admin-entity-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  color: #ea580c;
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(234, 88, 12, 0.35);
  text-underline-offset: 2px;
  cursor: pointer;
}

.admin-entity-link:hover {
  color: #c2410c;
  text-decoration-color: currentColor;
}

.admin-detail-item .admin-entity-link,
.customer-service-card-main .admin-entity-link {
  font-size: inherit;
}

.ts-live-manage-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-customer-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 12px;
  align-items: center;
  margin: 14px 0 16px;
}

.admin-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-segmented button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: #222836;
  background: #f2f4f8;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  font-weight: 950;
}

.admin-segmented button.active {
  color: #101014;
  background: linear-gradient(135deg, #ffb21f, #ff7a00);
  border-color: rgba(255, 122, 0, 0.75);
}

.admin-segmented span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 22px;
  padding: 0 7px;
  color: #fff;
  background: #132033;
  border-radius: 999px;
  font-size: 12px;
}

.admin-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  color: #222836;
  background: #fff;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  font-weight: 850;
}

.admin-table button.admin-danger-button,
.admin-danger-button {
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-color: rgba(185, 28, 28, 0.8);
}

.admin-table button.admin-restore-button,
.admin-restore-button {
  color: #101014;
  background: linear-gradient(135deg, #3ee7ff, #20b7ff);
  border-color: rgba(32, 183, 255, 0.7);
}

.admin-table button.admin-warn-button,
.admin-warn-button {
  color: #3a2300;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-color: rgba(217, 119, 6, 0.75);
}

.admin-table button.admin-warn-button:hover,
.admin-warn-button:hover {
  filter: brightness(1.05);
}

.admin-muted-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  color: #687080;
  background: #f7f8fb;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
}

.admin-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.admin-action-stack button {
  flex: 0 0 auto;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: white;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-badge.success {
  background: var(--green);
}

.admin-badge.info {
  background: var(--blue, #2563eb);
}

.admin-badge.warn {
  background: var(--orange);
}

.admin-badge.danger {
  background: var(--red);
}

.admin-form {
  display: grid;
  gap: 10px;
}

.admin-inline-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0;
  padding: 14px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #e0e4ec;
  border-radius: 8px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: #424958;
  font-weight: 900;
}

.admin-form .form-hint,
.form-hint {
  margin: 0;
  padding: 10px 12px;
  color: #526174;
  background: #f8fafc;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-form .field-hint {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.admin-form .field-hint code {
  font-size: 11px;
  font-weight: 700;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #d7dce5;
  border-radius: 8px;
}

.admin-form textarea {
  min-height: 112px;
  padding: 10px 12px;
  resize: vertical;
  font: 800 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.provider-settings-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.provider-settings-form fieldset legend {
  grid-column: 1 / -1;
  padding: 0 4px;
  color: #0f172a;
  font-weight: 900;
}

.provider-settings-form fieldset label.wide,
.provider-settings-form fieldset .ghost-button {
  grid-column: 1 / -1;
}

/* Sablayici-ozel alanlar: varsayilan gizli, yalnizca secili saglayicininki gorunur */
.provider-settings-form .provider-webhook-only,
.provider-settings-form .provider-netgsm-only,
.provider-settings-form .provider-callmebot-only,
.provider-settings-form .provider-smsgw-only {
  display: none;
}
.provider-settings-form[data-phone-provider="webhook"] .provider-webhook-only,
.provider-settings-form[data-phone-provider="netgsm"] .provider-netgsm-only,
.provider-settings-form[data-phone-provider="callmebot"] .provider-callmebot-only,
.provider-settings-form[data-phone-provider="sms_gateway"] .provider-smsgw-only {
  display: grid;
}

.template-help {
  margin-bottom: 12px;
  padding: 10px 12px;
  color: #4b5563;
  background: #f8fafc;
  border: 1px solid #e1e6ef;
  border-radius: 8px;
  font-weight: 850;
}

.template-form,
.broadcast-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.template-form fieldset {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
}

.template-form legend {
  padding: 0 6px;
  color: #111827;
  font-weight: 950;
}

.template-form .wide,
.broadcast-form .wide {
  grid-column: 1 / -1;
}

.template-channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.template-channel-row label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: #111827;
  background: #f5f7fb;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  font-weight: 900;
}

.template-channel-row input {
  width: auto;
  min-height: auto;
  margin-right: 7px;
}

.admin-service-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, .35fr) minmax(260px, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.admin-service-toolbar label {
  display: grid;
  gap: 6px;
  color: #424958;
  font-weight: 900;
}

.admin-service-toolbar select,
.admin-service-toolbar input {
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #d7dce5;
  border-radius: 8px;
}

.ts-profile-layout {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(420px, 1.05fr);
  gap: 16px;
  align-items: start;
}

.ts-profile-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e0e4ec;
  border-radius: 8px;
}

.ts-profile-form-head {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 12px;
  color: #111827;
  background: linear-gradient(135deg, rgba(15, 76, 129, .08), rgba(180, 35, 24, .08));
  border: 1px solid #dde5ef;
  border-radius: 8px;
}

.ts-profile-form-head strong {
  font-size: 18px;
}

.ts-profile-form-head small {
  color: #64748b;
  font-weight: 800;
}

.ts-profile-form .wide {
  grid-column: 1 / -1;
}

.ts-profile-list {
  min-height: 100%;
  display: grid;
  gap: 12px;
  align-content: start;
}

.ts-profile-card {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  color: #0f172a;
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(246, 248, 252, .95));
  border: 1px solid #e0e4ec;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.ts-profile-card.is-passive {
  opacity: .82;
}

.ts-profile-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ts-profile-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ts-profile-card-title strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ts-profile-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ts-profile-status-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, .14);
}

.ts-profile-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
}

.ts-profile-meta > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ts-profile-meta dt {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ts-profile-meta dd {
  margin: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ts-profile-port-block {
  display: grid;
  gap: 8px;
}

.ts-profile-port-label {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ts-profile-port-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 6px;
  max-height: 120px;
  overflow-y: auto;
  overflow-x: hidden;
}

.ts-profile-chip {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  padding: 6px 8px;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
}

.ts-profile-chip .ts-profile-chip-port {
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ts-profile-chip em {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #64748b;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-profile-chip.warn {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fdba74;
}

.ts-profile-chip.muted {
  color: #64748b;
  background: #f1f5f9;
}

.ts-profile-note {
  margin: 0;
  padding: 10px 12px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ts-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid #e8edf3;
}

.ts-profile-actions button {
  min-height: 34px;
  padding: 0 12px;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.ts-profile-actions .admin-danger-button {
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-color: transparent;
}

.ts-profile-empty {
  margin: 0;
  padding: 16px;
  color: #64748b;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

/* Canli YATQA port gorunumu (admin) */
.ts-live-port-block {
  display: grid;
  gap: 8px;
}

.ts-live-port-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ts-live-port-head .ghost-button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.ts-live-port-body {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.ts-live-port-empty {
  padding: 12px 14px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  background: #f8fafc;
}

.ts-live-port-empty.warn {
  color: #9a3412;
  background: #fff7ed;
}

.ts-live-port-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ts-live-port-table th,
.ts-live-port-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}

.ts-live-port-table th {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  background: #f8fafc;
}

.ts-live-port-table tr:last-child td {
  border-bottom: 0;
}

.ts-live-port-table td strong {
  font-variant-numeric: tabular-nums;
}

.ts-live-port-table .admin-client-link {
  display: inline-block;
  padding: 4px 10px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 7px;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
}

.ts-live-port-unlinked {
  color: #94a3b8;
  font-size: 12px;
  font-style: italic;
}

.ts-live-create-port {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.ts-live-create-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ts-live-create-row input {
  flex: 1 1 140px;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
}

.ts-live-create-row input[name="voice_port"],
.ts-live-create-row input[name="max_clients"] {
  flex: 0 1 130px;
}

.ts-live-create-row .primary-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 16px;
}

.invoice-row em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.invoice-row .pending {
  color: var(--orange);
}

.invoice-row button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 122, 0, .28);
  border-radius: 8px;
  background: linear-gradient(135deg, #ff7a00, #ffb21a);
  color: #080808;
  font-weight: 900;
}

.invoice-row button.invoice-view-btn {
  margin-left: 8px;
  background: #eef2f7;
  border-color: rgba(100, 116, 139, .45);
  color: #1f2937;
}

.invoice-vat-note {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

.einvoice-badge {
  font-weight: 700;
}

.einvoice-badge.ok {
  color: #15803d;
}

.einvoice-badge.draft {
  color: #475569;
}

.einvoice-badge.warn {
  color: #b45309;
}

a.invoice-view-btn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  margin-left: 8px;
  border-radius: 8px;
  background: #dcfce7;
  border: 1px solid rgba(21, 128, 61, .45);
  color: #15803d;
  font-weight: 800;
  text-decoration: none;
}

.price-vat-note {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #34d399;
}

.payment-vat-row span {
  color: #94a3b8;
}

.footer-vat-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
}

/* Uyelik: Fatura bilgileri formu */
.invoice-type-field {
  border: 1px solid #d7dce5;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.invoice-type-field legend {
  padding: 0 6px;
  font-weight: 800;
  color: #1f2937;
}

.invoice-type-field .radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 700;
  color: #1f2937;
  background: #f3f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 7px 16px;
  min-height: 38px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.invoice-type-field .radio-pill:hover {
  border-color: #94a3b8;
}

.invoice-type-field .radio-pill:has(input:checked) {
  color: #9a3412;
  background: #fff3e6;
  border-color: #ea580c;
}

.invoice-type-field .radio-pill input {
  accent-color: #ea580c;
}

.corporate-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.invoice-hint {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

/* Admin: musteri fatura/vergi bilgisi */
.customer-billing-section .billing-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 18px;
}

.billing-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, .04);
  font-size: 13px;
}

.billing-info-row span {
  color: #64748b;
}

.billing-info-row strong {
  color: #0f172a;
  text-align: right;
}

.einvoice-line {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.einvoice-line.ok {
  color: #16a34a;
}

.einvoice-line.warn {
  color: #b45309;
}

.admin-einvoice-btn {
  margin-top: 4px;
  padding: 4px 10px;
  font-size: 12px;
}

.payment-card {
  overflow-x: hidden;
}

.payment-card > * {
  min-width: 0;
}

.payment-lines {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

.payment-lines div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
}

.payment-lines span {
  color: #667085;
  font-weight: 800;
  flex-shrink: 0;
}

.payment-lines strong {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.payment-lines .payment-total-row {
  border-color: #fecaca;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .18);
}

.payment-lines .payment-total-row span {
  color: #9f1239;
  font-weight: 900;
}

.payment-lines .payment-total-row strong {
  color: #9f1239;
  font-size: 1.08rem;
  font-weight: 900;
}

.payment-note-label {
  display: grid;
  gap: 8px;
  color: #111827;
  font-weight: 900;
}

.payment-note-label textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  border: 1px solid #d6dbe5;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.payment-auto-warning {
  margin: 12px 0 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #dc2626;
  border: 1px solid #b91c1c;
  box-shadow: 0 4px 14px rgba(220, 38, 38, .35);
}

.payment-auto-warning-text {
  margin: 0;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.payment-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.payment-actions button {
  width: 100%;
  white-space: normal;
}

/* "Bilgileri Kopyala" butonu acik modal zemininde okunur olsun (beyaz-uzeri-beyaz duzeltmesi).
   .payment-modal kapsami + !important ile diger ghost-button kurallarini kesin ezer. */
.payment-modal .payment-actions [data-copy-payment] {
  color: #0f172a !important;
  background: #eef2f7 !important;
  border: 1px solid #94a3b8 !important;
  font-weight: 700;
}
.payment-modal .payment-actions [data-copy-payment]:hover {
  background: #e2e8f0 !important;
  border-color: #64748b !important;
  color: #020617 !important;
}

/* "Odeme Yaptim / Havale Bildir" dikkat cekici yanip sonme (Paketleri Incele gibi).
   NOT: prefers-reduced-motion guard'i BILEREK YOK — Windows "animasyonlari goster"
   kapaliyken de yanip sonsun (paket CTA butonu gibi).
   scale KULLANILMAZ: buton buyuyup kuculunca yazi kayiyor; yalnizca box-shadow nabzi. */
@keyframes payNotifyPulse {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(249, 115, 22, .35), 0 0 0 0 rgba(251, 146, 60, 0);
  }
  50% {
    box-shadow: 0 8px 24px rgba(249, 115, 22, .62), 0 0 14px 2px rgba(251, 146, 60, .42);
  }
}
.payment-modal .payment-actions [data-payment-notify] {
  animation: payNotifyPulse 1.5s ease-in-out infinite !important;
  transform: none !important;
  min-height: 48px;
  padding: 12px 16px;
  line-height: 1.25;
  text-align: center;
  justify-content: center;
}

/* Yonetim Paneli butonu yanip sonme — prefers-reduced-motion guard'i BILEREK YOK */
.service-link-primary {
  animation: serviceMgmtPulse 1.5s ease-in-out infinite !important;
}
/* Bot paneli (Panele Gir) butonu yanip sonme */
.service-link-external {
  animation: serviceBotPanelPulse 1.5s ease-in-out infinite !important;
}
@keyframes serviceMgmtPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(249, 115, 22, .35); transform: scale(1); }
  50% { box-shadow: 0 8px 26px rgba(249, 115, 22, .65), 0 0 10px rgba(251, 146, 60, .5); transform: scale(1.03); }
}
@keyframes serviceBotPanelPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(16, 185, 129, .35); transform: scale(1); }
  50% { box-shadow: 0 8px 26px rgba(16, 185, 129, .65), 0 0 10px rgba(5, 150, 105, .5); transform: scale(1.03); }
}

.renew-card {
  width: min(560px, 100%);
}

.renew-service-name {
  margin: 0;
  color: #475467;
  font-weight: 850;
  line-height: 1.5;
}

.renew-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.renew-option {
  cursor: pointer;
}

.renew-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.renew-option span {
  display: grid;
  place-items: center;
  min-height: 46px;
  color: #111827;
  background: #f2f4f8;
  border: 1px solid #d8dde8;
  border-radius: 8px;
  font-weight: 950;
}

.renew-option input:checked + span {
  color: #080808;
  background: linear-gradient(135deg, #ff7a00, #ffb21f);
  border-color: rgba(255, 122, 0, .75);
  box-shadow: 0 12px 24px rgba(255, 122, 0, .16);
}

.renew-hint {
  margin: 0;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.support-form {
  display: grid;
  gap: 12px;
}

.support-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.support-form label {
  display: grid;
  gap: 7px;
  color: #424958;
  font-weight: 900;
}

.support-form label.wide {
  grid-column: 1 / -1;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d7dce5;
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

.support-form textarea {
  min-height: 150px;
  padding-top: 12px;
  resize: vertical;
}

.support-upload {
  min-height: 86px;
  padding: 16px;
  place-items: center;
  text-align: center;
  cursor: pointer;
  color: #111827;
  background:
    linear-gradient(135deg, rgba(255, 178, 31, .11), rgba(66, 217, 255, .12)),
    #fff;
  border: 1px dashed rgba(255, 122, 0, .55);
  border-radius: 8px;
}

.support-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.support-upload span {
  font-size: 15px;
  font-weight: 1000;
}

.support-upload small {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.support-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.support-ticket-meta small,
.ticket-attachments a,
.admin-file-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  color: #111827;
  text-decoration: none;
  background: #f5f7fb;
  border: 1px solid #dbe2ec;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.ticket-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.admin-detail-item .admin-file-link {
  display: inline-flex;
  color: #111827;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.membership-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e0e4ec;
  background: white;
  border-radius: 8px;
}

.membership-card.wide {
  grid-column: 1 / -1;
}

.membership-card p {
  margin: 0;
  color: #5f6673;
  line-height: 1.48;
}

.mobile-account-shortcuts {
  display: none;
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-form.single {
  grid-template-columns: 1fr;
}

.profile-form label {
  display: grid;
  gap: 7px;
  color: #424958;
  font-weight: 900;
}

.profile-form label.wide {
  grid-column: 1 / -1;
}

.profile-form input,
.profile-form textarea {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #d7dce5;
  border-radius: 8px;
}

.profile-form button {
  width: fit-content;
}

.phone-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  overflow: hidden;
  background: white;
  border: 1px solid #d7dce5;
  border-radius: 8px;
}

.phone-control > span {
  display: inline-flex;
  height: 100%;
  align-items: center;
  padding: 0 12px;
  color: #111827;
  background: #eef2f7;
  border-right: 1px solid #d7dce5;
  font-weight: 950;
}

.phone-control input {
  min-height: 42px !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.danger-zone {
  border-color: rgba(180, 35, 24, .38);
  background: linear-gradient(135deg, #fff, #fff7f6);
}

.danger-zone h3 {
  color: #991b1b;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .68);
  border: 0;
}

.admin-detail-card {
  position: relative;
  z-index: 1;
  width: min(940px, calc(100vw - 40px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 22px;
  color: white;
  background: linear-gradient(135deg, rgba(5, 28, 48, .98), rgba(86, 26, 10, .98));
  border: 1px solid rgba(255, 145, 0, .45);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

#iconListModal .admin-detail-card.ts-icon-list-dialog {
  width: min(720px, calc(100vw - 32px));
  color: #f8fafc;
}

#iconListModal .admin-detail-card.ts-icon-list-dialog .eyebrow {
  color: #ffb84d;
}

#iconListModal .admin-detail-card.ts-icon-list-dialog h3 {
  color: #fff;
}

#iconListModal .ts-icon-list-head .ts-card-note,
#iconListModal .admin-detail-card.ts-icon-list-dialog #iconListMeta {
  color: #cbd5e1;
}

#iconListModal .admin-detail-card.ts-icon-list-dialog .modal-close {
  color: #f8fafc;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.admin-detail-item {
  min-width: 0;
  padding: 14px;
  color: #111827;
  background: white;
  border: 1px solid #dfe4ee;
  border-radius: 8px;
}

.admin-detail-item.wide {
  grid-column: 1 / -1;
}

.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px 2px;
}

.ticket-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #dfe4ee;
  background: #f5f7fb;
}

.ticket-bubble p {
  margin: 0;
  color: #111827;
  font-weight: 600;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.ticket-bubble-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.ticket-bubble-head strong {
  color: #1f2a44;
  font-size: 12.5px;
  font-weight: 900;
}

.ticket-bubble-head span {
  color: #8a93a6;
  font-size: 11px;
  font-weight: 700;
}

.ticket-read-receipt {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
}

.ticket-read-receipt.is-read {
  color: #16a34a;
}

.ticket-read-receipt.is-unread {
  color: #94a3b8;
}

/* Admin müşteri hesabı izleme bandı (impersonation) */
.impersonation-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 44px;
  padding: 8px 16px;
  color: #1a1205;
  background: linear-gradient(135deg, #ffb21f, #ff7a00);
  box-shadow: 0 6px 20px rgba(255, 122, 0, .35);
  font-weight: 800;
  font-size: 13.5px;
  text-align: center;
}

.impersonation-banner-text strong {
  font-weight: 950;
}

.impersonation-banner-exit {
  min-height: 32px;
  padding: 0 14px;
  color: #fff;
  background: #0f172a;
  border: 1px solid rgba(0, 0, 0, .3);
  border-radius: 8px;
  font-weight: 900;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
}

.impersonation-banner-exit:hover:not(:disabled) {
  background: #1e293b;
}

.impersonation-banner-exit:disabled {
  opacity: .7;
  cursor: not-allowed;
}

body.has-impersonation-banner {
  padding-top: 44px;
}

.ticket-bubble-customer {
  align-self: flex-start;
  background: #f5f7fb;
  border-color: #dfe4ee;
}

.ticket-bubble-admin {
  align-self: flex-end;
  background: linear-gradient(135deg, #fff1e2, #ffe3c7);
  border-color: #ffcf9e;
}

.ticket-bubble-admin .ticket-bubble-head strong {
  color: #b45309;
}

.ticket-reply-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-reply-box label {
  color: #667085;
  font-size: 13px;
  font-weight: 900;
}

.ticket-reply-box textarea {
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid #cdd5e4;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  color: #111827;
  resize: vertical;
}

.ticket-reply-box textarea:focus {
  outline: none;
  border-color: #ff7a00;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, .18);
}

.ticket-reply-actions {
  display: flex;
  justify-content: flex-end;
}

/* ===== Müşteri paneli (koyu tema) destek talepleri ===== */
.my-tickets-section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.my-tickets-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.my-tickets-empty {
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, .3);
  color: #94a3b8;
  background: rgba(255, 255, 255, .03);
}

.ticket-card {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
}

.ticket-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ticket-card-head strong {
  display: block;
  color: #f1f6fc;
  font-size: 15px;
  font-weight: 800;
}

.ticket-card-head small {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.ticket-status {
  flex-shrink: 0;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.ticket-status-success {
  color: #6ee7a0;
  background: rgba(34, 197, 94, .14);
  border: 1px solid rgba(34, 197, 94, .35);
}

.ticket-status-warning {
  color: #fcd34d;
  background: rgba(245, 158, 11, .14);
  border: 1px solid rgba(245, 158, 11, .35);
}

.ticket-status-muted {
  color: #cbd5e1;
  background: rgba(148, 163, 184, .14);
  border: 1px solid rgba(148, 163, 184, .3);
}

body.panel-future .ticket-thread {
  max-height: none;
  margin-bottom: 12px;
}

body.panel-future .ticket-bubble {
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(255, 255, 255, .04);
}

body.panel-future .ticket-bubble p {
  color: #e5edf8;
}

body.panel-future .ticket-bubble-head strong {
  color: #f1f6fc;
}

body.panel-future .ticket-bubble-head span {
  color: #94a3b8;
}

body.panel-future .ticket-bubble-mine {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(56, 189, 248, .14), rgba(56, 189, 248, .06));
  border-color: rgba(56, 189, 248, .28);
}

body.panel-future .ticket-bubble-support {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(255, 122, 0, .16), rgba(255, 122, 0, .06));
  border-color: rgba(255, 178, 31, .32);
}

body.panel-future .ticket-bubble-support .ticket-bubble-head strong {
  color: #ffb347;
}

body.panel-future .ticket-reply-box label {
  color: #94a3b8;
}

body.panel-future .ticket-reply-box textarea {
  color: #f1f6fc;
  background: rgba(8, 13, 22, .65);
  border: 1px solid rgba(148, 163, 184, .25);
}

body.panel-future .ticket-reply-box textarea:focus {
  border-color: #ff7a00;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, .2);
}

.ticket-closed-note {
  margin: 0;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
}

.admin-detail-item small {
  display: block;
  margin-top: 6px;
  color: #667085;
  line-height: 1.45;
  font-weight: 800;
}

.admin-detail-item mark {
  width: fit-content;
  margin-top: 10px;
}

.admin-detail-item span {
  display: block;
  margin-bottom: 6px;
  color: #667085;
  font-size: 13px;
  font-weight: 900;
}

.admin-detail-item strong,
.admin-detail-item a,
.admin-detail-item pre {
  display: block;
  color: #111827;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-detail-item a {
  color: #005fb8;
}

.admin-detail-item pre {
  max-height: 180px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  font: 800 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.service-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.service-edit-form label.wide,
.service-edit-form .wide {
  grid-column: 1 / -1;
}

/* Hizmet duzenleme formu: her alan dikey (baslik ustte, input altta), TS select'leri tasmaz */
.service-edit-form > label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.service-edit-form > label input:not([type="checkbox"]),
.service-edit-form > label select,
.service-edit-form > label textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 400;
  background: #fff;
  color: #0f172a;
}

.service-edit-form > label select {
  text-overflow: ellipsis;
}

.service-edit-form .admin-advanced-block {
  grid-column: 1 / -1;
}

.customer-service-list {
  display: grid;
  gap: 10px;
}

.customer-products-shell {
  display: grid;
  gap: 16px;
}

.customer-products-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.customer-products-section-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.customer-products-count {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0 8px;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.customer-products-add {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.customer-products-toggle {
  justify-self: start;
}

.customer-products-add-body {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}

.customer-products-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.customer-products-form-grid .wide {
  grid-column: 1 / -1;
}

/* Form alanlari: her label dikey, baslik + input net ayrik */
.customer-products-form-grid > label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  min-width: 0;
}
.customer-products-form-grid > label.checkbox-row {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.customer-products-form-grid > label input:not([type="checkbox"]),
.customer-products-form-grid > label select,
.customer-products-form-grid > label textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 400;
  background: #fff;
  color: #0f172a;
}
.customer-products-form-grid > label.checkbox-row input {
  width: auto;
}
/* Ekleme formu alani: dar modalda da rahat genislik */
.customer-products-add-body {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.customer-products-form .admin-form-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}
.customer-products-form .admin-form-actions .primary-button {
  min-width: 160px;
}

.customer-service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "main badge" "endpoint endpoint" "actions actions";
  gap: 10px 12px;
  align-items: start;
  padding: 14px;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.customer-service-card-main {
  grid-area: main;
  display: grid;
  gap: 4px;
  min-width: 0;
}
.customer-service-card > .admin-badge {
  grid-area: badge;
  justify-self: end;
  white-space: nowrap;
}
.customer-service-card .customer-service-endpoint {
  grid-area: endpoint;
}
.customer-service-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.customer-service-card strong {
  font-size: 14px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.customer-service-meta,
.customer-service-endpoint {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.customer-service-card strong,
.customer-service-card a {
  overflow-wrap: anywhere;
}

.admin-advanced-block {
  padding: 10px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
}

.admin-advanced-block summary {
  cursor: pointer;
  font-weight: 800;
  color: #475569;
}

.empty-note {
  margin: 0;
  color: #667085;
  font-weight: 750;
  line-height: 1.55;
}

.checkbox-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-weight: 850;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  min-width: 250px;
  max-width: min(560px, calc(100vw - 32px));
  padding: 14px 18px;
  color: white;
  text-align: center;
  line-height: 1.45;
  overflow-wrap: anywhere;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, .98), rgba(112, 22, 17, .98)),
    #111113;
  border: 1px solid rgba(255, 178, 31, .38);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .36), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  opacity: 0;
  transform: translate(-50%, -16px);
  pointer-events: none;
  transition: .2s ease;
  z-index: 10050;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1180px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
    margin-top: 18px;
  }

  .nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .nav-link {
    justify-content: center;
  }

  .content-grid,
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    display: none;
  }
}

@media (max-width: 900px) {
  .main {
    padding: 18px;
  }

  .topbar,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }

  .ts-control-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .ts-control-actions button {
    flex: 1 1 120px;
  }

  .ts-collapsible-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .ts-command-center {
    padding: 18px;
  }

  .ts-command-actions a {
    min-height: 72px;
  }

  .metric-grid,
  .seo-grid,
  .package-grid,
  .ts-panel-status-bar {
    grid-template-columns: 1fr;
  }

  .ts-panel-nav {
    position: static;
  }

  .ts-panel-nav-toolbar {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .ts-manager-hero,
  .ts-command-center,
  .ts-manager-grid,
  .ts-admin-switcher,
  .ts-admin-port-grid,
  .ts-live-summary,
  .ts-command-health,
  .ts-command-actions,
  .ts-live-layout,
  .ts-split,
  .ts-action-grid,
  .ts-record-grid,
  .ts-backup-grid,
  .admin-quick-links,
  .split-section,
  .management-grid,
  .automation-grid,
  .workflow-grid,
  .pool-grid,
  .help-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel.wide {
    grid-column: auto;
  }

  .profile-form,
  .support-form-grid,
  .ts-form,
  .admin-inline-form,
  .admin-service-toolbar,
  .service-edit-form,
  .form-two-column,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .ts-settings-group {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .membership-card.wide {
    grid-column: auto;
  }

  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .customer-service-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

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

  .service-actions {
    justify-content: flex-start;
  }

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

  .hero-copy h2 {
    font-size: 30px;
  }

  .ts-client-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ts-client-tree {
    min-height: 440px;
    padding: 14px;
  }

  .ts-client-row {
    --indent: calc(var(--level, 0) * 20px);
  }

  .ts-client-actions {
    justify-content: flex-start;
    min-width: 60px;
  }

  .ts-client-actions button {
    width: 24px;
    height: 24px;
  }

  .ts-activity-row {
    min-width: 700px;
    grid-template-columns: 82px minmax(150px, 1.2fr) repeat(3, minmax(110px, .8fr)) 62px minmax(100px, .7fr);
  }
}

@media (max-width: 520px) {
  .sidebar,
  .main,
  .hero-panel,
  .section {
    padding: 14px;
  }

  .top-actions,
  .hero-actions,
  .tabs {
    width: 100%;
  }

  .top-actions {
    justify-content: flex-start;
  }

  .top-actions .customer-chip {
    flex: 1 1 100%;
  }

  .notification-dropdown {
    right: auto;
    left: 0;
    width: min(400px, calc(100vw - 28px));
  }

  .top-actions .ghost-link,
  .top-actions button,
  .hero-actions button,
  .tabs button {
    flex: 1 1 140px;
  }

  .membership-section {
    gap: 12px;
  }

  .mobile-account-shortcuts {
    position: sticky;
    top: 8px;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    background: rgba(9, 13, 20, .86);
    border: 1px solid rgba(255, 178, 31, .35);
    border-radius: 8px;
    backdrop-filter: blur(12px);
  }

  .mobile-account-shortcuts a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 950;
    text-align: center;
  }

  .membership-card {
    gap: 10px;
    padding: 16px;
  }

  .membership-card h3 {
    font-size: 18px;
    line-height: 1.25;
  }

  .membership-card p {
    font-size: 14px;
  }

  .profile-form {
    gap: 12px;
  }

  .profile-form label {
    gap: 6px;
    font-size: 14px;
  }

  .profile-form input,
  .profile-form textarea,
  .phone-control {
    min-height: 48px;
  }

  .profile-form button,
  .danger-zone .danger-button {
    width: 100%;
    min-height: 48px;
  }

  .login-modal {
    align-items: flex-start;
    place-items: start center;
    padding: 12px;
  }

  .login-card {
    gap: 12px;
    width: calc(100vw - 44px);
    max-width: 360px;
    max-height: calc(100dvh - 24px);
    padding: 18px;
  }

  .login-card label,
  .login-card input,
  .login-switch,
  .phone-control {
    min-width: 0;
    max-width: 100%;
  }

  .login-card img {
    width: 50px;
    height: 50px;
  }

  .login-card h2 {
    padding-right: 42px;
    font-size: 24px;
    line-height: 1.15;
  }

  .login-card label {
    font-size: 14px;
  }

  .form-two-column {
    gap: 10px;
  }

  .consent-row {
    font-size: 12px;
  }

  .login-card .primary-button,
  .login-card .ghost-button,
  .login-card .danger-button,
  .modal-action-row button {
    width: 100%;
    min-height: 48px;
  }

  .modal-action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .renew-options,
  .payment-actions {
    grid-template-columns: 1fr;
  }

  .ts-client-tree {
    max-height: 620px;
    padding: 12px;
  }

  .ts-client-row {
    grid-template-columns: 18px 24px minmax(110px, 1fr) minmax(70px, .65fr) auto;
    min-height: 34px;
    font-size: 13px;
    padding: 6px 8px;
  }

  .ts-manager-stats {
    grid-template-columns: 1fr;
  }

  .ts-manager-card {
    padding: 16px;
  }

  .ts-activity-row {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ts-activity-row.head {
    display: none;
  }

  .ts-channel-node {
    margin-left: 0;
  }

  .ts-channel-users {
    padding-left: 0;
  }
}

body[data-page="home"] {
  color: #f8fafc;
  background:
    linear-gradient(120deg, rgba(255, 122, 0, .2), transparent 34%),
    linear-gradient(290deg, rgba(66, 217, 255, .18), transparent 36%),
    #070707;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(7, 7, 7, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  min-width: 0;
  color: white;
  text-decoration: none;
}

.site-brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
}

.site-brand strong,
.site-brand small {
  display: block;
}

.site-brand strong {
  font-size: 20px;
  line-height: 1.05;
}

.site-brand small {
  margin-top: 4px;
  color: var(--orange-2);
  font-weight: 900;
}

.site-nav,
.site-actions,
.hero-proof,
.site-footer {
  display: flex;
  align-items: center;
}

.site-nav {
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.site-nav a {
  padding: 10px 12px;
  color: #d8dbe3;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
  white-space: nowrap;
}

.site-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, .08);
}

.site-nav a.active {
  color: white;
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 -2px 0 var(--orange);
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  color: white;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.site-actions,
.hero-actions {
  gap: 10px;
}

.site-actions {
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.site-actions .ghost-button,
.site-actions .ghost-link,
.site-actions .primary-link {
  min-height: 44px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #070707;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border: 0;
  border-radius: 8px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(255, 122, 0, .28);
}

.site-main {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.site-hero {
  position: relative;
  min-height: min(780px, calc(100vh - 92px));
  display: flex;
  align-items: center;
  margin: 18px 0 20px;
  padding: clamp(34px, 7vw, 90px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, .96), rgba(7, 7, 7, .82) 42%, rgba(7, 7, 7, .2)),
    radial-gradient(circle at 82% 44%, rgba(255, 122, 0, .28), transparent 28%),
    radial-gradient(circle at 76% 58%, rgba(66, 217, 255, .28), transparent 30%),
    #0b0b0f;
  box-shadow: var(--shadow);
}

.site-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(28px, 7vw, 100px);
  width: min(455px, 38vw);
  aspect-ratio: 1;
  background: url("assets/gardas-icon.png") center / contain no-repeat;
  opacity: .98;
  filter:
    saturate(1.42)
    contrast(1.16)
    brightness(1.12)
    drop-shadow(0 0 34px rgba(255, 122, 0, .35))
    drop-shadow(0 0 38px rgba(66, 217, 255, .22));
  transform: translateY(-50%);
  pointer-events: none;
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 7, .78));
  pointer-events: none;
  z-index: 0;
}

.site-hero-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
  width: min(580px, 100%);
}

.site-hero h1 {
  overflow-wrap: break-word;
  max-width: 580px;
  margin: 0;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.03;
}

.site-hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  color: #d9dee9;
  font-size: 16px;
  line-height: 1.72;
}

.hero-description {
  overflow-wrap: break-word;
  white-space: pre-line;
  padding: 14px 0 0;
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 10px 14px;
  color: #dce3ee;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  font-weight: 850;
}

.hero-proof > span strong {
  color: white;
}

@media (min-width: 981px) and (max-width: 1240px) {
  .site-hero-copy {
    width: min(540px, 100%);
  }

  .site-hero h1 {
    max-width: 540px;
    font-size: clamp(30px, 4.1vw, 46px);
  }

  .site-hero-copy > p:not(.eyebrow) {
    max-width: 535px;
    font-size: 15px;
    line-height: 1.66;
  }

  .site-hero::before {
    right: clamp(22px, 4vw, 52px);
    width: min(390px, 34vw);
  }
}

.public-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.site-announcement {
  margin: 0 0 18px;
  padding: 14px 18px;
  color: #08080a;
  background: linear-gradient(135deg, var(--orange-2), var(--cyan));
  border-radius: 8px;
  font-weight: 950;
}

.public-strip article,
.public-card-grid article {
  padding: 20px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #d9dde7;
  border-radius: 8px;
  color: var(--ink);
}

.public-strip span,
.step {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: #08080a;
  background: linear-gradient(135deg, var(--orange-2), var(--cyan));
  border-radius: 8px;
  font-weight: 950;
}

.public-strip strong,
.public-card-grid strong {
  display: block;
  color: #08080a;
  font-size: 18px;
}

.public-strip p,
.public-card-grid span {
  color: #596173;
  line-height: 1.6;
}

.public-section {
  margin: 18px 0;
}

.public-section,
.site-product-section,
.public-strip {
  scroll-margin-top: 112px;
}

.public-package-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

.site-product-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: stretch;
  margin: 18px 0;
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, .95);
  border: 1px solid #d9dde7;
  border-radius: 8px;
}

.site-product-section.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, .9fr);
}

.site-product-section.reverse > div:first-child {
  order: 2;
}

.site-product-section h2 {
  margin: 0;
  color: #08080a;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.site-product-section p {
  color: #566073;
  line-height: 1.7;
}

.public-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.musicbot-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bot-offer-card {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .98), rgba(244, 247, 252, .94)),
    #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bot-offer-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -44px auto;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(255, 122, 0, .2), transparent 66%);
  pointer-events: none;
}

.bot-offer-card:hover {
  border-color: rgba(255, 122, 0, .5);
  box-shadow: 0 20px 40px rgba(15, 23, 42, .12);
  transform: translateY(-3px);
}

.bot-offer-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
}

.bot-offer-top span,
.bot-offer-top em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  color: #070707;
  background: linear-gradient(135deg, var(--orange-2), var(--cyan));
  border-radius: 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.bot-offer-top span {
  min-width: 38px;
}

.bot-offer-card strong {
  display: block;
  position: relative;
  z-index: 1;
  margin: 0;
  color: #0b0b0f;
  font-size: 22px;
  line-height: 1.1;
}

.bot-offer-card > span {
  position: relative;
  z-index: 1;
}

.trust-section {
  display: grid;
  gap: 18px;
  margin: 20px 0;
  padding: clamp(22px, 3vw, 30px);
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(7, 22, 39, .96), rgba(87, 27, 12, .92) 58%, rgba(9, 13, 20, .96)),
    #090d14;
  border: 1px solid rgba(255, 122, 0, .32);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .22);
}

.compact-head {
  margin: 0;
}

.trust-section h2,
.trust-section h3,
.trust-section p {
  margin: 0;
}

.trust-section h2 {
  max-width: 740px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.14;
}

.trust-section p {
  color: rgba(245, 247, 251, .78);
  line-height: 1.68;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid article {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 20px;
  color: #101624;
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(245, 248, 252, .94));
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .16);
}

.trust-grid h3 {
  color: #0b1020;
  font-size: 20px;
}

.trust-grid p {
  color: #566073;
}

.infrastructure-section {
  grid-template-columns: minmax(0, 760px);
}

.site-footer {
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: min(1220px, calc(100% - 36px));
  margin: 18px auto 28px;
  padding: 22px;
  color: #d8dbe3;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
}

.footer-brand-copy {
  display: grid;
  gap: 6px;
  max-width: 300px;
}

.site-footer span {
  color: white;
  font-weight: 950;
}

.footer-link-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr));
  gap: 20px;
  min-width: min(100%, 560px);
}

.footer-link-columns nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-link-columns strong {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

.footer-brand-copy a,
.footer-link-columns a {
  color: #d8dbe3;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.footer-link-columns a:hover {
  color: white;
}

.contact-section {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 122, 0, .2), transparent 32%),
    radial-gradient(circle at 92% 0%, rgba(66, 217, 255, .18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(246, 248, 252, .94));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 278px;
  padding: 20px;
  color: #0b0f19;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .96), rgba(245, 248, 252, .92)),
    #fff;
  border: 1px solid #dbe2ee;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .08);
}

.contact-card-highlight {
  border-color: rgba(35, 196, 110, .36);
  box-shadow: 0 22px 48px rgba(35, 196, 110, .12);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #070707;
  background: linear-gradient(135deg, var(--orange-2), var(--cyan));
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
}

.contact-card h3,
.contact-card p {
  margin: 0;
}

.contact-card p,
.contact-card small {
  color: #596276;
  line-height: 1.65;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.contact-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  background: rgba(241, 245, 249, .9);
  border: 1px solid #dce3ee;
  border-radius: 8px;
}

.contact-list dt {
  color: #687080;
  font-weight: 900;
}

.contact-list dd {
  margin: 0;
  color: #0b0f19;
  font-weight: 950;
  text-align: right;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: white;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 950;
}

.floating-whatsapp {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 75;
  /* Varsayilan GIZLI: yalnizca kimligi dogrulanmis kullanicida gosterilir.
     Boylece giris yapmamis ziyaretcilerde (JS yuklenmese/calismamis olsa bile)
     buton HIC gorunmez. Gorunurluk html[data-session="known"] ile acilir. */
  display: none;
  place-items: center;
  width: 66px;
  height: 66px;
  min-width: 66px;
  min-height: 66px;
  max-width: 66px;
  max-height: 66px;
  padding: 0;
  color: white;
  background: #25d366;
  border: 4px solid #25d366;
  border-radius: 50%;
  overflow: visible;
  isolation: isolate;
  font-size: 0;
  line-height: 0;
  box-shadow:
    0 18px 42px rgba(37, 211, 102, .38),
    0 0 0 9px rgba(37, 211, 102, .34);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* Yalnizca kimligi dogrulanmis (giris yapmis) kullanicida butonu goster. */
html[data-session="known"] .floating-whatsapp {
  display: grid;
}

.floating-whatsapp::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(37, 211, 102, .72);
  border-radius: inherit;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .16);
  animation: whatsappPulse 2.4s ease-out infinite;
}

.floating-whatsapp svg {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .22));
}

.floating-whatsapp svg path {
  fill: #fff;
}

.floating-whatsapp:hover {
  filter: saturate(1.08) brightness(1.06);
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 24px 52px rgba(37, 211, 102, .46),
    0 0 0 12px rgba(37, 211, 102, .28);
}

@keyframes whatsappPulse {
  0% {
    opacity: .72;
    transform: scale(.82);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.seo-landing {
  width: min(1220px, calc(100% - 36px));
  margin: 18px auto 0;
  padding-bottom: 88px;
}

body[data-page="home"]:has(.seo-landing) .seo-panel,
body[data-page="home"]:has(.seo-landing) .seo-feature-showcase,
body[data-page="home"]:has(.seo-landing) .seo-keywords,
body[data-page="home"]:has(.seo-landing) .seo-keyword-support {
  color: #0f172a;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  min-height: 460px;
  padding: clamp(30px, 5vw, 54px);
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 145, 255, .28), transparent 35%),
    radial-gradient(circle at 86% 16%, rgba(255, 178, 31, .26), transparent 30%),
    linear-gradient(135deg, rgba(6, 10, 20, .97), rgba(45, 16, 10, .94) 52%, rgba(7, 24, 41, .94)),
    #090b10;
  border: 1px solid rgba(255, 122, 0, .38);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.seo-hero h1 {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.seo-hero p {
  max-width: 720px;
  color: #e6e9f1;
  font-size: 17px;
  line-height: 1.7;
}

.seo-hero img {
  width: min(320px, 100%);
  aspect-ratio: 1;
  padding: 8px;
  justify-self: center;
  object-fit: contain;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  box-shadow: 0 24px 60px rgba(255, 122, 0, .18), 0 0 0 10px rgba(255, 255, 255, .04);
  filter: saturate(1.08) contrast(1.04);
}

.seo-keywords,
.seo-panel,
.seo-keyword-support {
  margin-top: 18px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  border: 1px solid #d9dde7;
  border-radius: 8px;
}

.seo-keywords {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.seo-keywords a,
.seo-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: #0b0f19;
  background: #f2f4f8;
  border: 1px solid #dfe3eb;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.seo-panel {
  display: grid;
  gap: 18px;
}

.seo-panel h1,
.seo-panel h2,
.seo-panel h3,
.seo-keyword-support h1,
.seo-keyword-support h2,
.seo-feature-showcase h1 {
  color: #08080a;
  text-shadow: none;
}

.seo-panel h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.12;
}

.seo-panel .eyebrow,
.seo-keyword-support .eyebrow {
  color: #c2410c;
  text-shadow: none;
}

.seo-panel p,
.seo-panel li,
.seo-keyword-support p {
  color: #566073;
  line-height: 1.7;
}

.seo-longform {
  gap: 14px;
}

.seo-longform h2,
.seo-longform p {
  max-width: 980px;
}

.seo-feature-showcase {
  display: grid;
  gap: 22px;
  margin-top: 18px;
  padding: 28px;
  color: #0f172a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .99), rgba(248, 250, 252, .98));
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.seo-feature-showcase h2 {
  color: #0f172a;
  text-shadow: none;
}

.seo-feature-showcase .seo-section-copy p:not(.eyebrow) {
  color: #475569;
}

.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-feature-grid article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  min-width: 0;
  min-height: 158px;
  padding: 20px;
  color: #101624;
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(245, 248, 252, .96));
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.seo-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #22c55e 48%, #38bdf8);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(255, 122, 0, .24);
}

.seo-feature-icon svg {
  width: 30px;
  height: 30px;
}

.seo-feature-grid h3 {
  margin: 0 0 10px;
  color: #08080a;
  font-size: 18px;
}

.seo-feature-grid p {
  margin: 0;
  color: #566073;
  line-height: 1.62;
}

.seo-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-panel-grid article {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e0e4ec;
  border-radius: 8px;
}

.seo-hub-page {
  display: grid;
  gap: 18px;
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #d7dce6;
  font-weight: 800;
}

.seo-breadcrumb a,
.seo-breadcrumb strong,
.seo-breadcrumb span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: inherit;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  text-decoration: none;
}

.seo-breadcrumb strong {
  color: #0b0f19;
  background: linear-gradient(135deg, var(--orange-2), #ffe08a);
  border-color: rgba(255, 178, 31, .85);
}

.seo-hub-hero {
  margin-top: 0;
  min-height: 520px;
}

.seo-hub-hero .hero-actions {
  margin-top: 20px;
}

.seo-hub-intro,
.seo-comparison,
.seo-query-grid,
.seo-english-block,
.seo-faq {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(244, 248, 252, .96));
}

.seo-hub-points,
.seo-hub-link-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.seo-hub-points article,
.seo-hub-link-groups article {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #e0e4ec;
  border-radius: 8px;
}

.seo-hub-points strong,
.seo-hub-link-groups h3 {
  color: #08080a;
}

.seo-hub-points span {
  color: #566073;
  line-height: 1.65;
}

.seo-section-copy {
  max-width: 860px;
}

.seo-comparison-table {
  display: grid;
  overflow: hidden;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  background: #fff;
}

.seo-comparison-table > div {
  display: grid;
  grid-template-columns: .8fr 1fr 1.25fr;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e8ebf1;
}

.seo-comparison-table > div:first-child {
  color: #08080a;
  background: #f2f4f8;
}

.seo-comparison-table > div:last-child {
  border-bottom: 0;
}

.seo-comparison-table span {
  color: #566073;
  line-height: 1.55;
}

.seo-hub-link-groups {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-hub-link-groups a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: #0b0f19;
  background: #f2f4f8;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.seo-english-block {
  border-color: rgba(255, 122, 0, .45);
}

.seo-faq details {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e0e4ec;
  border-radius: 8px;
}

.seo-faq details + details {
  margin-top: 10px;
}

.seo-faq summary {
  color: #08080a;
  cursor: pointer;
  font-weight: 900;
}

.seo-faq summary::marker {
  color: var(--orange);
}

.seo-faq p {
  margin: 10px 0 0;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  border: 0;
}

.login-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(440px, 100%);
  min-width: 0;
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 24px;
  color: var(--ink);
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-card img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
}

.login-card h2 {
  margin: 0;
  overflow-wrap: anywhere;
}

.login-card label {
  display: grid;
  gap: 7px;
  color: #3f4654;
  font-weight: 900;
}

.form-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.login-card input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  font-size: 16px;
  padding: 0 12px;
  border: 1px solid #d4dae5;
  border-radius: 8px;
}

.form-alert {
  padding: 12px 14px;
  color: #991b1b;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.form-alert.success {
  color: #166534;
  background: #ecfdf5;
  border-color: #bbf7d0;
  border-left-color: var(--green);
}

.remember-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #111827 !important;
}

.remember-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--orange);
}

.consent-row {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px !important;
  align-items: start;
  color: #374151 !important;
  font-size: 13px;
  font-weight: 800 !important;
  line-height: 1.45;
}

.consent-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--orange);
}

.consent-row a {
  color: #0f5ca8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.login-switch {
  display: grid;
  gap: 8px;
  padding-top: 2px;
  text-align: center;
}

.login-switch span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}

.login-switch .ghost-button {
  width: 100%;
  color: #111827;
  background: #f2f4f8;
  border-color: #d8dde8;
}

.login-card small {
  color: #6b7280;
  line-height: 1.5;
}

.modal-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.delete-account-card {
  width: min(520px, 100%);
}

.location-card {
  width: min(560px, 100%);
}

.location-package-name {
  margin: 0;
  color: #5f6673;
  font-weight: 850;
}

.location-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.location-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px;
  color: #111827;
  background:
    linear-gradient(135deg, rgba(255, 178, 31, .18), rgba(66, 217, 255, .18)),
    #f8fafc;
  border: 1px solid #d7dce5;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.location-option:hover {
  border-color: rgba(255, 122, 0, .6);
  box-shadow: 0 14px 26px rgba(15, 23, 42, .12);
  transform: translateY(-2px);
}

.location-option .mini-flag {
  width: 30px;
  height: 30px;
}

.location-info {
  padding: 14px 16px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #d7dce5;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.55;
}

/* Brand-fire outer panels: marketing / ana sayfa vitrinleri (panel içi değil). */
.public-section,
.site-product-section,
.public-strip {
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 145, 255, .32), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(255, 178, 31, .24), transparent 30%),
    radial-gradient(circle at 54% 36%, rgba(255, 61, 18, .28), transparent 38%),
    linear-gradient(135deg, rgba(6, 10, 20, .96), rgba(48, 12, 9, .92) 48%, rgba(7, 24, 41, .94)),
    #090b10;
  border-color: rgba(255, 122, 0, .38);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #f8fafc;
  backdrop-filter: blur(16px);
}

.public-section > .section-head h2,
.package-vitrin > .section-head h2,
.site-product-section > .section-head h2,
.site-product-section > div > h2:first-child {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .38);
}

.public-section > .section-head p:not(.eyebrow),
.package-vitrin > .section-head p:not(.eyebrow),
.public-section > .tabs,
.package-vitrin > .section-head .tabs,
.site-product-section > div > p:not(.eyebrow),
.site-product-section > .section-head p:not(.eyebrow) {
  color: rgba(241, 245, 249, .82);
}

.package-vitrin > .section-head .eyebrow {
  color: #ff7a00;
}

/* Ana sayfa paket alanı (package-vitrin.css dışındaki eski alanlar) */
body[data-page="home"] .public-section:not(.package-vitrin) .package-card,
body[data-page="home"] .public-section:not(.package-vitrin) .order-panel {
  color: #0f172a;
}

body[data-page="home"] .public-section:not(.package-vitrin) .package-card :is(h3, p, span, small, strong, li, dt, dd, .features, .ts-spec-row, .ts-spec-label, .price, .price-money, .price-period, .quote-price),
body[data-page="home"] .public-section:not(.package-vitrin) .order-panel :is(h3, p, span, dt, dd, .summary-copy, .price, .price-money, .price-period) {
  color: inherit;
}

body[data-page="home"] .public-section:not(.package-vitrin) .package-card .ts-spec-row,
body[data-page="home"] .public-section:not(.package-vitrin) .package-card .ts-spec-label {
  color: #344054;
}

body[data-page="home"] .public-section:not(.package-vitrin) .package-card .ts-spec-row strong {
  color: #0b0f19;
}

body[data-page="home"] .public-section:not(.package-vitrin) .order-panel dt {
  color: #64748b;
}

body[data-page="home"] .public-section:not(.package-vitrin) .order-panel dd {
  color: #0f172a;
}

body[data-page="home"] .public-section .tabs .tab {
  color: #334155;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

body[data-page="home"] .public-section .tabs .tab.active {
  color: #0f172a;
  background: var(--orange-2);
  border-color: #f59e0b;
}

body[data-page="home"] .public-section > .section-head .ghost-button,
body[data-page="home"] .public-section > .section-head .ghost-link {
  color: #f8fafc;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
}

body[data-page="home"] .public-section:not(.package-vitrin) .package-card button {
  color: #0f172a;
  background: linear-gradient(180deg, #dce4ee 0%, #c5d0de 100%);
  border-color: #7b8ba3;
}

body[data-page="home"] .public-section:not(.package-vitrin) .package-card button.active {
  color: #fff;
  background: linear-gradient(135deg, #ff7a00, #ffb21f);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(255, 122, 0, .32);
}

/* Müşteri paneli paket alanı (package-vitrin.css dışındaki eski alanlar) */
body[data-page="panel"] .package-section:not(.package-vitrin) .package-card,
body[data-page="panel"] .package-section:not(.package-vitrin) .order-panel {
  color: #0f172a;
}

body[data-page="panel"] .package-section:not(.package-vitrin) .package-card :is(h3, p, span, small, strong, li, dt, dd, .features, .ts-spec-row, .ts-spec-label, .price, .price-money, .price-period, .quote-price),
body[data-page="panel"] .package-section:not(.package-vitrin) .order-panel :is(h3, p, span, dt, dd, .summary-copy, .price, .price-money, .price-period) {
  color: inherit;
}

body[data-page="panel"] .package-section:not(.package-vitrin) .package-card .ts-spec-row,
body[data-page="panel"] .package-section:not(.package-vitrin) .package-card .ts-spec-label {
  color: #344054;
}

body[data-page="panel"] .package-section:not(.package-vitrin) .package-card .ts-spec-row strong {
  color: #0b0f19;
}

body[data-page="panel"] .package-section:not(.package-vitrin) .order-panel dt {
  color: #64748b;
}

body[data-page="panel"] .package-section:not(.package-vitrin) .order-panel dd {
  color: #0f172a;
}

.public-section .eyebrow,
.site-product-section .eyebrow {
  color: #ffb21f;
  text-shadow: 0 1px 12px rgba(255, 122, 0, .28);
}

.ts-manager-card {
  color: #111827;
}

.ts-manager-card .section-head h2,
.ts-manager-card h2,
.ts-manager-card h3,
.ts-manager-card label {
  color: #111827;
  text-shadow: none;
}

.ts-manager-card p:not(.eyebrow):not(.ts-backup-warning),
.ts-manager-card .ts-card-note,
.ts-manager-card .ts-selected-card span,
.ts-manager-card .ts-backup-card p:not(.ts-backup-warning),
.ts-manager-card .ts-backup-status small {
  color: #4b5563;
  text-shadow: none;
}

.ts-manager-card .eyebrow {
  color: #f59e0b;
  text-shadow: none;
}

.ts-manager-card .ghost-button,
.ts-manager-card .section-head .ghost-button,
.ts-manager-card .ts-row-actions button {
  color: #111827;
  background: #eef2f7;
  border-color: #d5dde8;
  text-shadow: none;
}

.ts-manager-card .danger-button {
  color: #111827;
}

.ts-super-admin-panel,
.ts-super-admin-panel .section-head h2,
.ts-super-admin-panel h2,
.ts-super-admin-panel label {
  color: #f8fafc;
  text-shadow: none;
}

.ts-super-admin-panel .eyebrow {
  color: #ffb21f;
}

body[data-page="ts-panel"] section.ts-manager-card.ts-super-admin-panel > .section-head h2,
body[data-page="ts-panel"] section.ts-manager-card.ts-super-admin-panel h2 {
  color: #f8fafc;
  text-shadow: none;
}

section.ts-manager-card .ts-settings-group label,
section.ts-manager-card .ts-selector-panel label,
section.ts-manager-card .ts-action-grid article label,
section.ts-manager-card .ts-backup-card label {
  color: #374151;
  text-shadow: none;
}

.package-section:not(.package-vitrin) .package-card,
.public-section:not(.package-vitrin) .package-card,
.public-card-grid article,
.workflow-grid article,
.bot-offer-card,
.service,
.seo-grid article,
.management-card,
.automation-grid article,
.pool-grid article,
.help-card {
  background:
    linear-gradient(145deg, rgba(238, 249, 255, .74), rgba(213, 239, 255, .52) 54%, rgba(255, 255, 255, .30)),
    rgba(219, 242, 255, .46);
  border-color: rgba(66, 217, 255, .32);
  box-shadow: 0 16px 34px rgba(18, 88, 135, .12);
  backdrop-filter: blur(14px);
}

.package-section:not(.package-vitrin) .package-card.featured,
.public-section:not(.package-vitrin) .package-card.featured {
  border-color: rgba(255, 122, 0, .6);
  box-shadow: 0 18px 42px rgba(255, 122, 0, .14), 0 16px 34px rgba(18, 88, 135, .12);
}

/* Keep the blue glass on outer panels only; inner cards stay clean. */
.package-section:not(.package-vitrin) .package-card,
.public-section:not(.package-vitrin) .package-card,
.package-section:not(.package-vitrin) .order-panel,
.public-section:not(.package-vitrin) .order-panel,
.public-card-grid article,
.workflow-grid article,
.bot-offer-card,
.service,
.seo-grid article,
.management-card,
.automation-grid article,
.pool-grid article,
.help-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(246, 248, 252, .94)),
    #fff;
  border-color: #e0e4ec;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
  backdrop-filter: none;
}

.package-section:not(.package-vitrin) .package-card,
.public-section:not(.package-vitrin) .package-card,
.package-section:not(.package-vitrin) .order-panel,
.public-section:not(.package-vitrin) .order-panel,
.public-card-grid article,
.workflow-grid article,
.workflow-card,
.bot-offer-card,
.service,
.seo-grid article,
.management-card,
.automation-grid article,
.pool-grid article,
.help-card,
.admin-panel,
.metric {
  color: #111827;
  text-shadow: none;
}

.package-section:not(.package-vitrin) .package-card h3,
.public-section:not(.package-vitrin) .package-card h3,
.package-section:not(.package-vitrin) .order-panel h3,
.public-section:not(.package-vitrin) .order-panel h3,
.public-card-grid article h3,
.workflow-grid article h3,
.workflow-card h3,
.bot-offer-card h3,
.service h3,
.seo-grid article h3,
.management-card h3,
.automation-grid article h3,
.pool-grid article h3,
.help-card h3,
.admin-panel h3,
.metric h3 {
  color: #111827;
  text-shadow: none;
}

.package-section:not(.package-vitrin) .package-card p,
.public-section:not(.package-vitrin) .package-card p,
.package-section:not(.package-vitrin) .order-panel p,
.public-section:not(.package-vitrin) .order-panel p,
.public-card-grid article p,
.workflow-grid article p,
.workflow-card p,
.bot-offer-card p,
.service p,
.seo-grid article p,
.management-card p,
.automation-grid article p,
.pool-grid article p,
.help-card p,
.admin-panel p {
  color: #4b5563;
  text-shadow: none;
}

.package-section:not(.package-vitrin) .package-card small,
.public-section:not(.package-vitrin) .package-card small,
.package-section:not(.package-vitrin) .order-panel small,
.public-section:not(.package-vitrin) .order-panel small,
.public-card-grid article small,
.workflow-grid article small,
.workflow-card small,
.bot-offer-card small,
.service small,
.seo-grid article small,
.management-card small,
.automation-grid article small,
.pool-grid article small,
.help-card small,
.admin-panel small,
.metric small {
  color: #667085;
  text-shadow: none;
}

.package-section:not(.package-vitrin) .package-card.featured,
.public-section:not(.package-vitrin) .package-card.featured {
  border-color: rgba(255, 122, 0, .65);
  box-shadow: 0 18px 40px rgba(255, 122, 0, .16);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  line-height: 1;
  font-size: 20px;
  color: #111827;
  background: #f2f4f8;
  border: 1px solid #d8dde8;
  border-radius: 8px;
}

.modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex: none;
    justify-content: flex-start;
    width: 100%;
  }

  .seo-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: clamp(24px, 4vw, 36px);
  }

  .seo-hero img {
    width: min(260px, 70vw);
    justify-self: center;
  }

  .seo-hub-points,
  .seo-hub-link-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(7, 7, 7, .96), rgba(7, 7, 7, .72)),
      #0b0b0f;
  }

  .site-hero-copy {
    order: 1;
    width: 100%;
    max-width: 100%;
  }

  .site-hero::before {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    order: 2;
    flex: 0 0 auto;
    display: block;
    width: min(280px, 68vw);
    margin: 28px auto 0;
    transform: none;
  }

  .hero-proof {
    margin-top: 20px;
    margin-bottom: 4px;
  }

  .hero-proof span {
    display: flex;
    align-items: center;
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .public-strip,
  .public-package-layout,
  .site-product-section,
  .site-product-section.reverse,
  .public-card-grid,
  .musicbot-card-grid,
  .contact-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .site-product-section.reverse > div:first-child {
    order: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 16px;
    padding: 16px 18px;
  }

  .site-brand img {
    width: 50px;
    height: 50px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 6px;
    font-size: 14px;
    text-align: center;
    white-space: normal;
  }

  .site-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .footer-link-columns {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .trust-section {
    padding: 20px 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .site-actions .ghost-button,
  .site-actions .primary-link,
  .hero-actions .ghost-button,
  .hero-actions .primary-link,
  .hero-actions .primary-button,
  .hero-actions button {
    width: 100%;
    flex: 0 0 auto;
    min-height: 46px;
  }

  .seo-landing {
    width: calc(100% - 28px);
  }

  .seo-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 18px;
  }

  .seo-hero h1 {
    font-size: 34px;
  }

  .seo-hero img {
    width: min(240px, 72vw);
    max-width: 100%;
  }

  .seo-breadcrumb {
    gap: 6px;
  }

  .seo-breadcrumb a,
  .seo-breadcrumb strong,
  .seo-breadcrumb span {
    min-height: 32px;
    font-size: 13px;
  }

  .seo-hub-hero {
    min-height: auto;
  }

  .seo-hub-points,
  .seo-hub-link-groups,
  .seo-feature-grid,
  .seo-panel-grid {
    grid-template-columns: 1fr;
  }

  .seo-feature-showcase {
    padding: 22px 16px;
  }

  .seo-feature-grid article {
    grid-template-columns: 46px 1fr;
    min-height: 0;
    padding: 16px;
  }

  .seo-feature-icon {
    width: 46px;
    height: 46px;
  }

  .seo-feature-icon svg {
    width: 26px;
    height: 26px;
  }

  .seo-comparison-table {
    display: grid;
    gap: 10px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .seo-comparison-table > div[role="row"]:first-child {
    display: none;
  }

  .seo-comparison-table > div {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #fff;
  }

  .seo-comparison-table > div:last-child {
    border-bottom: 1px solid #dbe3ee;
  }

  .seo-comparison-table > div span {
    display: block;
    padding: 5px 0;
    border-bottom: 1px solid #eef2f7;
  }

  .seo-comparison-table > div span:last-child {
    border-bottom: 0;
  }

  .seo-comparison-table > div span:first-child {
    color: #0f172a;
    font-weight: 800;
  }

  .seo-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .seo-hero .hero-actions .ghost-link,
  .seo-hero .hero-actions .primary-link {
    width: 100%;
    justify-content: center;
  }

  .site-actions {
    flex-wrap: wrap;
    justify-content: stretch;
    width: 100%;
  }

  .site-actions .ghost-link,
  .site-actions .primary-link {
    flex: 1 1 160px;
    justify-content: center;
  }

  .site-hero {
    width: 100%;
    padding: 28px 18px 32px;
  }

  .site-hero-copy,
  .site-hero-copy > p:not(.eyebrow),
  .hero-description {
    max-width: 100%;
    width: 100%;
  }

  .site-hero h1 {
    max-width: 100%;
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  .site-hero::before {
    width: min(240px, 62vw);
    margin-top: 24px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .hero-proof span {
    display: flex;
    align-items: center;
    flex: none;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.25;
  }

  .hero-proof span:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  body[data-page="home"] .public-section {
    padding: 16px 14px;
  }

  body[data-page="home"] .public-section > .section-head h2 {
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
  }

  body[data-page="home"] .public-section > .section-head p:not(.eyebrow) {
    color: rgba(241, 245, 249, .9);
  }

  body[data-page="home"] .public-section .tabs {
    justify-content: flex-start;
    width: 100%;
  }

  body[data-page="home"] .public-section .tabs .tab {
    flex: 1 1 calc(50% - 4px);
    min-height: 40px;
    font-size: 13px;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }

  body[data-page="home"] .public-section .package-card,
  body[data-page="home"] .public-section .order-panel {
    padding: 16px;
  }

  body[data-page="home"] .public-section .package-card button,
  body[data-page="home"] .public-section .order-panel .primary-button {
    width: 100%;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    border-width: 3px;
  }

  .floating-whatsapp svg {
    width: 32px;
    height: 32px;
  }
}

[hidden],
[data-auth-only][hidden],
[data-auth-role][hidden] {
  display: none !important;
}

[data-guest-only],
[data-auth-only],
[data-auth-role],
html[data-session="guest"] [data-auth-only],
html[data-session="guest"] [data-auth-role] {
  display: none !important;
}

html[data-session="checking"] [data-guest-only],
html[data-session="checking"] [data-auth-only],
html[data-session="checking"] [data-auth-role] {
  display: none !important;
}

html[data-session="guest"] [data-guest-only]:not([hidden]),
html[data-session="known"] [data-auth-only]:not([data-auth-role]):not([hidden]) {
  display: inline-flex !important;
}

html[data-session="known"] [data-guest-only] {
  display: none !important;
}

html[data-session="known"][data-role="admin"] [data-auth-role="customer"],
html[data-session="known"][data-role="customer"] [data-auth-role="admin"] {
  display: none !important;
}

html[data-session="known"][data-role="admin"] [data-auth-role="admin"]:not([hidden]),
html[data-session="known"][data-role="customer"] [data-auth-role="customer"]:not([hidden]) {
  display: inline-flex !important;
}

html[data-page-transition="leaving"] body {
  opacity: 0 !important;
  transition: none !important;
}

/* Admin mobile layout */
@media (max-width: 900px) {
  .admin-shell {
    padding: 16px;
  }

  .admin-main {
    width: 100%;
    max-width: 100%;
  }

  .admin-panel-nav {
    position: static;
  }

  .admin-hero {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 18px;
  }

  .admin-hero img {
    width: 58px;
    height: 58px;
    justify-self: start;
  }

  .admin-title h1 {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.08;
  }

  .admin-title-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .admin-title-actions .admin-back,
  .admin-title-actions .admin-logout {
    width: 100%;
    justify-content: center;
  }

  .admin-metrics,
  .admin-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .section-head .ghost-button,
  .panel-title-row .ghost-button,
  .panel-title-row .primary-button,
  #refreshAdminButton,
  #refreshInvoicesButton,
  #refreshJobsButton,
  #refreshTicketsButton,
  #refreshAnalyticsButton {
    width: 100%;
    justify-content: center;
  }

  .admin-panel {
    min-width: 0;
  }

  .admin-panel > p {
    font-size: 14px;
  }

  .admin-inline-form,
  .admin-service-toolbar,
  .service-edit-form {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    overflow-x: visible;
  }

  .admin-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table tr {
    margin: 0 0 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(16, 16, 20, 0.06);
  }

  .admin-table td {
    display: grid;
    grid-template-columns: minmax(96px, 0.36fr) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 9px 0;
    border-bottom: 1px solid #eef1f6;
    overflow-wrap: anywhere;
  }

  .admin-table td:last-child {
    border-bottom: 0;
  }

  .admin-table td::before {
    color: #687080;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.35;
  }

  .admin-table td[colspan] {
    display: block;
  }

  .admin-table td[colspan]::before {
    display: none;
  }

  #adminCustomerRows td:nth-child(1)::before {
    content: "Müşteri";
  }

  #adminCustomerRows td:nth-child(2)::before {
    content: "İletişim";
  }

  #adminCustomerRows td:nth-child(3)::before {
    content: "Üyelik";
  }

  #adminCustomerRows td:nth-child(4)::before {
    content: "Ürün";
  }

  #adminCustomerRows td:nth-child(5)::before {
    content: "Fatura / Destek";
  }

  #adminCustomerRows td:nth-child(6)::before {
    content: "İşlem";
  }

  #adminServiceRows td:nth-child(1)::before {
    content: "Müşteri";
  }

  #adminServiceRows td:nth-child(2)::before {
    content: "Ürün";
  }

  #adminServiceRows td:nth-child(3)::before {
    content: "Tip / Panel";
  }

  #adminServiceRows td:nth-child(4)::before {
    content: "Bitiş";
  }

  #adminServiceRows td:nth-child(5)::before {
    content: "Durum";
  }

  #adminServiceRows td:nth-child(6)::before {
    content: "İşlem";
  }

  #adminInvoiceRows td:nth-child(1)::before {
    content: "Zaman";
  }

  #adminInvoiceRows td:nth-child(2)::before {
    content: "Müşteri";
  }

  #adminInvoiceRows td:nth-child(3)::before {
    content: "Fatura / Paket";
  }

  #adminInvoiceRows td:nth-child(4)::before {
    content: "Tutar";
  }

  #adminInvoiceRows td:nth-child(5)::before {
    content: "İşlem";
  }

  #adminJobRows td:nth-child(1)::before {
    content: "Zaman";
  }

  #adminJobRows td:nth-child(2)::before {
    content: "Müşteri";
  }

  #adminJobRows td:nth-child(3)::before {
    content: "Paket";
  }

  #adminJobRows td:nth-child(4)::before {
    content: "Durum / Sonuç";
  }

  #adminJobRows td:nth-child(5)::before {
    content: "İşlem";
  }

  #adminTicketRows td:nth-child(1)::before {
    content: "Zaman";
  }

  #adminTicketRows td:nth-child(2)::before {
    content: "Müşteri";
  }

  #adminTicketRows td:nth-child(3)::before {
    content: "Konu";
  }

  #adminTicketRows td:nth-child(4)::before {
    content: "Hizmet / Departman";
  }

  #adminTicketRows td:nth-child(5)::before {
    content: "Durum";
  }

  #adminTicketRows td:nth-child(6)::before {
    content: "İşlem";
  }

  #analyticsRows td:nth-child(1)::before {
    content: "Zaman";
  }

  #analyticsRows td:nth-child(2)::before {
    content: "Sayfa / E-posta";
  }

  #analyticsRows td:nth-child(3)::before {
    content: "IP";
  }

  #analyticsRows td:nth-child(4)::before {
    content: "Durum";
  }

  .admin-table td button,
  .admin-table td .admin-client-link,
  .admin-action-stack button {
    width: 100%;
    justify-content: center;
  }

  .admin-table-actions,
  .customer-service-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-action-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-modal {
    align-items: flex-start;
    padding: 12px;
    overflow-y: auto;
  }

  .admin-detail-card {
    width: 100%;
    max-height: calc(100vh - 24px);
    margin: 0;
    padding: 16px;
    overflow-y: auto;
  }

  .admin-detail-card .panel-title-row {
    flex-direction: column;
  }

  .admin-detail-card .ghost-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .admin-shell {
    padding: 10px;
  }

  .admin-hero,
  .admin-panel,
  .section {
    border-radius: 8px;
  }

  .admin-hero {
    padding: 14px;
  }

  .admin-title-actions,
  .admin-metrics,
  .admin-quick-links {
    grid-template-columns: 1fr;
  }

  .admin-table tr {
    padding: 10px;
  }

  .admin-table td {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .admin-table td::before {
    margin-bottom: 2px;
  }

  .admin-inline-form,
  .admin-service-toolbar,
  .service-edit-form,
  .admin-form-actions {
    grid-template-columns: 1fr;
  }

  .admin-modal {
    padding: 10px;
  }

  .admin-detail-card {
    padding: 14px;
  }
}

/* TS panel: açık kart başlıkları ve iç kontroller */
body[data-page="ts-panel"] section.ts-manager-card:not(.ts-super-admin-panel) > .section-head h2,
body[data-page="ts-panel"] section.ts-manager-card:not(.ts-super-admin-panel) > .section-head p:not(.eyebrow),
body[data-page="ts-panel"] section.ts-manager-card:not(.ts-super-admin-panel) > .ts-card-note {
  color: #0f172a;
  text-shadow: none;
}

body[data-page="ts-panel"] section.ts-manager-card:not(.ts-super-admin-panel) > .section-head .ts-card-note {
  color: #475569;
}

body[data-page="ts-panel"] section.ts-manager-card:not(.ts-super-admin-panel) > .section-head .eyebrow {
  color: #c2410c;
}

body[data-page="ts-panel"] section.ts-manager-card:not(.ts-super-admin-panel) > .section-head .ghost-button {
  color: #111827;
  background: #eef2f7;
  border-color: #d5dde8;
  text-shadow: none;
}

body[data-page="ts-panel"] section.ts-manager-card.ts-super-admin-panel > .section-head .ghost-button {
  color: #f8fafc;
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .22);
}

.ts-manager-card .ts-settings-group,
.ts-manager-card .ts-record-panel,
.ts-manager-card .ts-selector-panel,
.ts-manager-card .ts-action-grid article,
.ts-manager-card .ts-backup-card,
.ts-manager-card .ts-token-output,
.ts-manager-card .ts-selected-card,
.ts-manager-card .ts-settings-group,
.ts-manager-card .ts-record-panel,
.ts-manager-card .ts-selector-panel,
.ts-manager-card .ts-action-grid article,
.ts-manager-card .ts-backup-card,
.ts-manager-card .ts-token-output,
.ts-manager-card .ts-selected-card,
.ts-manager-card .ts-live-summary article {
  color: #111827;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(247, 250, 255, .96)),
    #fff;
  border-color: #dbe3ee;
  text-shadow: none;
}

.ts-manager-card .ts-live-summary span {
  color: #475569;
}

.ts-manager-card .ts-live-summary strong {
  color: #0f172a;
}

.ts-manager-grid > .ts-manager-card h2,
.ts-manager-grid > .ts-manager-card h3,
.ts-manager-grid > .ts-manager-card label,
.ts-manager-card .ts-settings-group h2,
.ts-manager-card .ts-settings-group h3,
.ts-manager-card .ts-settings-group label,
.ts-manager-card .ts-record-panel h2,
.ts-manager-card .ts-record-panel h3,
.ts-manager-card .ts-record-panel label,
.ts-manager-card .ts-selector-panel h2,
.ts-manager-card .ts-selector-panel h3,
.ts-manager-card .ts-selector-panel label,
.ts-manager-card .ts-action-grid article h2,
.ts-manager-card .ts-action-grid article h3,
.ts-manager-card .ts-action-grid article label,
.ts-manager-card .ts-backup-card h2,
.ts-manager-card .ts-backup-card h3,
.ts-manager-card .ts-backup-card label,
.ts-manager-card .ts-token-output h2,
.ts-manager-card .ts-token-output h3,
.ts-manager-card .ts-selected-card strong {
  color: #111827;
  text-shadow: none;
}

.ts-manager-grid > .ts-manager-card p:not(.eyebrow),
.ts-manager-grid > .ts-manager-card small,
.ts-manager-card .ts-settings-group p:not(.ts-security-level-warning),
.ts-manager-card .ts-record-panel p,
.ts-manager-card .ts-selector-panel p,
.ts-manager-card .ts-action-grid article p,
.ts-manager-card .ts-action-grid article small,
.ts-manager-card .ts-backup-card p:not(.ts-backup-warning),
.ts-manager-card .ts-backup-status small,
.ts-manager-card .ts-token-output p,
.ts-manager-card .ts-selected-card span {
  color: #4b5563;
  text-shadow: none;
}

body.panel-future[data-page="ts-panel"] .ts-manager-card .ts-backup-card p.ts-backup-warning,
body[data-page="ts-panel"] .ts-manager-card .ts-backup-card p.ts-backup-warning,
.ts-manager-card .ts-backup-card p.ts-backup-warning,
p.ts-backup-warning,
p.ts-security-level-warning,
p.ts-perm-warning {
  color: #dc2626 !important;
  text-shadow: none;
}

p.ts-perm-warning {
  margin: 6px 0 0;
  font-weight: 800;
  line-height: 1.4;
}

.ts-manager-card .ts-form.ts-edit-form > label,
.ts-manager-card .ts-server-settings-form > label {
  color: #111827;
  text-shadow: none;
}

.ts-manager-card input,
.ts-manager-card select,
.ts-manager-card textarea {
  color: #111827;
  background-color: #f8fafc;
  border-color: #cfd8e5;
}

.ts-manager-card input::placeholder,
.ts-manager-card textarea::placeholder {
  color: #7b8494;
  opacity: 1;
}

section.ts-manager-card .ts-split > .ts-form.ts-edit-form > label {
  color: #111827;
  text-shadow: none;
}

section.ts-manager-card .ts-manager-grid > .ts-manager-card .eyebrow,
section.ts-manager-card .ts-settings-group .eyebrow,
section.ts-manager-card .ts-record-panel .eyebrow,
section.ts-manager-card .ts-selector-panel .eyebrow,
section.ts-manager-card .ts-action-grid article .eyebrow,
section.ts-manager-card .ts-backup-card .eyebrow {
  color: #f59e0b;
  text-shadow: none;
}

.ts-control-actions #startServerButton,
.ts-control-actions #stopServerButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  min-width: 112px;
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  border-radius: 8px;
  font-weight: 1000;
  text-shadow: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

.ts-control-actions #startServerButton {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border: 1px solid #15803d;
}

.ts-control-actions #stopServerButton {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  border: 1px solid #991b1b;
}

.ts-control-actions #startServerButton:hover:not(:disabled),
.ts-control-actions #stopServerButton:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: saturate(1.08);
}

/* Admin table action buttons should wrap cleanly instead of clipping. */
.admin-table {
  table-layout: auto;
}

.admin-table td {
  vertical-align: top;
}

.admin-table-actions,
.customer-service-actions,
.admin-action-stack {
  min-width: 0;
}

.admin-table-actions .admin-client-link,
.admin-table-actions button,
.customer-service-actions .admin-client-link,
.customer-service-actions button,
.admin-action-stack button {
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
  min-height: 38px;
  padding: 7px 10px;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 901px) {
  #admin-customers-section .admin-table {
    table-layout: fixed;
  }

  #admin-customers-section .admin-table th:nth-child(1),
  #admin-customers-section .admin-table td:nth-child(1) {
    width: 18%;
  }

  #admin-customers-section .admin-table th:nth-child(2),
  #admin-customers-section .admin-table td:nth-child(2) {
    width: 22%;
  }

  #admin-customers-section .admin-table th:nth-child(3),
  #admin-customers-section .admin-table td:nth-child(3) {
    width: 15%;
  }

  #admin-customers-section .admin-table th:nth-child(4),
  #admin-customers-section .admin-table td:nth-child(4) {
    width: 12%;
  }

  #admin-customers-section .admin-table th:nth-child(5),
  #admin-customers-section .admin-table td:nth-child(5) {
    width: 15%;
  }

  #admin-customers-section .admin-table th:nth-child(6),
  #admin-customers-section .admin-table td:nth-child(6) {
    width: 18%;
  }

  #admin-customers-section .admin-table-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  #admin-customers-section .admin-table-actions button,
  #admin-customers-section .admin-table-actions .admin-muted-action {
    width: 100%;
  }

  #admin-orders-section .admin-table {
    table-layout: fixed;
  }

  #admin-orders-section .admin-table th:nth-child(1),
  #admin-orders-section .admin-table td:nth-child(1) {
    width: 11%;
  }

  #admin-orders-section .admin-table th:nth-child(2),
  #admin-orders-section .admin-table td:nth-child(2) {
    width: 16%;
  }

  #admin-orders-section .admin-table th:nth-child(3),
  #admin-orders-section .admin-table td:nth-child(3) {
    width: 25%;
  }

  #admin-orders-section .admin-table th:nth-child(4),
  #admin-orders-section .admin-table td:nth-child(4) {
    width: 13%;
  }

  #admin-orders-section .admin-table th:nth-child(5),
  #admin-orders-section .admin-table td:nth-child(5) {
    width: 10%;
  }

  #admin-orders-section .admin-table th:nth-child(6),
  #admin-orders-section .admin-table td:nth-child(6) {
    width: 15%;
    min-width: 126px;
  }

  #admin-orders-section .admin-table-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
  }

  #admin-orders-section .admin-table-actions .admin-client-link,
  #admin-orders-section .admin-table-actions button {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  #admin-customers-section .admin-table {
    table-layout: auto;
    min-width: 960px;
  }

  #admin-customers-section .table-wrap {
    overflow-x: auto;
  }

  #admin-orders-section .admin-table {
    table-layout: auto;
    min-width: 920px;
  }

  #admin-orders-section .table-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 900px) {
  .admin-customer-tools {
    grid-template-columns: 1fr;
  }

  .admin-segmented button {
    flex: 1 1 160px;
    justify-content: space-between;
  }

  .ts-profile-layout,
  .ts-profile-form {
    grid-template-columns: 1fr;
  }

  .ts-profile-meta {
    grid-template-columns: 1fr;
  }

  .ts-profile-actions button {
    flex: 1 1 120px;
  }

  .ts-custom-icon-upload {
    grid-template-columns: 1fr;
  }

  .ts-custom-icon-preview {
    width: 100%;
    height: 64px;
  }

  .ts-password-control {
    grid-template-columns: 1fr;
  }

  .ts-password-control .ts-checkbox-row {
    padding-top: 0;
  }

  .ts-channel-advanced {
    grid-template-columns: 1fr;
  }
}

/* ========== package-vitrin (kaynak: package-vitrin.css) ========== */
/* Paket vitrin — tüm sayfalarda: bölüme class="package-vitrin" ekle */

.package-vitrin .public-package-layout  {
  gap: 18px;
  align-items: start;
}

.package-vitrin .package-grid  {
  gap: 16px;
  align-items: stretch;
}

.package-vitrin .package-card  {
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-width: 0;
  color: #334155;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
  transition: transform .22s ease, box-shadow .22s ease;
}

/* Kartı saran sabit RGB kenarlık — sadece renk akar, çerçeve dönmez */
@property --hf-rgb-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.package-vitrin .package-card::before  {
  content: "";
  position: absolute;
  inset: -2px;
  height: auto;
  border-radius: 18px;
  padding: 2px;
  --hf-rgb-angle: 0deg;
  background: conic-gradient(
    from var(--hf-rgb-angle),
    #ff244f,
    #ff7a00,
    #ffd166,
    #42d9ff,
    #a855f7,
    #22d3ee,
    #ff244f
  );
  animation: hfPkgRgbFlow 12s linear infinite;
  transform: none;
  -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;
  z-index: 0;
}

.package-vitrin .package-card > *  {
  position: relative;
  z-index: 1;
}

.package-vitrin .package-card::after  {
  display: none;
}

@keyframes hfPkgRgbFlow {
  to {
    --hf-rgb-angle: 360deg;
  }
}

.package-vitrin .package-card:hover  {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .24);
}

.package-vitrin .package-card.featured::before  {
  padding: 3px;
  animation-duration: 9s;
}

.package-vitrin .package-card.featured  {
  box-shadow:
    0 22px 44px rgba(15, 23, 42, .14),
    0 0 28px rgba(66, 217, 255, .12);
}

@media (prefers-reduced-motion: reduce) {
  .package-vitrin .package-card::before,
  .package-vitrin .package-card::before  {
    animation: none;
  }
}

.package-vitrin .package-card :is(h3, p, span, small, strong, li),
.package-vitrin .package-card :is(h3, p, span, small, strong, li)  {
  color: inherit;
}

.package-vitrin .package-card h3  {
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.package-vitrin .package-card > div > p  {
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.package-vitrin .package-top  {
  flex-wrap: wrap;
  gap: 8px;
}

.package-vitrin .package-top .pill  {
  flex-shrink: 0;
}

.package-vitrin .package-card .package-top .product-badge.logo-badge  {
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.package-vitrin .package-card .package-top .product-badge.logo-badge img  {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .18));
}

.package-vitrin .package-card .package-top .product-badge.logo-badge.music-logo,
.package-vitrin .package-card .package-top .product-badge.logo-badge.management-logo,
.package-vitrin .package-card .package-top .product-badge.logo-badge.sinus-logo  {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.package-vitrin .package-card .package-top .product-badge.logo-badge.sinus-logo img  {
  object-fit: contain;
}

.package-vitrin .package-card .price-block  {
  padding: 12px 14px;
  margin-top: 6px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #f1f5f9;
}

.package-vitrin .package-card .price-money,
.package-vitrin .package-card .price-money .price-currency  {
  color: #0f172a;
  font-weight: 800;
}

.package-vitrin .package-card .price  {
  font-size: clamp(22px, 2.4vw, 28px);
  color: #ea580c;
}

.package-vitrin .package-card .old-price .price-money  {
  color: #94a3b8;
}

.package-vitrin .package-card .price-period  {
  color: #64748b;
  font-weight: 700;
}

.package-vitrin .package-card .ts-specs,
.package-vitrin .package-card .bot-specs  {
  border-top: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #f1f5f9;
  overflow: visible;
}

.package-vitrin .package-card .ts-spec-row,
.package-vitrin .package-card .bot-spec-row  {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 9px 12px;
  min-height: 0;
  border-bottom-color: #e2e8f0;
  color: #475569;
}

.package-vitrin .package-card .ts-spec-row:nth-child(even),
.package-vitrin .package-card .bot-spec-row:nth-child(even)  {
  background: #f8fafc;
}

.package-vitrin .package-card .ts-spec-label,
.package-vitrin .package-card .bot-spec-label  {
  min-width: 0;
  color: #64748b;
  font-weight: 600;
}

.package-vitrin .package-card .ts-spec-icon  {
  color: #e11d48;
  background:
    linear-gradient(145deg, #fff5f5 0%, #ffe4e6 100%);
  border: 1px solid rgba(225, 29, 72, .35);
  box-shadow: 0 2px 10px rgba(225, 29, 72, .18);
}

.package-vitrin .package-card .ts-spec-icon svg  {
  stroke-width: 2.25;
  filter: drop-shadow(0 1px 1px rgba(225, 29, 72, .2));
}

.package-vitrin .package-card .bot-spec-row .ts-spec-icon  {
  color: #ea580c;
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
  border-color: rgba(234, 88, 12, .35);
  box-shadow: 0 2px 10px rgba(234, 88, 12, .16);
}

.package-vitrin .package-card .ts-spec-row:hover .ts-spec-icon,
.package-vitrin .package-card .bot-spec-row:hover .ts-spec-icon  {
  color: #fff;
  background: linear-gradient(135deg, #ff244f, #ff7a00);
  border-color: rgba(255, 36, 79, .45);
  box-shadow: 0 4px 14px rgba(255, 122, 0, .35);
}

.package-vitrin .package-card .ts-spec-label > span:last-child,
.package-vitrin .package-card .bot-spec-label > span:last-child  {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  line-height: 1.3;
}

.package-vitrin .package-card .ts-spec-row strong,
.package-vitrin .package-card .bot-spec-row strong  {
  min-width: 0;
  text-align: right;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #0f172a;
  font-weight: 800;
}

.package-vitrin .package-card .features,
.package-vitrin .package-card .features li  {
  color: #475569;
  font-weight: 600;
}

.package-vitrin .package-card .ts-check  {
  color: #ea580c;
}

.package-vitrin .package-card button  {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  white-space: normal;
  line-height: 1.25;
  overflow: visible;
  text-overflow: unset;
  color: #0f172a;
  background: linear-gradient(180deg, #dce4ee 0%, #c5d0de 100%);
  border: 1px solid #7b8ba3;
  border-radius: 10px;
  box-shadow:
    0 2px 0 rgba(15, 23, 42, .08),
    inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.package-vitrin .package-card button:hover  {
  color: #020617;
  border-color: #5b6b82;
  background: linear-gradient(180deg, #cfd9e6 0%, #b5c2d4 100%);
  box-shadow:
    0 4px 14px rgba(15, 23, 42, .12),
    inset 0 1px 0 rgba(255, 255, 255, .6);
  transform: translateY(-1px);
}

.package-vitrin .package-card button.active  {
  color: #fff;
  background: linear-gradient(135deg, #ff7a00, #ffb21f);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(255, 122, 0, .32);
  transform: none;
}

.package-vitrin .order-panel  {
  overflow: visible;
  min-width: 0;
  color: #334155;
  border-radius: 16px;
  border: 2px solid rgba(255, 122, 0, .42);
  background: linear-gradient(180deg, #fffaf5 0%, #f8fafc 38%, #eef2f7 100%);
  box-shadow:
    0 0 0 4px rgba(255, 122, 0, .1),
    0 20px 44px rgba(0, 0, 0, .22);
}

.package-vitrin .order-panel::after  {
  display: none;
}

.package-vitrin .order-panel .eyebrow  {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 10px 18px 10px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff7a00 0%, #ffb21f 55%, #ff8f3d 100%);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  box-shadow:
    0 10px 28px rgba(255, 122, 0, .38),
    0 0 0 3px rgba(255, 122, 0, .18);
}

.package-vitrin .order-panel .eyebrow::before  {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
}

.package-vitrin .order-panel .eyebrow::after  {
  content: "✓";
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  color: #ff7a00;
  background: #fff;
  border-radius: 50%;
}

.package-vitrin .order-panel h3  {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.package-vitrin .order-panel .summary-copy,
.package-vitrin .order-panel p  {
  color: #64748b;
}

.package-vitrin .order-panel .summary-price  {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dbe3ef;
  background: #f1f5f9;
}

.package-vitrin .order-panel .price-money  {
  color: #0f172a;
}

.package-vitrin .order-panel .price  {
  color: #ea580c;
}

.package-vitrin .order-panel dt  {
  color: #64748b;
  font-weight: 700;
}

.package-vitrin .order-panel dd  {
  color: #0f172a;
  font-weight: 800;
}

.package-vitrin .order-panel dl div  {
  border-bottom-color: #e2e8f0;
}

.package-vitrin .order-panel h3,
.package-vitrin .order-panel .summary-copy,
.package-vitrin .order-panel dd,
.package-vitrin .order-panel p,
.package-vitrin .order-panel span  {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Etiket sutunu (dt) asla kelime ortasindan bolunmesin ("Deste/k" sorunu).
   Etiket tek satir kalir, deger (dd) gerekirse sarar/kisilir. */
.package-vitrin .order-panel dl div  {
  align-items: flex-start;
  gap: 14px;
}
.package-vitrin .order-panel dt  {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  flex: 0 0 auto;
}
.package-vitrin .order-panel dd  {
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
}

.package-vitrin .order-panel .primary-button  {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  white-space: normal;
  line-height: 1.25;
  overflow: visible;
}

.package-vitrin > .content-grid  {
  gap: 18px;
  align-items: start;
}

/* Dış kutu — ana sayfadaki koyu paket alanı (kart İÇİ değil) */
.package-vitrin.public-section,
.package-vitrin.package-section,
body.panel-future .shell .main > .section.package-vitrin.package-section,
body.panel-future #billing.panel-vitrin,
body.panel-future #faq.panel-vitrin,
body[data-page="panel"] #billing.panel-vitrin,
body[data-page="panel"] #faq.panel-vitrin {
  position: relative;
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  background:
    radial-gradient(circle at 12% 0%, rgba(66, 217, 255, .12), transparent 40%),
    radial-gradient(circle at 92% 8%, rgba(255, 122, 0, .14), transparent 38%),
    linear-gradient(160deg, rgba(14, 18, 32, .94), rgba(8, 10, 18, .88));
  box-shadow: 0 32px 80px rgba(0, 0, 0, .45);
  backdrop-filter: blur(12px);
}

body[data-page="panel"] #packages > .section-head h2,
body.panel-future #packages > .section-head h2,
.shell .main > .section.package-vitrin > .section-head h2,
body.panel-future .shell .main > .section.package-vitrin > .section-head h2,
body.panel-future #packages.package-vitrin > .section-head h2,
.package-vitrin > .section-head h2 {
  font-family: Syne, Inter, sans-serif;
  font-size: clamp(26px, 3.5vw, 36px);
  color: #ffffff;
  text-shadow: 0 0 40px rgba(66, 217, 255, .2);
}

body[data-page="panel"] #packages > .section-head .eyebrow,
body.panel-future #packages > .section-head .eyebrow,
.shell .main > .section.package-vitrin > .section-head .eyebrow,
body.panel-future #packages.package-vitrin > .section-head .eyebrow,
.package-vitrin > .section-head .eyebrow {
  color: #ff9a3c;
}

.shell .main > .section.package-vitrin > .section-head p:not(.eyebrow),
body.panel-future #packages.package-vitrin > .section-head p:not(.eyebrow),
.package-vitrin > .section-head p:not(.eyebrow) {
  color: #94a3b8;
}

.shell .main > .section.package-vitrin .tabs .tab,
body.panel-future #packages.package-vitrin .tabs .tab,
.package-vitrin .tabs .tab {
  color: #e2e8f0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
}

.shell .main > .section.package-vitrin .tabs .tab.active,
body.panel-future #packages.package-vitrin .tabs .tab.active,
.package-vitrin .tabs .tab.active {
  color: #0b0f19;
  background: linear-gradient(135deg, #ff7a00, #ffd166);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(255, 122, 0, .3);
}

@media (max-width: 1100px) {
  .package-vitrin .public-package-layout,
  .package-vitrin > .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .package-vitrin .package-grid {
    grid-template-columns: 1fr;
  }

  .package-vitrin > .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .package-vitrin {
    overflow-x: clip;
    padding: 16px 14px;
  }

  .package-vitrin > .tabs,
  .package-vitrin > .section-head .tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .package-vitrin .tabs .tab {
    flex: 1 1 calc(50% - 4px);
    min-height: 40px;
    font-size: 13px;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }

  .package-vitrin .package-card,
  .package-vitrin .order-panel {
    padding: 16px;
  }

  .package-vitrin .package-card button,
  .package-vitrin .order-panel .primary-button {
    width: 100%;
  }

  .package-vitrin > .section-head h2 {
    font-size: 24px;
    line-height: 1.2;
  }
}

/* Fatura listesi modal penceresi (odenmemis / odenmis) */
.invoice-list-modal .invoice-list-card {
  max-width: 560px;
  text-align: left;
}
.invoice-list-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 60vh;
  overflow-y: auto;
  margin-top: 12px;
}
.invoice-list-body .invoice-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
}
.invoice-list-empty {
  margin-top: 16px;
  color: #94a3b8;
  text-align: center;
}

/* Musteri fatura iptal butonu */
.invoice-cancel-btn {
  background: rgba(239, 68, 68, .12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, .4);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.invoice-cancel-btn:hover {
  background: rgba(239, 68, 68, .2);
}
.invoice-cancel-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

/* Son Fatura metrik karti: tiklanabilir + odenecek fatura varsa nabiz */
.metric-invoice-card {
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.metric-invoice-card:hover {
  transform: translateY(-2px);
}
@keyframes metricInvoicePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 122, 0, .0); }
  50% { transform: scale(1.03); box-shadow: 0 10px 30px rgba(255, 122, 0, .35); }
}
.metric-invoice-card.metric-flash {
  animation: metricInvoicePulse 1.6s ease-in-out infinite;
  border-color: rgba(255, 122, 0, .6);
}
/* Paket secilince siparis ozeti vurgusu */
@keyframes orderSummaryFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(66, 217, 255, 0); }
  50% { box-shadow: 0 0 0 4px rgba(66, 217, 255, .4); }
}
.order-summary-flash {
  animation: orderSummaryFlash 1.6s ease-in-out;
  border-radius: 14px;
}

/* SoundBot askıya alma uyarı bandı (panel.html hizmet kartı) */
.service-suspended-notice {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  padding: 10px 14px;
  border: 1px solid #fdba74;
  border-left: 4px solid #ea580c;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.service-link.service-link-passive {
  cursor: not-allowed;
  opacity: 0.6;
  filter: grayscale(0.15);
}

.service-link.service-link-passive:hover {
  opacity: 0.6;
}


/* Sipariş süre seçici - dropdown buton */
.order-duration-select {
  position: relative;
  margin: 12px 0;
}
.duration-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  border: 2px solid #f97316;
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s ease;
}
.duration-select-btn .duration-label {
  font-weight: 700;
  color: #9a3412;
}
.duration-select-btn .duration-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ea580c;
  font-weight: 800;
}
.duration-select-btn:hover {
  border-color: #f97316;
}
.duration-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  z-index: 50;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.duration-dropdown button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: background .1s;
}
.duration-dropdown button:hover {
  background: #fff7ed;
  color: #ea580c;
}
.duration-dropdown button.active {
  background: #f97316;
  color: #fff;
}

/* ---- Sepet (coklu urun siparisi) — kaynak: package-vitrin.css ---- */
.package-vitrin .order-panel .primary-button.ghost {
  background: transparent;
  border: 1px solid rgba(234, 88, 12, .55);
  color: #ea580c;
  margin-top: 8px;
}

.cart-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.cart-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-box-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  margin-left: 6px;
  border-radius: 999px;
  background: #ea580c;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.cart-clear {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.cart-item-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-item-main strong {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  overflow-wrap: anywhere;
}

.cart-item-line {
  font-size: 12px;
  color: #64748b;
}

.cart-item-line b {
  color: #ea580c;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.cart-months {
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
}

.cart-remove {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #dc2626;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 2px;
  font-size: 15px;
  color: #0f172a;
}

.cart-total-row strong {
  font-size: 18px;
  font-weight: 900;
  color: #ea580c;
}

.cart-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: #64748b;
  text-align: center;
}

@media (max-width: 720px) {
  .cart-item {
    flex-direction: column;
    align-items: stretch;
  }
  .cart-item-controls {
    justify-content: space-between;
  }
}

/* --- Sifremi Unuttum akisi --- */
.fp-flow { padding: 0; }
.fp-flow h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.fp-desc { color: #64748b; font-size: 14px; margin: 0 0 14px; }
.fp-step input { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid #cbd5e1; font-size: 15px; margin-bottom: 12px; box-sizing: border-box; }
.fp-step .primary-button { margin-bottom: 8px; }
.fp-back-link { display: block; text-align: center; color: #64748b; font-size: 13px; text-decoration: underline; margin-top: 8px; cursor: pointer; }
.fp-link { display: block; text-align: center; color: #2563eb; font-size: 13px; margin-top: 10px; cursor: pointer; text-decoration: underline; }
.fp-alert { color: #dc2626; font-size: 13px; min-height: 18px; margin-top: 8px; text-align: center; }
.fp-countdown { color: #f59e0b; font-size: 13px; font-weight: 700; text-align: center; margin: 4px 0 10px; }
#fpResend { margin-top: 6px; }

/* --- Mobil performans: paket kartlari agir animasyonlari DEVRE DISI --- */
@media (max-width: 720px) {
  .package-vitrin .package-card::before {
    animation: none !important;
    background: linear-gradient(90deg, #ff7a00, #42d9ff) !important;
  }
  .package-vitrin .package-card {
    transition: none !important;
    will-change: auto !important;
  }
  .package-vitrin .package-card:hover {
    transform: none !important;
  }
  .package-vitrin .package-card.featured::before {
    animation: none !important;
  }
  /* backdrop-filter mobilde gereksiz GPU yuku */
  .package-vitrin.package-section,
  body.panel-future .shell .main > .section.package-vitrin.package-section {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
