html {
  font-size: 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* iOS Safari bazı durumlarda body yerine html arka planını gösterir */
  background-color: #020617;
}

html::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* iOS/Safari bazı gradient kombinasyonlarında background'ı tamamen yok sayabiliyor.
     Bu yüzden koyu renk fallback veriyoruz. */
  background-color: #020617;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(56, 189, 248, 0.18), transparent 50%),
    radial-gradient(circle at 10% 20%, rgba(0, 198, 255, 0.22), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(13, 110, 253, 0.25), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(30, 64, 175, 0.08), transparent 70%),
    linear-gradient(160deg, #030712 0%, #050816 35%, #020617 100%);
  color: #f0f4f8;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
}

/* iOS/Safari: bazı layout kombinasyonlarında beyaz "sayfa" zemini görünmesin */
body.et-site-shell,
body.et-login-page,
body.et-panel-shell {
  background-color: #020617;
}

main {
  background-color: transparent;
}

.et-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: 72px;
  padding: 30px;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.92) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(71, 85, 105, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.et-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px rgba(2, 6, 23, 0.45);
}

.et-dashboard-tabs .nav-link {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin: 0.25rem;
}

.et-dashboard-tabs .nav-link.active {
  color: rgba(255, 255, 255, 0.98);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(37, 99, 235, 0.25));
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 0 0.15rem rgba(56, 189, 248, 0.15);
}

/* Admin: sağ altta toast bildirimleri */
.ad-toast-host {
  position: fixed;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.1rem + env(safe-area-inset-right, 0px));
  z-index: 1090;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none;
  max-width: min(420px, calc(100vw - 2rem));
}

.ad-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.88rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 41, 59, 0.93) 100%);
  color: rgba(248, 250, 252, 0.98);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
  transform: translateX(calc(100% + 2rem));
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.ad-toast--show {
  transform: translateX(0);
  opacity: 1;
}

.ad-toast--hide {
  transform: translateX(calc(100% + 1.5rem));
  opacity: 0;
}

.ad-toast__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.ad-toast--success {
  border-color: rgba(34, 197, 94, 0.28);
}

.ad-toast--success .ad-toast__icon {
  background: rgba(34, 197, 94, 0.22);
  color: #86efac;
}

.ad-toast--error {
  border-color: rgba(248, 113, 113, 0.4);
}

.ad-toast--error .ad-toast__icon {
  background: rgba(248, 113, 113, 0.2);
  color: #fca5a5;
}

.ad-toast--info {
  border-color: rgba(56, 189, 248, 0.35);
}

.ad-toast--info .ad-toast__icon {
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
}

.ad-toast__msg {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  padding-top: 0.1rem;
}

.ad-toast__close {
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.ad-toast__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

@media (max-width: 576px) {
  .ad-toast-host {
    left: 1rem;
    right: 1rem;
    max-width: none;
    align-items: stretch;
  }

  .ad-toast {
    width: 100%;
  }

  .ad-toast--hide {
    transform: translateY(120%);
  }

  .ad-toast {
    transform: translateY(calc(100% + 2rem));
  }

  .ad-toast--show {
    transform: translateY(0);
  }
}

/* Admin + Customer panels (sidebar layout) */
.ad-layout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ad-sidebar {
  width: 320px;
  position: sticky;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(2, 6, 23, 0.35);
  max-height: 97%;
}

.ad-sidebar-head {
  padding: 4px 2px 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.ad-sidebar-head--compact {
  padding-bottom: 12px;
}

.ad-sidebar-kicker {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.85);
  margin-bottom: 10px;
}

.ad-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ad-sidebar-brand-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.22), rgba(37, 99, 235, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #e0f2fe;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.12);
}

.ad-sidebar-brand-icon i {
  font-size: 1rem;
}

.ad-sidebar-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ad-sidebar-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.06rem;
  color: rgba(248, 250, 252, 0.98);
  line-height: 1.2;
  display: block;
}

.ad-sidebar-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
  line-height: 1.3;
  display: block;
}

.ad-sidebar-nav-label {
  margin: 14px 0 8px;
  padding: 0 2px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}

.ad-sidebar-nav {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 0.5rem;
  overflow-x: hidden;
}

/* .nav Bootstrap’ta flex-wrap:wrap; column ile ikinci “sütun” sağa taşar → yatay scrollbar */
.ad-sidebar-nav.flex-column {
  flex-wrap: nowrap;
}

/* Dikey menü: öğeler sığmazsa ezilmesin (flex-shrink), üst konteyner kaydırır */
.ad-sidebar-nav.flex-column > .nav-link {
  flex-shrink: 0;
}

.ad-sidebar-nav .nav-link {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.72rem 0.85rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  margin: 0 !important; /* .et-dashboard-tabs .nav-link margin override */
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.4);
  color: rgba(248, 250, 252, 0.92) !important;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ad-sidebar-nav .nav-link:focus {
  outline: none;
}

.ad-sidebar-nav .nav-link:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.55);
  outline-offset: 2px;
}

.ad-sidebar-nav .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.95);
  opacity: 0;
  box-shadow: 0 0 0 rgba(56, 189, 248, 0);
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
  z-index: 1;
  pointer-events: none;
}

.ad-sidebar-nav .nav-link::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 0% 50%, rgba(56, 189, 248, 0.35) 0%, rgba(56, 189, 248, 0.10) 35%, transparent 62%);
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 0;
  pointer-events: none;
}

.ad-sidebar-nav .nav-link:hover {
  background: rgba(30, 41, 59, 0.65);
  border-color: rgba(56, 189, 248, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.ad-sidebar-nav .nav-link.active::before {
  opacity: 1;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.45);
}

.ad-sidebar-nav .nav-link.active::after {
  opacity: 1;
}

.ad-sidebar-nav .nav-link.active {
  color: rgba(255, 255, 255, 0.99) !important;
  background: linear-gradient(125deg, rgba(14, 116, 144, 0.35), rgba(37, 99, 235, 0.28)) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 32px rgba(2, 6, 23, 0.35);
}

.ad-sidebar-nav .nav-link .ad-sidebar-nav-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: rgba(226, 232, 240, 0.95);
  margin-right: 0.75rem !important;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  line-height: 1;
  font-size: 0.95rem;
}

.ad-sidebar-nav .nav-link i.ad-sidebar-nav-ic,
.ad-sidebar-nav .nav-link .ad-sidebar-nav-ic > i {
  font-style: normal;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  line-height: 1;
  font-size: inherit;
  -webkit-font-smoothing: antialiased;
}

.ad-sidebar-nav .nav-link .ad-sidebar-nav-ic > .ad-cust-support-unread-badge,
.ad-sidebar-nav .nav-link .ad-sidebar-nav-ic > .ad-cust-orderstatus-badge,
.ad-sidebar-nav .nav-link .ad-sidebar-nav-ic > .ad-admin-support-unread-badge,
.ad-sidebar-nav .nav-link .ad-sidebar-nav-ic > .ad-admin-orders-queue-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  box-sizing: border-box;
  width: 1.22rem;
  min-width: 1.22rem;
  height: 1.22rem;
  padding: 0;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-family: var(--bs-font-sans-serif, system-ui, -apple-system, sans-serif);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  border: 2px solid rgba(15, 23, 42, 0.96);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 4;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ad-sidebar-nav .nav-link .ad-nav-item-text {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.ad-sidebar-brand-icon i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

.ad-nav-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.ad-nav-item-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: rgba(248, 250, 252, 0.98);
  line-height: 1.25;
  overflow-wrap: break-word;
}

.ad-nav-item-meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 184, 0.88);
  line-height: 1.25;
  overflow-wrap: break-word;
}

.ad-sidebar-nav .nav-link.active .ad-nav-item-meta {
  color: rgba(224, 242, 254, 0.92);
}

.ad-sidebar-nav .nav-link.active .ad-sidebar-nav-ic {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(125, 211, 252, 0.35);
  color: #f0f9ff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.15);
}

.ad-main {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.ad-main {
  padding: 14px 0 26px 0;
}

/* Tab içeriklerinde daha premium geçiş hissi */
.tab-pane {
  animation: adTabIn 180ms ease-out;
}

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

.ad-logout-btn {
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.ad-mobile-menu-btn {
  position: sticky;
  top: 86px;
  z-index: 30;
  margin-bottom: 14px;
  align-self: flex-start;
}

.ad-admin-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  width: 100%;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.93) 100%);
  border-bottom: 1px solid rgba(71, 85, 105, 0.35);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transform: translateZ(0);
}

/* Admin layout: header sticky kalsın ama modal üstte olmalı (mobilde tıklamayı header yutuyordu) */
.ad-template-body .modal-backdrop {
  z-index: 5500 !important;
}
.ad-template-body .modal {
  z-index: 5600 !important;
}

.ad-admin-header-inner {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ad-admin-header-right {
  flex: 0 0 auto;
}

.ad-admin-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: min(56vw, 320px);
  padding: 0.38rem 0.85rem 0.38rem 0.38rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

a.ad-admin-user-chip--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

a.ad-admin-user-chip--link:visited {
  color: inherit;
}

a.ad-admin-user-chip--link:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.42);
  background: rgba(15, 23, 42, 0.72);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(56, 189, 248, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

a.ad-admin-user-chip--link:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.95),
    0 0 0 4px rgba(56, 189, 248, 0.45);
}

.ad-admin-user-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.06rem;
  min-width: 0;
  flex: 1 1 auto;
}

.ad-admin-user-name {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: rgba(248, 250, 252, 0.98);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-admin-user-role {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(125, 211, 252, 0.82);
}

.ad-admin-user-role:empty,
.ad-admin-user-role[hidden] {
  display: none !important;
}

.ad-admin-user-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  color: rgba(148, 163, 184, 0.55);
  transition: color 0.18s ease, transform 0.18s ease;
  margin-right: 0.05rem;
}

a.ad-admin-user-chip--link:hover .ad-admin-user-chevron {
  color: rgba(125, 211, 252, 0.95);
}

.ad-admin-user-ic {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(148deg, rgba(56, 189, 248, 0.42), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(125, 211, 252, 0.38);
  color: #f0f9ff;
  font-size: 1.08rem;
  line-height: 1;
  box-shadow:
    0 0 22px rgba(56, 189, 248, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ad-admin-user-ic i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

.ad-template-body .ad-admin-user-chip {
  background: rgba(15, 22, 32, 0.75);
  border-color: rgba(148, 163, 184, 0.18);
}

.ad-template-body a.ad-admin-user-chip--link:hover {
  background: rgba(20, 28, 42, 0.88);
}

.ad-template-body .ad-admin-user-name {
  color: rgba(241, 245, 249, 0.98);
}

.ad-admin-logout-btn {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: rgba(240, 248, 255, 0.98);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.ad-admin-logout-btn:hover {
  transform: translateY(-1px);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.22);
}

.ad-admin-menu-btn {
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.03);
}

.ad-admin-pill {
  background: rgba(56, 189, 248, 0.14) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 999px;
  font-weight: 700;
}

.ad-admin-mobile-menu-btn {
  border-radius: 14px;
}

/* Admin üst bar — cep (< lg): solda EtaLaundry logosu; kullanıcı chip/ikon gizli; sağda Menü */
@media (max-width: 991.98px) {
  .ad-admin-header-inner {
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }

  .ad-admin-header .et-logo {
    min-width: 0;
    flex-shrink: 1;
    max-width: calc(100% - 7.5rem);
  }

  .ad-admin-header-right {
    flex-shrink: 0;
  }

  /* Kullanıcı chip’i (ad-admin-user-ic + gizli kullanıcı adı) cep’te gösterme */
  .ad-admin-user-chip {
    display: none !important;
  }

  .ad-admin-mobile-menu-btn.ad-admin-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.42rem 0.95rem;
    min-height: 40px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    border: 1px solid rgba(125, 211, 252, 0.38) !important;
    background: linear-gradient(155deg, rgba(56, 189, 248, 0.14), rgba(37, 99, 235, 0.08));
    color: rgba(248, 250, 252, 0.98) !important;
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition:
      transform 0.16s ease,
      box-shadow 0.16s ease,
      border-color 0.16s ease,
      background 0.16s ease;
  }

  .ad-admin-mobile-menu-btn.ad-admin-menu-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.55) !important;
    background: linear-gradient(155deg, rgba(56, 189, 248, 0.22), rgba(37, 99, 235, 0.12));
    box-shadow:
      0 6px 22px rgba(56, 189, 248, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .ad-admin-mobile-menu-btn.ad-admin-menu-btn:active {
    transform: translateY(0);
  }

  .ad-admin-mobile-menu-btn.ad-admin-menu-btn:focus-visible {
    outline: none;
    box-shadow:
      0 0 0 2px rgba(15, 23, 42, 0.95),
      0 0 0 4px rgba(56, 189, 248, 0.45);
  }

  .ad-admin-menu-btn__icon {
    font-size: 0.95rem;
    opacity: 0.95;
    margin: 0 !important;
  }

  .ad-admin-menu-btn__label {
    font-family: "Poppins", system-ui, -apple-system, sans-serif;
    padding-top: 0.06em;
  }
}

.ad-admin-footer {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(2, 6, 23, 0.78) 100%);
  border-top: 1px solid rgba(56, 189, 248, 0.14);
  box-shadow:
    0 -1px 0 rgba(2, 6, 23, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.ad-admin-footer__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(56, 189, 248, 0.35) 18%,
    rgba(125, 211, 252, 0.75) 50%,
    rgba(56, 189, 248, 0.35) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.ad-admin-footer__wrap {
  position: relative;
  z-index: 1;
  padding-top: 1rem !important;
  /* Mobil Safari: home indicator + tarayıcı alt çubuğu için safe-area üstüne ek pay */
  padding-bottom: max(1rem, calc(env(safe-area-inset-bottom, 0px) + 12px)) !important;
}

@media (min-width: 768px) {
  .ad-admin-footer__wrap {
    padding-top: 1.15rem !important;
    padding-bottom: max(1.15rem, calc(env(safe-area-inset-bottom, 0px) + 12px)) !important;
  }
}

.ad-admin-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  text-align: center;
}

.ad-admin-footer__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  max-width: 56rem;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-align: center;
}

.ad-admin-footer__copy--center {
  width: 100%;
}

.ad-admin-footer__year {
  color: rgba(148, 163, 184, 0.95);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.ad-admin-footer__brand {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  color: rgba(248, 250, 252, 0.96);
  text-shadow: 0 1px 12px rgba(56, 189, 248, 0.12);
}

.ad-admin-footer__meta {
  font-weight: 500;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  color: rgba(186, 198, 214, 0.95);
}

.ad-admin-footer__copy .ad-admin-footer__brand {
  margin-left: 0;
}

.ad-admin-footer__lead {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.ad-admin-footer__sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 0.9rem;
  padding: 0 0.05rem;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 200;
  font-size: 1.15rem;
  line-height: 1;
  color: rgba(125, 211, 252, 0.92);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
  transform: scaleY(1.45);
  transform-origin: center;
  user-select: none;
}

.ad-admin-footer__dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.65);
  vertical-align: middle;
  margin: 0 0.05rem;
  opacity: 0.85;
}

.ad-admin-footer__sub {
  color: rgba(186, 198, 214, 0.92);
  font-weight: 500;
}

@media (max-width: 575.98px) {
  .ad-admin-footer__inner {
    gap: 0.6rem;
  }

  .ad-admin-footer__copy {
    align-items: center;
    row-gap: 0.35rem;
    column-gap: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Cep: adres veya telefon varsa yalnızca bunlar; telif + marka gizli */
  .ad-admin-footer__copy--has-contact .ad-admin-footer__lead {
    display: none !important;
  }

  .ad-admin-footer__copy--has-contact .ad-admin-footer__sep--after-lead {
    display: none !important;
  }

  .ad-admin-footer__copy > .ad-admin-footer__meta {
    max-width: 100%;
    text-align: center;
    line-height: 1.45;
  }

  .ad-admin-footer__copy > .ad-admin-footer__sep:not(.ad-admin-footer__sep--after-lead) {
    margin: 0 0.55rem;
    transform: scaleY(1.32) scaleX(1.02);
  }
}

.ad-stat-card {
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ad-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.28);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.50);
}

/* ----- Admin dashboard panel (premium kutu) ----- */
.ad-panel {
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 18px;
  position: relative;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.22), transparent 55%),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.ad-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.18), transparent);
  opacity: 0.9;
  transform: translateX(-35%);
  transition: transform 300ms ease;
}

.ad-panel:hover::before {
  transform: translateX(35%);
}

.ad-panel-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ad-panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(224, 242, 254, 0.25), rgba(56, 189, 248, 0.22));
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: rgba(240, 248, 255, 0.95);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.18);
  flex: 0 0 auto;
}

.ad-list-scroll {
  max-height: 290px;
  overflow: auto;
  padding-right: 6px;
}

@media (max-width: 991.98px) {
  .ad-list-scroll {
    max-height: 240px;
  }
}

/* Customers page: list should fill remaining height + nice scrollbar */
.ad-customer-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 2px; /* thumb space */
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
}

.ad-customer-list::-webkit-scrollbar {
  width: 8px;
}

.ad-customer-list::-webkit-scrollbar-track {
  background: transparent;
}

.ad-customer-list::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 99px;
  border: 2px solid rgba(2, 6, 23, 0.25);
}

.ad-customer-list::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.55);
}

.ad-order-customer-list {
  max-height: min(52vh, 380px);
}

@media (min-width: 992px) {
  .ad-order-customer-list {
    max-height: min(60vh, 420px);
  }
}

/* Ürün / müşteri / operatör / sipariş / süreç aşamaları seçim listeleri: seçili satır net görünsün (üst-alt mavi şerit + hafif parlama) */
#adProductList .list-group-item-action.active,
#adCustomerList .list-group-item-action.active,
#adOperatorList .list-group-item-action.active,
#adStageList .list-group-item-action.active,
#adLaundryOrderList .list-group-item-action.active,
.ad-order-customer-list .list-group-item-action.active {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(59, 130, 246, 0.22) 0%,
    rgba(56, 189, 248, 0.14) 45%,
    rgba(56, 189, 248, 0.12) 100%
  ) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow:
    inset 0 3px 0 0 #38bdf8,
    inset 0 -3px 0 0 #38bdf8,
    0 0 20px rgba(56, 189, 248, 0.18);
}

#adProductList .list-group-item-action.active .fw-bold,
#adCustomerList .list-group-item-action.active .fw-bold,
#adOperatorList .list-group-item-action.active .fw-bold,
#adStageList .list-group-item-action.active .fw-bold,
#adLaundryOrderList .list-group-item-action.active .fw-bold,
#adLaundryOrderList .list-group-item-action.active .ad-laundry-order-item__title,
.ad-order-customer-list .list-group-item-action.active .fw-bold {
  color: #e0f2fe !important;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

#adProductList .list-group-item-action.active .text-white-50,
#adProductList .list-group-item-action.active .small,
#adCustomerList .list-group-item-action.active .text-white-50,
#adCustomerList .list-group-item-action.active .small,
#adOperatorList .list-group-item-action.active .text-white-50,
#adOperatorList .list-group-item-action.active .small,
#adStageList .list-group-item-action.active .text-white-50,
#adStageList .list-group-item-action.active .small,
#adLaundryOrderList .list-group-item-action.active .text-white-50,
#adLaundryOrderList .list-group-item-action.active .ad-laundry-order-item__meta,
#adLaundryOrderList .list-group-item-action.active .ad-laundry-order-item__row2,
#adLaundryOrderList .list-group-item-action.active .ad-laundry-order-item__code,
#adLaundryOrderList .list-group-item-action.active .ad-laundry-order-item__stage,
#adLaundryOrderList .list-group-item-action.active .small,
.ad-order-customer-list .list-group-item-action.active .text-white-50,
.ad-order-customer-list .list-group-item-action.active .small {
  color: rgba(224, 242, 254, 0.82) !important;
}

/* ----- Çamaşır sipariş listesi: kapsam (Aktif / Geçmiş) + geçmiş tarih paneli ----- */
.ad-laundry-list-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ad-laundry-scope {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.ad-laundry-scope__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.ad-laundry-scope__track {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ad-laundry-scope-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(186, 230, 253, 0.88);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.ad-laundry-scope-btn:hover {
  color: #f0f9ff;
  background: rgba(56, 189, 248, 0.1);
}

.ad-laundry-scope-btn:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.65);
  outline-offset: 2px;
}

.ad-laundry-scope-btn__icon {
  font-size: 0.75rem;
  opacity: 0.9;
}

.ad-laundry-scope-btn--active {
  color: #0f172a !important;
  background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 55%, #06b6d4 100%) !important;
  box-shadow:
    0 2px 12px rgba(6, 182, 212, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ad-laundry-scope-btn--active .ad-laundry-scope-btn__icon {
  opacity: 1;
}

.ad-laundry-history-panel {
  padding: 0.9rem 1rem 1rem;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(56, 189, 248, 0.08), rgba(2, 6, 23, 0.45));
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 8px 28px rgba(2, 6, 23, 0.35);
}

.ad-laundry-history-panel__head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.ad-laundry-history-panel__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: rgba(224, 242, 254, 0.95);
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.ad-laundry-history-panel__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.96);
  letter-spacing: 0.02em;
}

.ad-laundry-history-panel__hint {
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.95);
  margin: 0.25rem 0 0;
  max-width: 36rem;
}

.ad-laundry-history-panel__lbl {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(148, 163, 184, 0.92);
}

.ad-laundry-history-panel__actions {
  margin-top: 0.15rem;
}

.ad-laundry-history-apply {
  font-weight: 600;
  color: #0f172a !important;
  border: none;
  background: linear-gradient(135deg, #38bdf8, #06b6d4) !important;
  box-shadow: 0 2px 14px rgba(6, 182, 212, 0.3);
}

.ad-laundry-history-apply:hover {
  filter: brightness(1.06);
  color: #0f172a !important;
}

.ad-laundry-history-clear {
  font-weight: 500;
  color: rgba(186, 230, 253, 0.9) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
}

.ad-laundry-history-clear:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f0f9ff !important;
}

.ad-laundry-list-empty__icon {
  font-size: 1.75rem;
  color: rgba(56, 189, 248, 0.35);
  margin-bottom: 0.5rem;
}

.ad-laundry-list-empty__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
  margin-bottom: 0.35rem;
}

.ad-laundry-list-empty__text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.95);
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.ad-laundry-order-item {
  border-radius: 12px !important;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(56, 189, 248, 0.12) !important;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.ad-laundry-order-item:hover {
  border-color: rgba(56, 189, 248, 0.35) !important;
  background: rgba(56, 189, 248, 0.06) !important;
}

.ad-laundry-order-item__row1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.25rem;
}

.ad-laundry-order-item__title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1 1 auto;
}

.ad-laundry-order-item__queue {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: rgba(220, 38, 38, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.35);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.ad-laundry-order-item__title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #f8fafc;
  min-width: 0;
}

.ad-laundry-order-item__badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.ad-laundry-order-item__badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.28em 0.55em;
}

.ad-laundry-order-item__row2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.2rem;
}

.ad-laundry-order-item__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: rgba(125, 211, 252, 0.92);
}

.ad-laundry-order-item__stage {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  color: rgba(224, 242, 254, 0.95);
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.ad-laundry-order-item__meta {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.95);
}

.ad-laundry-order-item__price {
  font-weight: 600;
  color: rgba(186, 230, 253, 0.92);
  font-variant-numeric: tabular-nums;
}

.ad-laundry-order-item__sep {
  margin: 0 0.25rem;
  opacity: 0.5;
}

/* Ürün formu: satış birimi — hızlı çipler + serbest metin */
.ad-sale-unit-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ad-sale-unit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ad-sale-unit-chip {
  appearance: none;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background: rgba(56, 189, 248, 0.07);
  color: rgba(186, 230, 253, 0.98);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.ad-sale-unit-chip:hover {
  background: rgba(56, 189, 248, 0.17);
  border-color: rgba(56, 189, 248, 0.6);
  color: #f0f9ff;
}

.ad-sale-unit-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(2, 6, 23, 0.95), 0 0 0 4px rgba(56, 189, 248, 0.45);
}

.ad-sale-unit-chip--active {
  background: rgba(56, 189, 248, 0.26);
  border-color: rgba(125, 211, 252, 0.85);
  color: #f0f9ff;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.3);
}

.ad-sale-unit-input {
  position: relative;
  z-index: 1;
}

.ad-sale-unit-hint {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.35;
}

/* Yeni sipariş modalı: sol müşteri sütunu alta kadar uzar */
.ad-laundry-modal-body {
  display: flex;
  flex-direction: column;
  min-height: min(76vh, 640px);
}

/* Modal gövdesi: iki sütun + sol liste sağ blokla aynı yükseklikte */
#adLaundryCreateModal .modal-content {
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 900px);
}

#adLaundryCreateModal .modal-content > .modal-header {
  flex-shrink: 0;
}

#adLaundryCreateModal .ad-laundry-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* Sağ sütun altı: toplam + siparişi oluştur */
#adLaundryCreateModal .ad-laundry-modal-col-lines .ad-laundry-create-footer {
  border-top: 1px solid rgba(56, 189, 248, 0.22);
}

@media (min-width: 768px) {
  #adLaundryCreateModal .ad-laundry-modal-col-lines .ad-laundry-create-footer {
    padding-top: 1.1rem;
  }

  /* Sağ sütun: ürün alanı kalan yüksekliği doldurur (iç scroll); footer + buton her zaman altta, taşmaz */
  #adLaundryCreateModal .ad-laundry-modal-body > .ad-laundry-modal-row {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    align-items: stretch;
  }

  #adLaundryCreateModal .ad-laundry-modal-col-lines {
    min-height: 0 !important;
    max-height: 100%;
    overflow: hidden;
  }

  #adLaundryCreateModal .ad-laundry-lines-stack {
    flex: 1 1 auto !important;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }

  #adLaundryCreateModal .ad-laundry-lines-panel {
    flex: 1 1 auto !important;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  #adLaundryCreateModal .ad-laundry-lines-wrap {
    flex: 1 1 auto !important;
    min-height: 6rem;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }
}

#adLaundryCreateModal .ad-laundry-create-submit-btn {
  font-weight: 600;
  letter-spacing: 0.025em;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.32);
  margin-bottom: 5px;
}

/* Yeni sipariş modalı — cep telefonu: tam genişlik, dikey kaydırma, güvenli alan */
@media (max-width: 767.98px) {
  /* Yanlardaki şerit: 768–576 arası margin kaldırıldı (tam genişlik). */
  /* modal-dialog-centered + max-height:none gövdeyi sınırlamıyordu → overflow-y auto hiç devreye girmiyordu */
  #adLaundryCreateModal .ad-laundry-create-modal__dialog {
    margin: 0;
    max-width: 100%;
    width: 100%;
    min-height: 0;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  #adLaundryCreateModal .modal-content {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  #adLaundryCreateModal .ad-laundry-modal-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  }

  /* .flex-grow-1 + h-100: gövdeyi viewport kadar uzatıp sütunlarda boşluk bırakıyordu */
  #adLaundryCreateModal .ad-laundry-modal-row {
    flex: 0 1 auto !important;
    align-content: flex-start;
  }

  #adLaundryCreateModal .ad-laundry-modal-col-cust,
  #adLaundryCreateModal .ad-laundry-modal-col-lines {
    height: auto !important;
    min-height: 0 !important;
  }

  /* Müşteri listesi: iç kaydırma alanı (parmakla tüm liste); eski 320px tavan kaldırıldı */
  #adLaundryCreateModal .ad-laundry-modal-col-cust .ad-laundry-modal-cust-scroll {
    flex: 1 1 auto !important;
    min-height: min(42vh, 440px);
    min-height: min(42dvh, 440px);
    max-height: min(56vh, 560px);
    max-height: min(56dvh, 560px);
  }

  #adLaundryCreateModal .ad-laundry-lines-stack,
  #adLaundryCreateModal .ad-laundry-lines-panel {
    flex-grow: 0 !important;
  }

  #adLaundryCreateModal .ad-laundry-create-submit-btn {
    min-height: 48px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

/*
  Yeni sipariş ürün satırları: 7 sütun (ürün + miktar + … + indirim + ek gider).
  xl altı veya dar sağ sütunda yatay tabloda indirim/ek gider dışarıda kalıyordu;
  etiketli kart düzeni + başlık gizle — tüm alanlar dikey görünür.
*/
@media (max-width: 1199.98px) {
  #adLaundryCreateModal .ad-laundry-lines-head {
    display: none !important;
  }

  #adLaundryCreateModal .ad-laundry-lines-panel {
    overflow-x: visible;
  }

  #adLaundryCreateModal .ad-laundry-lines-wrap {
    overflow-x: visible;
    max-height: min(22rem, 52vh);
  }

  #adLaundryCreateModal .ad-laundry-lines-table {
    display: block;
    min-width: 0 !important;
    width: 100%;
  }

  #adLaundryCreateModal .ad-laundry-lines-table tbody {
    display: block;
  }

  #adLaundryCreateModal .ad-laundry-lines-table tbody tr {
    display: block;
    margin-bottom: 0.75rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 10px;
    background: rgba(3, 7, 18, 0.55);
  }

  #adLaundryCreateModal .ad-laundry-lines-table tbody tr:last-child {
    margin-bottom: 0;
  }

  #adLaundryCreateModal .ad-laundry-lines-table tbody td {
    display: grid;
    grid-template-columns: minmax(5.25rem, 32%) 1fr;
    gap: 0.5rem;
    align-items: center;
    width: 100% !important;
    padding: 0.4rem 0;
    border: 0;
  }

  #adLaundryCreateModal .ad-laundry-lines-table tbody td::before {
    content: attr(data-label);
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.95);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: left;
  }

  #adLaundryCreateModal .ad-laundry-lines-table tbody td .form-select,
  #adLaundryCreateModal .ad-laundry-lines-table tbody td .form-control {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  #adLaundryCreateModal .ad-laundry-lines-table tbody td.ad-laundry-line-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.35rem;
    padding-bottom: 0.15rem;
  }

  #adLaundryCreateModal .ad-laundry-lines-table tbody td.ad-laundry-line-actions::before {
    content: none;
  }
}

@media (min-width: 1200px) {
  #adLaundryCreateModal .ad-laundry-lines-wrap {
    overflow-x: auto;
  }

  #adLaundryCreateModal .ad-laundry-lines-wrap .ad-laundry-lines-table {
    min-width: 50rem;
  }
}

/* Operatör — yeni sipariş: sadece ürün + miktar + sil; fiyat/toplam yok */
#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-wrap .ad-laundry-lines-table {
  min-width: 0 !important;
}

#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table col:nth-child(3),
#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table col:nth-child(4),
#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table col:nth-child(5),
#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table col:nth-child(6) {
  display: none;
}

#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table thead th:nth-child(3),
#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table thead th:nth-child(4),
#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table thead th:nth-child(5),
#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table thead th:nth-child(6),
#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table tbody td:nth-child(3),
#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table tbody td:nth-child(4),
#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table tbody td:nth-child(5),
#adLaundryCreateModal.ad-laundry-create-modal--operator .ad-laundry-lines-table tbody td:nth-child(6) {
  display: none !important;
}

#adLaundryCreateModal.ad-laundry-create-modal--operator #adLaundryCreateGrandTotalWrap,
#adLaundryCreateModal.ad-laundry-create-modal--operator #adLaundryCreateLinesHint {
  display: none !important;
}

@media (max-width: 575.98px) {
  #adLaundryCreateModal .ad-laundry-create-modal__dialog {
    margin: 0;
    max-width: 100%;
    padding: 0;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  #adLaundryCreateModal .modal-content {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    border-radius: 0;
    border-width: 0;
  }

  #adLaundryCreateModal .modal-header {
    border-radius: 0;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  #adLaundryCreateModal .ad-laundry-modal-body {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }

  #adLaundryCreateModal .ad-laundry-lines-panel {
    border-radius: 10px;
  }
}

.ad-laundry-modal-body > .ad-laundry-modal-row {
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
}

/* flex: Bootstrap d-flex flex-column (HTML) — mobilde liste dolar.
   md+: Yeni sipariş modalında grid + max-height: tarayıcıda denediğin düzen */
.ad-laundry-modal-col-cust {
  min-height: 0;
  align-self: stretch;
}

@media (min-width: 768px) {
  /* Grid yerine flex: alt ipucu metinleri ayrı satırda; liste kalan alanı doldurup içinde kayar */
  #adLaundryCreateModal .ad-laundry-modal-col-cust {
    display: flex !important;
    flex-direction: column;
    min-height: min(420px, calc(100vh - 14rem));
    min-height: min(420px, calc(100dvh - 14rem));
    max-height: min(656px, calc(100vh - 7rem));
    max-height: min(656px, calc(100dvh - 7rem));
    overflow: hidden;
    align-self: stretch;
  }

  /*
    flex-basis 0 ile bazı düzenlerde yükseklik 0’a çöküyordu; min-height + flex:auto ile liste görünür kalır.
    Sağ sütun (.ad-laundry-modal-col-lines) min-height taşıdığı için satır yüksekliği genelde yeterlidir.
  */
  #adLaundryCreateModal .ad-laundry-modal-col-cust .ad-laundry-modal-cust-scroll {
    flex: 1 1 auto;
    min-height: min(280px, 38vh);
    min-height: min(280px, 38dvh);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  #adLaundryCreateModal .ad-laundry-modal-col-cust .ad-laundry-modal-cust-list {
    overflow: visible;
    max-height: none;
  }
}

.ad-laundry-cust-pick-heading {
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
  padding-top: 0.15rem;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  color: #f8fafc;
  line-height: 1.35;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  padding-bottom: 0.45rem;
}

/* Sol müşteri: kaydırma .ad-laundry-modal-cust-scroll üzerinde; liste doğal yükseklik */
.ad-laundry-modal-col-cust .ad-laundry-modal-cust-scroll {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Yeni sipariş modalı — müşteri listesi kaydırma çubuğu (Firefox + Chromium / Safari) */
#adLaundryCreateModal .ad-laundry-modal-cust-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.42) rgba(15, 23, 42, 0.55);
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.14);
  background: rgba(2, 6, 23, 0.35);
  padding-right: 2px;
}

#adLaundryCreateModal .ad-laundry-modal-cust-scroll::-webkit-scrollbar {
  width: 9px;
}

#adLaundryCreateModal .ad-laundry-modal-cust-scroll::-webkit-scrollbar-track {
  margin: 6px 0;
  background: rgba(15, 23, 42, 0.65);
  border-radius: 99px;
}

#adLaundryCreateModal .ad-laundry-modal-cust-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.55) 0%,
    rgba(37, 99, 235, 0.48) 100%
  );
  border-radius: 99px;
  border: 2px solid rgba(15, 23, 42, 0.5);
}

#adLaundryCreateModal .ad-laundry-modal-cust-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(125, 211, 252, 0.65) 0%,
    rgba(59, 130, 246, 0.55) 100%
  );
}

.ad-laundry-modal-col-cust .ad-laundry-modal-cust-list {
  max-height: none;
  overflow: visible;
}

.ad-laundry-modal-col-lines {
  min-height: min(70vh, 560px);
  align-self: stretch;
}

.ad-laundry-lines-stack {
  min-height: 0;
  /* Sütun içinde büyümesin: kaydırma burada */
  flex: 1 1 auto;
}

.ad-laundry-lines-panel {
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.28);
  min-height: 0;
}

.ad-laundry-lines-head {
  border-radius: 12px 12px 0 0;
  background: #070d16;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  padding: 6px 10px 2px;
}

.ad-laundry-lines-table--head thead th {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  border: 0;
  color: rgba(148, 163, 184, 0.95);
}

.ad-laundry-lines-wrap {
  /* Sadece satırlar kayar; başlık .ad-laundry-lines-head içinde sabit.
     ~6 satır görünür; 7+ satırda dikey scroll (alan büyümez). */
  max-height: min(17rem, 28vh);
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 0;
  padding: 8px 7px;
  background: transparent;
  -webkit-overflow-scrolling: touch;
}

.ad-laundry-lines-panel-foot {
  border-top: 1px dashed rgba(56, 189, 248, 0.38);
  border-radius: 0 0 11px 11px;
  background: rgba(3, 7, 18, 0.96);
  overflow: hidden;
}

.ad-laundry-lines-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
}

.ad-laundry-lines-table col.ad-laundry-col-prod {
  width: auto;
}

.ad-laundry-lines-table .form-select,
.ad-laundry-lines-table .form-control {
  font-size: 0.875rem;
}

.ad-laundry-lines-table tbody td {
  vertical-align: middle;
}

/* Miktar: number okları koyu temada görünür */
.ad-laundry-lines-table input.ad-laundry-line-qty[type="number"]::-webkit-outer-spin-button,
.ad-laundry-lines-table input.ad-laundry-line-qty[type="number"]::-webkit-inner-spin-button {
  opacity: 0.9;
  cursor: pointer;
  filter: invert(0.88);
}

/* Sipariş satırı: birim + birim fiyat ürün kartından gelir, düzenlenmez */
.ad-laundry-lines-table .ad-laundry-line-from-product {
  opacity: 0.92;
  cursor: default;
  background-color: rgba(15, 23, 42, 0.65) !important;
  color: rgba(248, 250, 252, 0.95) !important;
}

.ad-laundry-lines-table select.ad-laundry-line-from-product,
.ad-laundry-lines-table input.ad-laundry-line-from-product:disabled {
  cursor: not-allowed;
}

.ad-laundry-add-line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(56, 189, 248, 0.03));
  color: rgba(125, 211, 252, 0.98);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ad-laundry-add-line-btn:hover {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0.06));
  color: #e0f2fe;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.22);
}

.ad-laundry-add-line-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(2, 6, 23, 0.9), 0 0 0 4px rgba(56, 189, 248, 0.45);
}

.ad-laundry-add-line-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.2);
  font-size: 0.75rem;
  line-height: 1;
}

.ad-laundry-add-line-btn:hover .ad-laundry-add-line-btn__icon {
  background: rgba(56, 189, 248, 0.32);
}

.ad-laundry-timeline li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 10px;
  border-left: 2px solid rgba(56, 189, 248, 0.45);
  color: rgba(255, 255, 255, 0.85);
}

.ad-laundry-timeline li time {
  display: block;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.95);
}

.ad-laundry-right-card-body > #adLaundryPanelDetail:not(.d-none) {
  flex: 1 1 auto;
  min-height: 0;
}

.ad-laundry-detail-shell {
  max-height: 100%;
}

/* Sipariş detayı: başlık + sağda sabit Kapat (grid, sarma / hizalama sorunları yok) */
.ad-laundry-detail__head--toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.65rem 0.85rem;
}

.ad-laundry-detail__head--toolbar .ad-laundry-detail__head-title {
  align-items: flex-start;
}

.ad-laundry-detail__head--toolbar .ad-panel-icon {
  margin-top: 0.15rem;
}

.ad-laundry-detail__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  color: rgba(248, 250, 252, 0.96);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(2, 6, 23, 0.35);
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.08s ease;
}

.ad-laundry-detail__close:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(226, 232, 240, 0.55);
  color: #fff;
}

.ad-laundry-detail__close:focus-visible {
  outline: none;
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.ad-laundry-detail__close:active {
  transform: scale(0.98);
}

.ad-laundry-detail__print-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.12);
  color: rgba(224, 242, 254, 0.98);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(2, 6, 23, 0.35);
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.08s ease;
}

.ad-laundry-detail__print-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(125, 211, 252, 0.65);
  color: #fff;
}

.ad-laundry-detail__print-btn:focus-visible {
  outline: none;
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.28);
}

.ad-laundry-detail__print-btn:active {
  transform: scale(0.98);
}

.ad-laundry-detail__invoice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: rgba(254, 243, 199, 0.98);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(2, 6, 23, 0.35);
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.08s ease;
}

.ad-laundry-detail__invoice-btn:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(253, 224, 71, 0.55);
  color: #fffbeb;
}

.ad-laundry-detail__invoice-btn:focus-visible {
  outline: none;
  border-color: rgba(253, 224, 71, 0.75);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.22);
}

.ad-laundry-detail__invoice-btn:active {
  transform: scale(0.98);
}

/* Modal genişleyebilir; önizleme max A4 (210 mm) içinde kalır, tablo yatay kaydırmadan sığar */
.ad-laundry-invoice-request-modal__dialog {
  max-width: min(96vw, 1320px);
  width: calc(100vw - 1.5rem);
}

.ad-laundry-invoice-request-modal__content {
  max-height: min(94vh, 900px);
  overflow: hidden;
}

/* Modal gövdesi: iç scroll’un yüksekliği kısıtlansın (flex min-height:0 zinciri) */
.ad-laundry-invoice-request-modal .modal-body {
  min-height: 0;
  overflow: hidden;
}

.ad-laundry-invoice-modal-scroll {
  flex: 1 1 0%;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 0.5rem 0.5rem;
  margin-right: -0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.55) rgba(30, 41, 59, 0.35);
}

.ad-laundry-invoice-modal-scroll::-webkit-scrollbar {
  width: 9px;
}

.ad-laundry-invoice-modal-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.55);
  border-radius: 999px;
  margin: 4px 0;
}

.ad-laundry-invoice-modal-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.55), rgba(100, 116, 139, 0.72));
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.55);
}

.ad-laundry-invoice-modal-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(203, 213, 225, 0.65), rgba(148, 163, 184, 0.85));
}

/* ISO A4 üst sınır: geniş ekranda 210 mm, dar ekranda %100 — yatay taşma yok */
.ad-laundry-invoice-a4 {
  box-sizing: border-box;
  width: 100%;
  max-width: 210mm;
  min-width: 0;
  min-height: 297mm;
  flex-shrink: 0;
  background: #fff;
  color: #111827;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 16px 48px rgba(0, 0, 0, 0.28);
  padding: clamp(0.65rem, 3vw, 14mm) clamp(0.55rem, 3.5vw, 16mm) clamp(0.85rem, 3vw, 16mm);
  font-size: clamp(0.7rem, 1.85vw, 0.8125rem);
  line-height: 1.5;
  margin-left: auto;
  margin-right: auto;
}

.ad-laundry-invoice-a4__brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid #0f172a;
}

.ad-laundry-invoice-a4__brand-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.ad-laundry-invoice-a4__brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.ad-laundry-invoice-a4__brand-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.ad-laundry-invoice-a4__brand-tag {
  font-size: 0.72rem;
  color: #475569;
  margin-top: 0.15rem;
}

.ad-laundry-invoice-a4__doc-meta {
  text-align: right;
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.35;
  flex-shrink: 0;
}

.ad-laundry-invoice-a4__doc-meta strong {
  display: block;
  color: #0f172a;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.ad-laundry-invoice-a4__doc-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #cbd5e1;
}

.ad-laundry-invoice-a4__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 576px) {
  .ad-laundry-invoice-a4__grid {
    grid-template-columns: 1fr;
  }
}

.ad-laundry-invoice-a4__box {
  border: 1px solid #94a3b8;
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.ad-laundry-invoice-a4__box h3 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  margin: 0 0 0.45rem;
  font-weight: 800;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed #cbd5e1;
}

.ad-laundry-invoice-a4__box p {
  margin: 0;
  font-size: 0.78rem;
  color: #1e293b;
}

.ad-laundry-invoice-a4__box p + p {
  margin-top: 0.35rem;
}

.ad-laundry-invoice-a4__kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.5rem;
  font-size: 0.76rem;
  align-items: baseline;
}

.ad-laundry-invoice-a4__kv dt {
  margin: 0;
  color: #64748b;
  font-weight: 600;
}

.ad-laundry-invoice-a4__kv dd {
  margin: 0;
  color: #0f172a;
}

.ad-laundry-invoice-a4__order-note {
  font-size: 0.74rem;
  color: #334155;
  background: #f1f5f9;
  border: 1px dashed #94a3b8;
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.85rem;
}

.ad-laundry-invoice-a4__table-wrap {
  overflow-x: hidden;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.ad-laundry-invoice-a4 table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.58rem, 1.65vw, 0.76rem);
  table-layout: auto;
}

/* Yalnızca ürün adı kırılır; tutarlar (font-monospace) tek satır */
.ad-laundry-invoice-a4__col-product {
  min-width: 0;
  max-width: 42%;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
}

.ad-laundry-invoice-a4 .font-monospace,
.ad-laundry-invoice-a4 thead th.text-end {
  white-space: nowrap;
}

.ad-laundry-invoice-a4 th,
.ad-laundry-invoice-a4 td {
  border: 1px solid #64748b;
  padding: clamp(0.2rem, 1vw, 0.42rem) clamp(0.18rem, 0.9vw, 0.5rem);
  vertical-align: middle;
  word-wrap: break-word;
}

.ad-laundry-invoice-a4 tbody tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.95);
}

.ad-laundry-invoice-a4 thead th {
  background: #334155;
  font-weight: 700;
  color: #f8fafc;
  font-size: clamp(0.52rem, 1.55vw, 0.68rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .ad-laundry-invoice-a4 thead th {
    letter-spacing: 0.04em;
  }
}

@media (max-width: 576px) {
  .ad-laundry-invoice-a4 {
    min-height: auto;
  }

  .ad-laundry-invoice-a4__col-product {
    max-width: none;
  }
}

.ad-laundry-invoice-a4 .text-end {
  text-align: right;
}

.ad-laundry-invoice-a4__total-row td {
  font-weight: 800;
  background: #e2e8f0 !important;
  font-size: 0.82rem;
  border-top: 2px solid #334155;
}

.ad-laundry-invoice-a4__note {
  margin-top: 1rem;
  font-size: 0.65rem;
  color: #64748b;
  line-height: 1.45;
  padding-top: 0.65rem;
  border-top: 1px solid #e2e8f0;
}

/* Sipariş detayı — etiket yazdır modalı (ekran); önizleme 150×100 mm yatay oranı */
.ad-laundry-label-print-modal__dialog {
  max-width: min(920px, 100vw - 1.5rem);
}

.ad-laundry-label-print-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
}

.ad-laundry-label-print-layout__main {
  flex: 1 1 auto;
  min-width: 0;
}

.ad-laundry-label-print-layout__preview {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

@media (min-width: 576px) {
  .ad-laundry-label-print-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .ad-laundry-label-print-layout__preview {
    justify-content: flex-end;
    padding-top: 0.15rem;
  }

  .ad-laundry-label-print-layout__preview .ad-laundry-label-print-sheet {
    margin: 0;
  }
}

.ad-laundry-label-print-lines {
  max-height: 15rem;
  overflow-y: auto;
  padding-right: 2px;
}

.ad-laundry-label-print-line {
  display: grid;
  grid-template-columns: auto 1fr minmax(4.25rem, 28%);
  gap: 0.45rem;
  align-items: center;
  padding: 0.5rem 0.55rem;
  margin-bottom: 0.45rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.ad-laundry-label-print-line:last-child {
  margin-bottom: 0;
}

.ad-laundry-label-print-line__name {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
}

.ad-laundry-label-print-line__qty {
  max-width: 100%;
}

/* Yıkama etiketi — krem / altın tonları, bölüm çizgileri */
.ad-laundry-label-print-sheet {
  --label-ink: #1a1612;
  --label-ink-soft: #3d3429;
  --label-gold: #a67c2e;
  --label-gold-deep: #8a6524;
  --label-gold-line: #d4bc7a;
  --label-gold-faint: rgba(166, 124, 46, 0.22);
  --label-cream: #fffdf7;
  --label-cream-mid: #faf4e6;
  --label-cream-deep: #f0e6d4;
  --label-line-box-border: rgba(71, 85, 105, 0.5);
  --label-line-box-bg: #fffef9;
  width: 100%;
  max-width: min(480px, 100%);
  margin: 0 auto;
  aspect-ratio: 150 / 100;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem 0.7rem;
  border-radius: 10px;
  background: linear-gradient(165deg, var(--label-cream) 0%, var(--label-cream-mid) 42%, #fff9ec 100%);
  color: var(--label-ink);
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  border: 3px solid var(--label-gold-deep);
  box-shadow:
    0 8px 28px rgba(42, 32, 16, 0.18),
    inset 0 0 0 2px var(--label-gold-line),
    inset 0 0 0 5px var(--label-cream);
}

/* En üst: logo + sağında Eta Laundry */
.ad-laundry-label-print-sheet__logoTop {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: -0.05rem -0.15rem 0;
  padding: 0.38rem 0.65rem 0.4rem;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #f8ecd4 0%, #efe2c4 55%, #e8d9b6 100%);
  border: 1px solid var(--label-gold-line);
  border-bottom: 2px solid var(--label-gold);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

/* Müşteri: beyaz kutu + ince çerçeve (ürün kutularıyla aynı dil) */
.ad-laundry-label-print-sheet__topmeta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0 -0.15rem 0;
  padding: 0.4rem 0.52rem 0.42rem;
  border-radius: 0;
  background: var(--label-line-box-bg);
  border: 1px solid var(--label-line-box-border);
  border-top: none;
  border-bottom: 1px solid var(--label-line-box-border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.ad-laundry-label-print-sheet__logo {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(42, 32, 16, 0.12));
}

.ad-laundry-label-print-sheet__brand {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--label-ink);
  text-transform: uppercase;
  line-height: 1.15;
  text-align: left;
}

.ad-laundry-label-print-sheet__firm {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.22;
  word-break: break-word;
  color: var(--label-ink);
  letter-spacing: -0.02em;
  padding: 0.08rem 0.15rem 0 0;
  margin: 0;
  text-align: left;
  border: none;
  box-shadow: none;
}

.ad-laundry-label-print-sheet__lines {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0.32rem -0.15rem 0.28rem;
  padding: 0;
  border-bottom: none;
}

/* Her ürün satırı: üstteki müşteri kutusuyla aynı kutu stili */
.ad-laundry-label-print-sheet__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.38rem 0.52rem;
  margin: 0;
  border: 1px solid var(--label-line-box-border);
  border-radius: 6px;
  background: var(--label-line-box-bg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  font-size: 0.88rem;
  line-height: 1.3;
}

.ad-laundry-label-print-sheet__line--empty {
  color: #9a8b72;
  font-size: 0.8rem;
  font-weight: 600;
  justify-content: center;
  padding: 0.42rem 0.52rem;
  border: 1px solid var(--label-line-box-border);
  border-radius: 6px;
  background: var(--label-line-box-bg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.ad-laundry-label-print-sheet__line-name {
  font-weight: 800;
  color: var(--label-ink-soft);
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.ad-laundry-label-print-sheet__line-qty {
  font-weight: 800;
  color: var(--label-gold-deep);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 0.92rem;
  padding-left: 0.45rem;
  margin-left: 0.1rem;
  border-left: 1px solid rgba(71, 85, 105, 0.22);
}

.ad-laundry-label-print-sheet--dense .ad-laundry-label-print-sheet__line {
  font-size: 0.74rem;
  padding: 0.28rem 0.42rem;
  gap: 0.4rem;
}

.ad-laundry-label-print-sheet--dense .ad-laundry-label-print-sheet__line-qty {
  font-size: 0.78rem;
  padding-left: 0.38rem;
}

.ad-laundry-label-print-sheet--dense .ad-laundry-label-print-sheet__firm {
  font-size: 0.92rem;
  padding-top: 0.04rem;
}

.ad-laundry-label-print-sheet--dense .ad-laundry-label-print-sheet__brand {
  font-size: 0.88rem;
}

.ad-laundry-label-print-sheet--dense .ad-laundry-label-print-sheet__topmeta {
  padding-top: 0.3rem;
  padding-bottom: 0.32rem;
}

.ad-laundry-label-print-sheet--dense .ad-laundry-label-print-sheet__logoTop {
  gap: 0.45rem;
  padding-top: 0.26rem;
  padding-bottom: 0.28rem;
}

.ad-laundry-label-print-sheet--dense .ad-laundry-label-print-sheet__logo {
  width: 2.35rem;
  height: 2.35rem;
}

.ad-laundry-label-print-sheet--dense .ad-laundry-label-print-sheet__when {
  font-size: 0.72rem;
}

.ad-laundry-label-print-sheet--dense .ad-laundry-label-print-sheet__line--empty {
  padding: 0.32rem 0.42rem;
  font-size: 0.72rem;
}

.ad-laundry-label-print-sheet__when {
  flex: 0 0 auto;
  max-width: 48%;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--label-gold-deep);
  margin: 0;
  padding: 0.08rem 0 0 0.4rem;
  text-align: right;
  line-height: 1.25;
  white-space: normal;
  border: none;
  background: none;
  font-variant-numeric: tabular-nums;
  border-left: 1px solid rgba(71, 85, 105, 0.22);
}

.ad-laundry-label-print-sheet__code {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--label-gold-deep);
  letter-spacing: 0.04em;
  padding: 0.18rem 0.15rem 0.05rem;
  margin: 0 -0.05rem;
  border-top: 1px dashed var(--label-gold-line);
}

@media print {
  @page {
    /* yatay etiket: genişlik 150 mm, yükseklik 100 mm (A4 değil) */
    size: 150mm 100mm;
    margin: 3mm;
  }

  html,
  body {
    width: 150mm !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  body * {
    visibility: hidden !important;
  }

  #adLaundryLabelPrintSheet,
  #adLaundryLabelPrintSheet * {
    visibility: visible !important;
  }

  #adLaundryLabelPrintSheet {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 150mm !important;
    min-height: 94mm !important;
    max-width: 150mm !important;
    margin: 0 !important;
    padding: 4.5mm 5.5mm !important;
    border: 3px solid #8a6524 !important;
    border-radius: 3px !important;
    background: linear-gradient(165deg, #fffdf7 0%, #faf4e6 45%, #fff9ec 100%) !important;
    box-shadow: inset 0 0 0 2px #d4bc7a !important;
    aspect-ratio: auto !important;
    color: #1a1612 !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .ad-laundry-label-print-hide-print,
  .ad-laundry-label-print-controls {
    display: none !important;
  }

  .modal-backdrop {
    display: none !important;
  }
}

@media (max-width: 400px) {
  .ad-laundry-detail__close span,
  .ad-laundry-detail__print-btn span,
  .ad-laundry-detail__invoice-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .ad-laundry-detail__close,
  .ad-laundry-detail__print-btn,
  .ad-laundry-detail__invoice-btn {
    width: 2.6rem;
    min-width: 2.6rem;
    /* Dar ekranda ikon kutusu; metin aria-label ile */
    padding-left: 0;
    padding-right: 0;
  }
}

.ad-laundry-detail__section-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.92);
  margin-bottom: 0.35rem;
}

.ad-laundry-detail__section-hint {
  max-width: 42rem;
}

.ad-laundry-detail__products {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.ad-laundry-product-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1.25;
  color: rgba(248, 250, 252, 0.95);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 2px 12px rgba(2, 6, 23, 0.25);
}

.ad-laundry-product-chip__qty {
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.72rem;
}

.ad-laundry-product-chip__price {
  color: rgba(125, 211, 252, 0.98);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ad-laundry-stage-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.ad-laundry-stage-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 0.85rem;
  align-items: start;
  padding: 0.55rem 0;
  position: relative;
}

.ad-laundry-stage-step:not(:last-child) {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.ad-laundry-stage-step__dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  border: 2px solid rgba(148, 163, 184, 0.35);
  color: rgba(148, 163, 184, 0.85);
  background: rgba(15, 23, 42, 0.6);
}

.ad-laundry-stage-step--pending .ad-laundry-stage-step__dot {
  border-style: dashed;
  opacity: 0.75;
}

.ad-laundry-stage-step--done .ad-laundry-stage-step__dot {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.15);
  color: rgba(134, 239, 172, 0.95);
}

.ad-laundry-stage-step--current .ad-laundry-stage-step__dot {
  border-color: rgba(56, 189, 248, 0.85);
  background: rgba(56, 189, 248, 0.22);
  color: rgba(224, 242, 254, 0.98);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Sırayla geçilmiş sayılan ama olay kaydı olmayan aşama (işleme alınmadı) */
.ad-laundry-stage-step--skipped .ad-laundry-stage-step__dot {
  border-style: dashed;
  border-color: rgba(234, 179, 8, 0.5);
  background: rgba(234, 179, 8, 0.1);
  color: rgba(253, 224, 71, 0.95);
}

.ad-laundry-stage-step--skipped .ad-laundry-stage-step__meta {
  color: rgba(250, 204, 21, 0.85);
}

.ad-laundry-stage-step__name {
  font-weight: 600;
  color: rgba(248, 250, 252, 0.96);
  font-size: 0.9rem;
}

.ad-laundry-stage-step__meta {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.92);
  margin-top: 0.15rem;
}

.ad-laundry-stage-step--current .ad-laundry-stage-step__meta {
  color: rgba(125, 211, 252, 0.95);
}

.ad-laundry-detail-lines-table {
  --bs-table-bg: transparent;
  --bs-table-color: rgba(248, 250, 252, 0.92);
  border-color: rgba(56, 189, 248, 0.15);
  font-size: 0.85rem;
}

.ad-laundry-detail-lines-table thead th {
  color: rgba(148, 163, 184, 0.95);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom-color: rgba(56, 189, 248, 0.2);
}

.ad-laundry-detail-lines-table tbody td {
  border-color: rgba(148, 163, 184, 0.1);
  vertical-align: middle;
}

.ad-laundry-detail-lines-table tbody td.ad-laundry-detail-lines-table__product {
  color: #f8fafc !important;
  font-weight: 600;
}

.ad-laundry-detail-lines-table .ad-laundry-detail-line-disc,
.ad-laundry-detail-lines-table .ad-laundry-detail-line-extra {
  max-width: 6.75rem;
  margin-left: auto;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ad-laundry-product-chip__name {
  color: #f8fafc !important;
  font-weight: 600;
}

.ad-laundry-detail__lines-total {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
}

.ad-laundry-detail__lines-foot {
  padding-top: 0.35rem;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
}

.ad-laundry-detail-lines-table .ad-laundry-detail-line-unit {
  max-width: 6.75rem;
  margin-left: auto;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Çamaşır siparişi: onay / tahsilat / iptal — Bootstrap modal (native confirm yerine) */
.ad-laundry-action-modal .modal-dialog {
  max-width: min(520px, calc(100vw - 1.5rem));
}

.ad-laundry-action-modal__footer {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: stretch;
  gap: 0.5rem;
  width: 100%;
}

.ad-laundry-action-modal__footer .btn {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  font-size: 0.8125rem;
  padding: 0.45rem 0.5rem;
  line-height: 1.25;
}

@media (max-width: 400px) {
  .ad-laundry-action-modal__footer .btn {
    font-size: 0.72rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
}

/* Yıkama adedi — oklar gizli, büyük ortalanmış rakam */
.ad-laundry-wash-delta-field {
  margin-top: 1rem;
}

.ad-laundry-wash-delta-field .form-label {
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}

.ad-laundry-wash-delta-input-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
}

/* Bootstrap .form-control + site.css .form-control:focus beyaz gölgeleri ezmesin */
.ad-laundry-action-modal .ad-laundry-wash-delta-input.form-control,
.ad-laundry-action-modal .ad-laundry-wash-delta-input {
  width: 5.5rem;
  max-width: 100%;
  text-align: center;
  font-size: 1.625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  color: #e0f2fe !important;
  background-color: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 20px rgba(2, 6, 23, 0.45);
  caret-color: #7dd3fc;
  -moz-appearance: textfield;
}

.ad-laundry-action-modal .ad-laundry-wash-delta-input::-webkit-outer-spin-button,
.ad-laundry-action-modal .ad-laundry-wash-delta-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ad-laundry-action-modal .ad-laundry-wash-delta-input.form-control:focus,
.ad-laundry-action-modal .ad-laundry-wash-delta-input.form-control:focus-visible,
.ad-laundry-action-modal .ad-laundry-wash-delta-input.form-control:active,
.ad-laundry-action-modal .ad-laundry-wash-delta-input:focus,
.ad-laundry-action-modal .ad-laundry-wash-delta-input:focus-visible,
.ad-laundry-action-modal .ad-laundry-wash-delta-input:active {
  border-color: #38bdf8 !important;
  background-color: rgba(15, 23, 42, 0.99) !important;
  color: #f0f9ff !important;
  outline: none !important;
  box-shadow:
    0 0 0 3px rgba(56, 189, 248, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.ad-laundry-action-modal .ad-laundry-wash-delta-input.form-control:-webkit-autofill,
.ad-laundry-action-modal .ad-laundry-wash-delta-input.form-control:-webkit-autofill:hover,
.ad-laundry-action-modal .ad-laundry-wash-delta-input.form-control:-webkit-autofill:focus,
.ad-laundry-action-modal .ad-laundry-wash-delta-input:-webkit-autofill,
.ad-laundry-action-modal .ad-laundry-wash-delta-input:-webkit-autofill:hover,
.ad-laundry-action-modal .ad-laundry-wash-delta-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #e0f2fe !important;
  box-shadow: 0 0 0 1000px rgba(15, 23, 42, 0.98) inset !important;
  transition: background-color 99999s ease-out 0s;
}

.ad-laundry-action-modal .ad-laundry-wash-delta-input::placeholder {
  color: rgba(148, 163, 184, 0.75);
}

.ad-laundry-wash-delta-hint {
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.95);
}

.ad-laundry-action-modal__content {
  border-radius: 18px !important;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow:
    0 0 0 1px rgba(2, 6, 23, 0.5),
    0 28px 64px rgba(2, 6, 23, 0.75) !important;
}

.ad-laundry-action-modal__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ad-laundry-action-modal__icon--info {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.ad-laundry-action-modal__icon--success {
  color: #86efac;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.ad-laundry-action-modal__icon--warning {
  color: #fde047;
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.ad-laundry-action-modal__icon--danger {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.ad-laundry-timeline--rich .ad-laundry-timeline__item {
  position: relative;
  padding: 0.65rem 0 0.65rem 1rem;
  margin-bottom: 0;
  border-left: 2px solid rgba(56, 189, 248, 0.4);
  color: rgba(255, 255, 255, 0.88);
}

.ad-laundry-timeline--rich .ad-laundry-timeline__item:last-child {
  padding-bottom: 0;
}

.ad-laundry-timeline--rich .ad-laundry-timeline__item time {
  display: block;
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.95);
  margin-bottom: 0.2rem;
}

.ad-laundry-timeline--rich .ad-laundry-timeline__badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  margin-right: 0.35rem;
  vertical-align: middle;
  color: rgba(15, 23, 42, 0.95);
  background: rgba(56, 189, 248, 0.55);
}

.ad-laundry-timeline--rich .ad-laundry-timeline__text {
  font-weight: 500;
  color: rgba(248, 250, 252, 0.96);
}

.ad-laundry-detail__footer {
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.35));
}

.ad-laundry-detail__stage-edit {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 189, 248, 0.14);
}

/* ----- Admin dashboard shell ----- */
.ad-dashboard-shell {
  width: 100%;
  padding: 18px 0 28px;
}

.ad-dashboard-head {
  margin: 0 auto 16px;
  width: 100%;
  border: 1px solid rgba(56, 189, 248, 0.20);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.20), transparent 55%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.40);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.ad-dashboard-head-inner {
  padding: 18px 18px 16px;
}

@media (min-width: 768px) {
  .ad-dashboard-head-inner {
    padding: 22px 24px 18px;
  }
}

.ad-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.ad-dashboard-title {
  margin: 10px 0 6px;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  color: #ffffff;
}

.ad-dashboard-desc {
  margin: 0;
  color: rgba(226, 232, 240, 0.80);
  font-weight: 500;
  line-height: 1.6;
  max-width: 72ch;
}

.ad-dashboard-content {
  padding: 0;
}


.ad-stat-ic {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.ad-stat-value {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.ad-sidebar-offcanvas {
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  overflow-x: hidden;
}

.ad-sidebar-offcanvas-head {
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(15, 22, 32, 0.95) 0%, rgba(12, 17, 25, 0.88) 100%);
}

.ad-sidebar-offcanvas-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  color: rgba(248, 250, 252, 0.98);
  margin: 0;
}

.ad-sidebar-offcanvas-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.85);
  margin-top: 4px;
}

.ad-sidebar-offcanvas-body {
  padding: 0.85rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
}

.ad-sidebar-offcanvas-body--stack {
  /* Offcanvas flex yüksekliği: sabit vh kırılması yerine min-h-0 + içte tek scroll (nav) */
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ad-sidebar-nav--offcanvas-grow {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

.ad-sidebar-nav--offcanvas-grow::-webkit-scrollbar {
  width: 6px;
}

.ad-sidebar-nav--offcanvas-grow::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.32);
  border-radius: 99px;
}

.ad-sidebar-nav--offcanvas-grow::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}

.ad-sidebar-nav--offcanvas-grow::-webkit-scrollbar-track {
  background: transparent;
}

/* Müşteri — Faturalarım */
.ad-cust-inv-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: auto;
  min-height: 0;
  margin-top: 0.75rem;
  padding-right: 6px;
  margin-right: -4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

.ad-cust-inv-list::-webkit-scrollbar {
  width: 6px;
}
.ad-cust-inv-list::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.32);
  border-radius: 99px;
}
.ad-cust-inv-list::-webkit-scrollbar-track {
  background: transparent;
}

.ad-cust-inv-order-item {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.6);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  color: rgba(226, 232, 240, 0.95);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.ad-cust-inv-order-item:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.72);
}
.ad-cust-inv-order-item.is-active {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}
.ad-cust-inv-order-item__row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ad-cust-inv-order-item__code {
  font-weight: 800;
}
.ad-cust-inv-order-item__row2 {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ad-cust-inv-order-item__price {
  font-weight: 800;
}

.ad-cust-inv-detail {
  padding-right: 6px;
  margin-right: -4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}
.ad-cust-inv-detail::-webkit-scrollbar {
  width: 6px;
}
.ad-cust-inv-detail::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.32);
  border-radius: 99px;
}
.ad-cust-inv-detail::-webkit-scrollbar-track {
  background: transparent;
}

.ad-cust-inv-detail {
  overflow-x: hidden;
}

.ad-cust-uploaded-doc__actions {
  flex-wrap: wrap;
}
.ad-cust-uploaded-doc__actions > .btn {
  flex: 1 1 auto;
  min-width: 0;
}

.ad-cust-uploaded-doc__ratio {
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.ad-cust-uploaded-doc__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ad-cust-uploaded-doc__pdf {
  min-height: 100%;
  background: rgba(0, 0, 0, 0.22);
}

.ad-laundry-order-docs__row:last-child {
  border-bottom: 0 !important;
}

.ad-cust-inv-paper {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.35), rgba(15, 23, 42, 0.55));
  padding: 1rem 1rem;
}
.ad-cust-inv-paper__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.ad-cust-inv-paper__title {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(248, 250, 252, 0.98);
}
.ad-cust-inv-paper__title--efatura {
  letter-spacing: 0.12em;
  font-size: 1.05rem;
}
.ad-cust-inv-paper__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.9rem;
}
@media (max-width: 575.98px) {
  .ad-cust-inv-paper__meta {
    grid-template-columns: 1fr;
  }
}
.ad-cust-inv-meta {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  background: rgba(15, 23, 42, 0.45);
}
.ad-cust-inv-paper__foot {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Müşteri Faturalarım — GİB e-belge önizleme düzeni (baskı: a4 yakın) */
.et-gib-doc {
  --et-gib-border: #1a1a1a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 1.35;
  color: #111;
  background: #fff;
  border: 1px solid var(--et-gib-border);
  padding: 10px 12px 14px;
  max-width: 820px;
  margin: 0 auto;
  box-sizing: border-box;
}
.et-gib-doc *,
.et-gib-doc *::before,
.et-gib-doc *::after {
  box-sizing: border-box;
}
.et-gib-doc__header {
  display: grid;
  grid-template-columns: 1fr minmax(140px, 200px) minmax(160px, 220px);
  gap: 8px 10px;
  align-items: start;
  border-bottom: 1px solid var(--et-gib-border);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
@media (max-width: 767.98px) {
  .et-gib-doc__header {
    grid-template-columns: 1fr;
  }
}
.et-gib-doc__issuer-name {
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 4px;
}
.et-gib-doc__issuer-lines > div {
  margin-bottom: 2px;
}
.et-gib-doc__center {
  text-align: center;
  padding: 0 4px;
}
.et-gib-doc__gib-mark {
  font-size: 8px;
  line-height: 1.25;
  color: #222;
  margin-bottom: 6px;
}
.et-gib-doc__main-title {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.et-gib-doc__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.et-gib-doc__qr {
  width: 72px;
  height: 72px;
  border: 1px solid var(--et-gib-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #666;
  flex-shrink: 0;
}
.et-gib-doc__seller-logo {
  font-size: 9px;
  font-weight: 700;
  text-align: right;
  max-width: 120px;
  line-height: 1.2;
}
.et-gib-doc__meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
  border: 1px solid var(--et-gib-border);
}
.et-gib-doc__meta-table td {
  border: 1px solid var(--et-gib-border);
  padding: 3px 5px;
  vertical-align: top;
}
.et-gib-doc__meta-k {
  font-weight: 700;
  background: #f3f3f3;
  width: 42%;
  white-space: nowrap;
}
.et-gib-doc__sayin {
  margin: 8px 0 4px;
  font-size: 10px;
}
.et-gib-doc__sayin-label {
  font-weight: 700;
  margin-bottom: 2px;
}
.et-gib-doc__sayin-name {
  font-weight: 700;
  font-size: 11px;
}
.et-gib-doc__sayin-line {
  margin-top: 2px;
}
.et-gib-doc__ettn {
  border: 1px solid var(--et-gib-border);
  padding: 4px 6px;
  font-size: 9px;
  word-break: break-all;
  margin-bottom: 8px;
}
.et-gib-doc__lines {
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
  border: 1px solid var(--et-gib-border);
}
.et-gib-doc__lines th,
.et-gib-doc__lines td {
  border: 1px solid var(--et-gib-border);
  padding: 4px 5px;
  vertical-align: top;
}
.et-gib-doc__lines th {
  background: #eaeaea;
  font-weight: 700;
  text-align: center;
}
.et-gib-doc__lines .et-gib-num {
  text-align: center;
  width: 28px;
}
.et-gib-doc__lines .et-gib-end {
  text-align: right;
  white-space: nowrap;
}
.et-gib-doc__total-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}
.et-gib-doc__total-box {
  border: 1px solid var(--et-gib-border);
  min-width: 160px;
  font-size: 10px;
}
.et-gib-doc__total-box td {
  border: 1px solid var(--et-gib-border);
  padding: 4px 8px;
}
.et-gib-doc__total-k {
  font-weight: 700;
  background: #f3f3f3;
}
.et-gib-doc__related {
  margin-top: 10px;
  font-size: 10px;
}
.et-gib-doc__related-title {
  font-weight: 700;
  margin-bottom: 4px;
}
.et-gib-doc__related table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
  border: 1px solid var(--et-gib-border);
}
.et-gib-doc__related th,
.et-gib-doc__related td {
  border: 1px solid var(--et-gib-border);
  padding: 3px 5px;
}
.et-gib-doc__related th {
  background: #eaeaea;
}
.et-gib-doc__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  font-size: 9px;
  align-items: start;
}
@media (max-width: 575.98px) {
  .et-gib-doc__footer {
    grid-template-columns: 1fr;
  }
}
.et-gib-doc__footer--efatura .et-gib-doc__carrier {
  display: none;
}
.et-gib-doc__notes-title,
.et-gib-doc__carrier-title {
  font-weight: 700;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--et-gib-border);
  padding-bottom: 2px;
}
.et-gib-doc__notes,
.et-gib-doc__carrier {
  border: 1px solid var(--et-gib-border);
  padding: 6px;
  min-height: 80px;
}
.et-gib-doc__carrier-line {
  margin-bottom: 3px;
}

/* (Faturalarım) Belge sekme şeridi kaldırıldı: artık irsaliye + fatura yan yana gösteriliyor. */

.ad-sidebar-footer--offcanvas {
  flex-shrink: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

@media (max-width: 991.98px) {
  .ad-layout {
    display: block;
  }

  .ad-sidebar {
    display: none !important;
  }
}

/* ===== Admin template: referans görünüme yakın modern dashboard ===== */
.ad-template-body {
  --ad-edge-gap: 10px;            /* kenarlardan az boşluk */
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* sayfa scroll kapalı */
  background:
    radial-gradient(circle at 15% 12%, rgba(59, 130, 246, 0.08), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(16, 185, 129, 0.06), transparent 30%),
    linear-gradient(180deg, #0c1119 0%, #0a0f16 100%);
}

.ad-template-body .et-bubble-layer {
  opacity: 0.08;
}

.ad-template-body .ad-admin-header {
  position: sticky;
  top: 0;
  z-index: 70;
  flex: 0 0 auto;
  background: #0f141c;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.ad-template-body .ad-admin-header-inner {
  padding: 12px clamp(16px, 2vw, 28px);
  width: 100%;
  max-width: none;
}

.ad-template-body .ad-layout {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: stretch; /* .ad-layout { align-items:flex-start } üstüne; ad-main tam yükseklik */
  align-content: stretch;
  /* basis 0: satır yüksekliği içerikle sınırsız büyümesin; admin’de height:0 ek şablonda */
  flex: 1 1 0%;
  min-height: 0;
  overflow: hidden; /* içerikler kendi içinde scroll */
}

/* Admin dashboard: yuvarlatılmış panel + daraltılabilir rail */
.ad-template-body .ad-sidebar.ad-sidebar--shell {
  width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  /* .ad-layout satır yüksekliği = .ad-main; menü dış kutusu da aynı yükseklikte bitsin, kaydırma .ad-sidebar-nav içinde */
  align-self: stretch;
  min-height: 0;
  max-height: none;
  height: auto;
  position: relative;
  margin: var(--ad-edge-gap) 0 var(--ad-edge-gap) var(--ad-edge-gap);
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #121826;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(15, 23, 42, 0.5) inset;
  transition:
    width 0.28s ease,
    flex-basis 0.28s ease;
}

.ad-template-body .ad-sidebar.ad-sidebar--shell.ad-sidebar--collapsed {
  width: 76px;
  flex: 0 0 76px;
}

.ad-template-body .ad-sidebar.ad-sidebar--shell .ad-sidebar-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px 12px 16px;
  height: 100%;
}

.ad-template-body .ad-sidebar.ad-sidebar--shell .ad-sidebar-nav {
  gap: 0.35rem;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.55) rgba(15, 23, 42, 0.35);
}

.ad-template-body .ad-sidebar.ad-sidebar--shell .ad-sidebar-nav::-webkit-scrollbar {
  width: 8px;
}

.ad-template-body .ad-sidebar.ad-sidebar--shell .ad-sidebar-nav::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

.ad-template-body .ad-sidebar.ad-sidebar--shell .ad-sidebar-nav::-webkit-scrollbar-track {
  margin: 4px 0;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 99px;
}

.ad-template-body .ad-sidebar.ad-sidebar--shell .ad-sidebar-nav::-webkit-scrollbar-thumb {
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
  background-color: rgba(100, 116, 139, 0.55);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.ad-template-body .ad-sidebar.ad-sidebar--shell .ad-sidebar-nav::-webkit-scrollbar-thumb:hover {
  background-color: rgba(148, 163, 184, 0.5);
}

.ad-sidebar--shell .ad-sidebar-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.ad-sidebar--shell .ad-sidebar-topbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ad-sidebar--shell .ad-sidebar-topbar-title__track,
.ad-sidebar-offcanvas--shell .ad-sidebar-topbar-title__track {
  width: 3px;
  height: 1.15em;
  align-self: stretch;
  min-height: 1.15em;
  border-radius: 99px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 40%, #6366f1 100%);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

.ad-sidebar--shell .ad-sidebar-topbar-title__label,
.ad-sidebar-offcanvas--shell .ad-sidebar-topbar-title__label {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.25;
  color: #e2e8f0;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .ad-sidebar--shell .ad-sidebar-topbar-title__label,
  .ad-sidebar-offcanvas--shell .ad-sidebar-topbar-title__label {
    color: transparent;
    background: linear-gradient(105deg, #f8fafc 0%, #e0f2fe 38%, #7dd3fc 72%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.ad-sidebar-offcanvas--shell .ad-sidebar-offcanvas-menu-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
  overflow-x: hidden;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.ad-sidebar--shell .ad-sidebar-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.ad-sidebar--shell .ad-sidebar-logout-btn {
  border-radius: 12px;
  border-color: rgba(148, 163, 184, 0.28) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.ad-sidebar--shell .ad-sidebar-logout-ic {
  flex-shrink: 0;
}

.ad-sidebar--shell .ad-sidebar-collapse-btn {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ad-sidebar--shell .ad-sidebar-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(148, 163, 184, 0.35);
}

.ad-sidebar--shell .ad-sidebar-collapse-btn:focus {
  outline: none;
}

.ad-sidebar--shell .ad-sidebar-collapse-btn:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.55);
  outline-offset: 2px;
}

.ad-sidebar--shell .ad-sidebar-collapse-btn i {
  font-size: 0.75rem;
  transition: transform 0.28s ease;
}

.ad-sidebar--shell.ad-sidebar--collapsed .ad-sidebar-collapse-btn i {
  transform: rotate(180deg);
}

.ad-sidebar--shell .ad-sidebar-nav .nav-link::before,
.ad-sidebar--shell .ad-sidebar-nav .nav-link::after {
  display: none;
}

.ad-sidebar--shell .ad-sidebar-nav .nav-link {
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(241, 245, 249, 0.9) !important;
  padding: 0.62rem 0.75rem;
  transform: none;
  box-shadow: none;
}

.ad-sidebar--shell .ad-sidebar-nav .nav-link:hover:not(.active) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.12);
}

.ad-sidebar--shell .ad-sidebar-nav .nav-link .ad-sidebar-nav-ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.88rem;
  overflow: visible;
}

.ad-sidebar--shell .ad-sidebar-nav .nav-link.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(37, 99, 235, 0.12)) !important;
  border-color: rgba(56, 189, 248, 0.38) !important;
  color: #f0f9ff !important;
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.12) inset,
    0 8px 28px rgba(2, 12, 27, 0.45);
}

.ad-sidebar--shell .ad-sidebar-nav .nav-link.active .ad-sidebar-nav-ic {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(125, 211, 252, 0.4);
  color: #e0f2fe;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.18);
}

.ad-sidebar--shell .ad-sidebar-nav .nav-link.active .ad-nav-item-title {
  color: #f8fafc;
}

.ad-sidebar--shell .ad-sidebar-nav .nav-link.active .ad-nav-item-meta {
  color: rgba(186, 230, 253, 0.88);
}

.ad-sidebar--shell.ad-sidebar--collapsed .ad-sidebar-topbar {
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.ad-sidebar--shell.ad-sidebar--collapsed .ad-sidebar-logo-badge {
  align-self: center;
}

.ad-sidebar--shell.ad-sidebar--collapsed .ad-sidebar-collapse-btn {
  width: 100%;
}

.ad-sidebar--shell.ad-sidebar--collapsed .ad-sidebar-topbar-title {
  display: none;
}

.ad-sidebar--shell.ad-sidebar--collapsed .ad-sidebar-nav .nav-link {
  justify-content: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.ad-sidebar--shell.ad-sidebar--collapsed .ad-sidebar-nav .nav-link .ad-sidebar-nav-ic {
  margin-right: 0 !important;
}

.ad-sidebar--shell.ad-sidebar--collapsed .ad-nav-item-text {
  display: none;
}

.ad-sidebar--shell.ad-sidebar--collapsed .ad-sidebar-logout-label {
  display: none;
}

.ad-sidebar--shell.ad-sidebar--collapsed .ad-sidebar-logout-btn {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Customers page: ensure readable list text */
#adCustomerList .list-group-item,
#adCustomerList .list-group-item * {
  color: rgba(255, 255, 255, 0.96) !important;
}

#adCustomerList .list-group-item:hover,
#adCustomerList .list-group-item:focus {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Operatörler sol liste: satır boyutu, hover ve seçili vurgu (müşteri / ürün listeleriyle aynı aktif stil) */
#adOperatorList .list-group-item-action {
  padding: 0.72rem 0.95rem;
  border-radius: 12px;
  margin: 0.2rem 0.2rem;
  border: 1px solid transparent;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

#adOperatorList .list-group-item,
#adOperatorList .list-group-item * {
  color: rgba(255, 255, 255, 0.96) !important;
}

#adOperatorList .list-group-item-action:hover:not(.active),
#adOperatorList .list-group-item-action:focus:not(.active) {
  background: rgba(56, 189, 248, 0.11) !important;
  border-color: rgba(56, 189, 248, 0.32) !important;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.14);
}

#adOperatorList .list-group-item-action:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.55);
  outline-offset: 2px;
}

/* Customers page: keep right/left column heights aligned on desktop */
.ad-customer-right-card__body {
  max-height: min(750px, calc(100vh - 160px));
  overflow: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
}

.ad-customer-right-card__body::-webkit-scrollbar {
  width: 8px;
}

.ad-customer-right-card__body::-webkit-scrollbar-track {
  background: transparent;
}

.ad-customer-right-card__body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 99px;
  border: 2px solid rgba(2, 6, 23, 0.25);
}

.ad-customer-right-card__body::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.55);
}

/* left column: cap to same height as right column */
.ad-customer-left-card__body {
  max-height: calc(100vh - 160px);
}

@media (max-width: 991.98px) {
  .ad-customer-right-card__body {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .ad-customer-left-card__body {
    max-height: none;
  }

  /*
   * Müşteriler sekmesi sol kart: uzun liste kart içinde kayar; JS oto-scroll .ad-customer-list üzerinde çalışır.
   * (Genel mobil kuralı max-height:none — bu modifier daha spesifik.)
   */
  .ad-template-body .ad-customer-left-card__body.ad-customer-left-card__body--list-capped {
    max-height: min(58vh, 400px);
    max-height: min(58dvh, 400px);
    overflow: hidden;
  }

  /* Admin mobil: tek kaydırma (ad-main), scrollbar gizli — dokunmayla tüm sayfa */
  .ad-template-body .ad-main {
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Header yüksekliği cihazdan cihaza değişir (özellikle iPhone safe-area).
       JS bunu --ad-header-h olarak yazar. */
    padding-top: calc(var(--ad-header-h, 86px) + 14px);
    scroll-padding-top: calc(var(--ad-header-h, 86px) + 14px);
  }

  .ad-template-body .ad-main::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  /*
   * Çamaşır siparişleri: üst + alt kart viewport’a kilitlenmesin;
   * iç içe overflow:auto ile süreç hattı kesilmesin — uzunluk ad-main’de birleşsin.
   */
  /* Admin — Hesap sekmesi (kimlik + şifre / profil kartları) */
.ad-account-page {
  max-width: 960px;
  margin: 0 auto;
}

.ad-account-identity {
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.62));
  box-shadow: 0 14px 44px rgba(2, 6, 23, 0.4);
}

.ad-account-identity .card-body {
  background: transparent;
}

.ad-account-identity__avatar {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

.ad-account-identity__kicker {
  letter-spacing: 0.07em;
  font-size: 0.68rem;
  margin-bottom: 0.2rem;
}

.ad-account-identity__username {
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.ad-account-identity__hint {
  max-width: 40rem;
  line-height: 1.45;
}

.ad-account-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  min-height: 100%;
}

.ad-account-label {
  color: rgba(186, 230, 253, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
}

.ad-account-save-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-color: rgba(148, 163, 184, 0.38) !important;
}

.ad-account-save-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(226, 232, 240, 0.5) !important;
  color: #fff !important;
}

.ad-account-alert:empty {
  min-height: 0;
}

.ad-account-alert:not(:empty) {
  min-height: 1.25rem;
}

.ad-template-body .ad-main .ad-customer-page#adLaundryOrdersPage {
    flex: 0 0 auto;
    min-height: 0;
  }

  .ad-template-body .ad-main .ad-customer-page#adLaundryOrdersPage > [class*="col-"] {
    flex: 0 0 auto;
    min-height: 0 !important;
  }

  .ad-template-body #adLaundryOrdersPage .ad-panel.card.h-100 {
    height: auto !important;
    min-height: 0;
  }

  .ad-template-body #adLaundryOrdersPage .ad-laundry-right-card-body {
    overflow: visible !important;
  }

  .ad-template-body #adLaundryOrdersPage #adLaundryPanelDetail.ad-laundry-detail-shell {
    flex: 0 0 auto !important;
    max-height: none !important;
    min-height: 0;
  }

  .ad-template-body #adLaundryOrdersPage .ad-laundry-detail__scroll {
    overflow: visible !important;
    flex: 0 0 auto !important;
    max-height: none !important;
    min-height: 0 !important;
  }

  /* Liste sütunu: flex içinde sonsuz büyümesin; doğal yükseklik + ana scroll */
  .ad-template-body #adLaundryOrdersPage #adLaundryOrderList.ad-customer-list {
    flex: 0 1 auto;
    max-height: none;
    overflow: visible;
  }
}

/* Orta genişlik: tam daraltma yokken alt satırı gizle */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .ad-sidebar--shell:not(.ad-sidebar--collapsed) .ad-nav-item-meta {
    display: none;
  }
}

/* Mobil offcanvas — aynı menü stili */
.ad-sidebar-offcanvas--shell .ad-sidebar-nav .nav-link::before,
.ad-sidebar-offcanvas--shell .ad-sidebar-nav .nav-link::after {
  display: none;
}

.ad-sidebar-offcanvas--shell .ad-sidebar-nav .nav-link {
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(241, 245, 249, 0.9) !important;
  margin: 0 !important;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  transform: none;
  box-shadow: none;
}

.ad-sidebar-offcanvas--shell .ad-sidebar-nav .nav-link:hover:not(.active) {
  background: rgba(255, 255, 255, 0.06);
}

.ad-sidebar-offcanvas--shell .ad-sidebar-nav .nav-link.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(37, 99, 235, 0.12)) !important;
  border-color: rgba(56, 189, 248, 0.38) !important;
  color: #f0f9ff !important;
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.12) inset,
    0 8px 28px rgba(2, 12, 27, 0.45);
}

.ad-sidebar-offcanvas--shell .ad-sidebar-nav .nav-link.active .ad-sidebar-nav-ic {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(125, 211, 252, 0.4);
  color: #e0f2fe;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.18);
}

.ad-sidebar-offcanvas--shell .ad-sidebar-nav .nav-link.active .ad-nav-item-title {
  color: #f8fafc;
}

.ad-sidebar-offcanvas--shell .ad-sidebar-nav .nav-link.active .ad-nav-item-meta {
  color: rgba(186, 230, 253, 0.88);
}

.ad-template-body .ad-sidebar.ad-sidebar--shell .ad-nav-item-title {
  font-size: 0.93rem;
}

.ad-template-body .ad-sidebar.ad-sidebar--shell .ad-nav-item-meta {
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.82);
}

.ad-template-body .ad-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto; /* sadece dikey scroll */
  overflow-x: hidden; /* yatay scroll kapalı */
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
  /* sidebar ile üst hizayı aynı tut */
  padding: var(--ad-edge-gap) clamp(16px, 2vw, 28px) var(--ad-edge-gap);
  background: transparent;
  display: flex;
  flex-direction: column;
}

/* Etiket atama (xl yan yana): ana sütun uzamasın; liste kendi içinde kayar */
@media (min-width: 1200px) {
  .ad-template-body .ad-main:has(> .ad-label-workflow--fill) {
    overflow: hidden;
  }
}

.ad-template-body .ad-main > .ad-label-workflow--fill {
  flex: 1 1 0% !important;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

/* Customers page: make cards reach bottom (footer hizası) */
.ad-template-body .ad-main .ad-customer-page {
  flex: 1 1 auto;
  min-height: 0;
}

.ad-template-body .ad-main .ad-customer-page > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Customers page: right card scrolls only if content overflows */
.ad-customer-right-card__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden; /* yatay scroll kapalı */
  padding-right: 14px; /* scrollbar + nefes */
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
}

/* Customers page: make right card look cleaner */
.ad-customer-right-card__body .ad-panel-title + form {
  margin-top: 0.75rem !important;
}

/* Müşteriler sol kart: başlık + CTA — masaüstü h4 görünümü */
.ad-template-body .ad-customers-toolbar__heading {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(248, 250, 252, 0.98);
}

@media (max-width: 991.98px) {
  .ad-template-body .ad-customers-toolbar {
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .ad-template-body .ad-customers-toolbar__heading {
    font-size: 1.12rem;
    line-height: 1.2;
  }

  .ad-template-body .ad-customers-toolbar__title .ad-panel-icon.ad-customers-toolbar__icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 0.88rem;
  }

  .ad-template-body .ad-customers-toolbar__btn.ad-btn-new-customer {
    padding: 0.3rem 0.5rem 0.3rem 0.35rem;
    font-size: 0.72rem;
    gap: 0.32rem;
  }

  .ad-template-body .ad-customers-toolbar__btn.ad-btn-new-customer .ad-btn-new-customer__icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .ad-template-body .ad-customers-toolbar__heading {
    font-size: 1rem;
  }

  .ad-template-body .ad-customers-toolbar__title .ad-panel-icon.ad-customers-toolbar__icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 0.8rem;
  }
}

/* Admin template: compact padding (override global .et-form-input 2.5rem left) + light text on focus */
.ad-template-body .form-control.et-form-input {
  padding: 0.45rem 0.6rem !important;
  color: rgba(241, 245, 249, 0.98) !important;
  -webkit-text-fill-color: rgba(241, 245, 249, 0.98) !important;
  background: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

/* Select: ok ikonu + koyu zemin (background tek satırda chevron'u silmesin) */
.ad-template-body .form-select.et-form-select,
.ad-template-body .form-select.et-form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.45rem 2.45rem 0.45rem 0.65rem !important;
  color: rgba(241, 245, 249, 0.98) !important;
  -webkit-text-fill-color: rgba(241, 245, 249, 0.98) !important;
  border-color: rgba(56, 189, 248, 0.28) !important;
  border-radius: 10px;
  color-scheme: dark;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  background-color: rgba(15, 23, 42, 0.75) !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(125, 211, 252, 0.92) 50%),
    linear-gradient(135deg, rgba(125, 211, 252, 0.92) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.ad-template-body .et-form-input::placeholder,
.ad-template-body .form-control.et-form-input::placeholder {
  color: rgba(148, 163, 184, 0.75) !important;
  opacity: 1;
}

.ad-template-body .form-control.et-form-input:focus,
.ad-template-body .form-control.et-form-input:focus-visible,
.ad-template-body .form-control.et-form-input:active {
  color: rgba(241, 245, 249, 0.98) !important;
  -webkit-text-fill-color: rgba(241, 245, 249, 0.98) !important;
  background: rgba(15, 23, 42, 0.72) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2);
}

.ad-template-body .form-select.et-form-select:focus,
.ad-template-body .form-select.et-form-select:focus-visible,
.ad-template-body .form-select.et-form-select:active,
.ad-template-body .form-select.et-form-input:focus,
.ad-template-body .form-select.et-form-input:focus-visible,
.ad-template-body .form-select.et-form-input:active {
  color: rgba(241, 245, 249, 0.98) !important;
  -webkit-text-fill-color: rgba(241, 245, 249, 0.98) !important;
  border-color: rgba(56, 189, 248, 0.55) !important;
  background-color: rgba(15, 23, 42, 0.88) !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(224, 242, 254, 0.98) 50%),
    linear-gradient(135deg, rgba(224, 242, 254, 0.98) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
  outline: none;
}

.ad-template-body .form-control.et-form-input:disabled,
.ad-template-body .form-select.et-form-select:disabled,
.ad-template-body .form-select.et-form-input:disabled {
  opacity: 1;
  color: rgba(226, 232, 240, 0.92) !important;
  -webkit-text-fill-color: rgba(226, 232, 240, 0.92) !important;
  background: rgba(15, 23, 42, 0.35) !important;
}

.ad-template-body .form-select.et-form-select:disabled,
.ad-template-body .form-select.et-form-input:disabled {
  background-color: rgba(15, 23, 42, 0.42) !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(148, 163, 184, 0.55) 50%),
    linear-gradient(135deg, rgba(148, 163, 184, 0.55) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

.ad-template-body .form-control.et-form-input:-webkit-autofill,
.ad-template-body .form-control.et-form-input:-webkit-autofill:hover,
.ad-template-body .form-control.et-form-input:-webkit-autofill:focus {
  -webkit-text-fill-color: rgba(241, 245, 249, 0.98) !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(15, 23, 42, 0.65) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Müşteri formu: hesap aktif + Kaydet alanı */
.ad-template-body .ad-customer-account-strip {
  box-sizing: border-box;
  width: 100%;
  padding: 0.55rem 0.65rem 0.6rem;
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.72) 0%,
    rgba(30, 41, 59, 0.45) 100%
  );
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Bootstrap .form-check padding-left + float; flex ile çakışıp solu şişiriyor — sıfırla */
.ad-template-body .ad-customer-active-check.form-check {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  min-height: 0;
}

.ad-template-body .ad-customer-active-check {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  width: 100%;
  min-height: 0;
  margin-bottom: 0;
  padding: 0;
}

.ad-template-body .ad-customer-active-check .form-check-input {
  appearance: none;
  -webkit-appearance: none;
  float: none !important;
  margin-left: 0 !important;
  margin-top: 0.12rem;
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 7px;
  border: 2px solid rgba(148, 163, 184, 0.42);
  background: rgba(15, 23, 42, 0.75);
  --bs-form-check-bg: rgba(15, 23, 42, 0.75);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    transform 0.12s ease;
}

.ad-template-body .ad-customer-active-check .form-check-input:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.ad-template-body .ad-customer-active-check .form-check-input:focus {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
  outline: none;
}

.ad-template-body .ad-customer-active-check .form-check-input:checked {
  background-color: #0ea5e9;
  border-color: #7dd3fc;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70% 70%;
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.25),
    0 2px 8px rgba(14, 165, 233, 0.35);
}

.ad-template-body .ad-customer-active-check .form-check-input:checked:hover {
  filter: brightness(1.06);
}

.ad-template-body .ad-customer-active-check .form-check-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
  margin-left: 0;
  padding-top: 0;
  cursor: pointer;
  user-select: none;
  color: rgba(248, 250, 252, 0.98) !important;
}

.ad-template-body .ad-customer-active-check .form-check-label:hover,
.ad-template-body .ad-customer-active-check .form-check-label:active,
.ad-template-body .ad-customer-active-check:focus-within .form-check-label {
  color: rgba(248, 250, 252, 0.98) !important;
}

.ad-template-body .ad-customer-active-check__title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(248, 250, 252, 0.98) !important;
  line-height: 1.25;
}

.ad-template-body .ad-customer-active-check__hint {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(148, 163, 184, 0.92) !important;
  max-width: none;
}

.ad-template-body .ad-customer-inline-alert {
  box-sizing: border-box;
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  min-height: 0;
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.95);
}

.ad-template-body .ad-customer-inline-alert:empty {
  display: none;
}

.ad-template-body .ad-customer-save-row {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 0.55rem;
  margin-top: 0.5rem;
  padding-top: 0;
}

.ad-template-body .ad-customer-save-btn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.62rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 12px;
  color: #f8fafc !important;
  background: linear-gradient(145deg, #0ea5e9 0%, #2563eb 48%, #1d4ed8 100%);
  box-shadow:
    0 4px 16px rgba(37, 99, 235, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.ad-template-body .ad-customer-save-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 8px 28px rgba(37, 99, 235, 0.48),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  color: #fff !important;
}

.ad-template-body .ad-customer-save-btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

.ad-template-body .ad-customer-save-btn:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.85);
  outline-offset: 2px;
}

.ad-template-body .ad-customer-save-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
}

.ad-template-body .ad-customer-edit-alert {
  box-sizing: border-box;
  width: 100%;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.95);
  text-align: left;
}

/* Müşteri sayfası: şifre görünsün / gizle */
.ad-template-body .ad-password-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.ad-template-body .ad-password-wrap .ad-password-input {
  padding-right: 2.6rem !important;
}

.ad-template-body .ad-password-toggle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(30, 41, 59, 0.85);
  color: rgba(226, 232, 240, 0.95);
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ad-template-body .ad-password-toggle:hover {
  background: rgba(51, 65, 85, 0.95);
  color: #fff;
}

.ad-template-body .ad-user-password-hint {
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.95);
}

/* Müşteriler: “Yeni müşteri” CTA */
.ad-template-body .ad-btn-new-customer {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  border: none;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f8fafc !important;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 52%, #1d4ed8 100%);
  box-shadow:
    0 4px 18px rgba(37, 99, 235, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ad-template-body .ad-btn-new-customer__glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), transparent 55%);
  opacity: 0.65;
  pointer-events: none;
}

.ad-template-body .ad-btn-new-customer__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}

.ad-template-body .ad-btn-new-customer__text {
  position: relative;
  z-index: 1;
}

.ad-template-body .ad-btn-new-customer:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 8px 28px rgba(37, 99, 235, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  color: #fff !important;
}

.ad-template-body .ad-btn-new-customer:active {
  transform: translateY(0);
}

.ad-template-body .ad-btn-new-customer:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.85);
  outline-offset: 2px;
}

/* Süreç aşamaları: sürükle-bırak */
.ad-template-body .ad-stage-row {
  cursor: grab;
  user-select: none;
}

.ad-template-body .ad-stage-row:active {
  cursor: grabbing;
}

.ad-template-body .ad-stage-row.ad-stage-row--dragging {
  opacity: 0.55;
}

.ad-template-body .ad-stage-grip {
  cursor: grab;
  padding: 0.15rem 0.25rem;
  touch-action: none;
}

/* Müşteriyi sil — ana form */
.ad-template-body .ad-customer-delete-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.58rem 1rem;
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fecaca !important;
  background: linear-gradient(
    145deg,
    rgba(127, 29, 29, 0.55) 0%,
    rgba(69, 10, 10, 0.72) 100%
  );
  box-shadow:
    0 4px 18px rgba(220, 38, 38, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, border-color 0.18s ease;
}

.ad-template-body .ad-customer-delete-btn__shine {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 25% 20%, rgba(248, 113, 113, 0.18), transparent 50%);
  pointer-events: none;
  opacity: 0.9;
}

.ad-template-body .ad-customer-delete-btn__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.18);
  color: #fca5a5;
  font-size: 0.82rem;
}

.ad-template-body .ad-customer-delete-btn__text {
  position: relative;
  z-index: 1;
}

.ad-template-body .ad-customer-delete-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 113, 113, 0.65);
  filter: brightness(1.08);
  box-shadow:
    0 8px 26px rgba(220, 38, 38, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  color: #fee2e2 !important;
}

.ad-template-body .ad-customer-delete-btn:active {
  transform: translateY(0);
}

.ad-template-body .ad-customer-delete-btn:focus-visible {
  outline: 2px solid rgba(248, 113, 113, 0.8);
  outline-offset: 2px;
}

/* Admin/Customer modal overlay: :has() mobilde performans sorununa neden olabiliyor. */
.ad-template-body .modal-backdrop.show {
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Mobilde blur pahalı olabildiği için overlay sadeleşir, modal etkileşimi akıcı kalır. */
@media (max-width: 991.98px) {
  .ad-template-body .modal-backdrop.show {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Bootstrap body.modal-open kilidi sırasında modalın kendi içinde güvenli kaydırma */
  .ad-template-body .modal.show {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
  }

  .ad-template-body .modal.show .modal-dialog {
    margin: 0.5rem auto;
    min-height: calc(100dvh - 1rem);
    display: flex;
    align-items: flex-start;
  }

  .ad-template-body .modal.show .modal-content {
    width: 100%;
    max-height: calc(100dvh - 1rem);
    display: flex;
    flex-direction: column;
  }

  .ad-template-body .modal.show .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    min-height: 0;
  }
}

/* iOS Safari: full-screen backdrop-filter blur bazı cihazlarda modal açılışında donmaya yol açabiliyor.
   iOS'ta blur kapat → sadece koyu overlay kalsın. */
@supports (-webkit-touch-callout: none) {
  html.is-ios .modal-backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

.ad-customer-create-modal__dialog {
  max-width: 560px;
}

.ad-customer-create-modal__content {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.94) 0%,
    rgba(30, 41, 59, 0.88) 50%,
    rgba(15, 23, 42, 0.92) 100%
  );
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
}

.ad-customer-create-modal__header {
  padding: 1.25rem 1.35rem 0.85rem;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.06), transparent);
}

.ad-customer-create-modal__head-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #e0f2fe;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.35), rgba(37, 99, 235, 0.22));
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.25),
    0 8px 20px rgba(14, 165, 233, 0.15);
}

.ad-customer-create-modal__close {
  opacity: 0.85;
  align-self: flex-start;
}

.ad-customer-create-modal__body {
  padding: 0 1.35rem 1.35rem;
}

@media (max-width: 991.98px) {
  .ad-template-body .ad-customer-create-modal .modal-dialog-centered {
    align-items: flex-start;
  }

  .ad-template-body .ad-customer-create-modal .ad-customer-create-modal__dialog {
    margin: 0.5rem auto;
    min-height: calc(100dvh - 1rem);
  }

  .ad-template-body .ad-customer-create-modal .ad-customer-create-modal__content {
    max-height: calc(100dvh - 1rem);
    display: flex;
    flex-direction: column;
  }

  .ad-template-body .ad-customer-create-modal .ad-customer-create-modal__body {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

.ad-customer-create-modal .ad-modal-section {
  padding: 1rem 1.05rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.ad-customer-create-modal .ad-modal-section--accent {
  background: linear-gradient(
    145deg,
    rgba(14, 165, 233, 0.08) 0%,
    rgba(2, 6, 23, 0.4) 100%
  );
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.06);
}

.ad-customer-create-modal .ad-modal-section__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.92);
}

.ad-customer-create-modal .ad-modal-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9px;
  font-size: 0.8rem;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.15);
}

.ad-customer-create-modal .ad-modal-section--accent .ad-modal-section__icon {
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.22);
}

.ad-customer-create-modal__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  margin-top: 0.25rem;
  padding-top: 0.25rem;
}

@media (min-width: 480px) {
  .ad-customer-create-modal__actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .ad-customer-create-modal__alert {
    flex: 1;
    min-width: 0;
    text-align: left;
  }
}

.ad-customer-create-modal .ad-customer-create-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.62rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f8fafc !important;
  background: linear-gradient(145deg, #0ea5e9 0%, #2563eb 48%, #1d4ed8 100%);
  box-shadow:
    0 4px 20px rgba(37, 99, 235, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.ad-customer-create-modal .ad-customer-create-submit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
}

.ad-customer-create-modal .ad-customer-create-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 8px 28px rgba(37, 99, 235, 0.52),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  color: #fff !important;
}

.ad-customer-create-modal .ad-customer-create-submit:active {
  transform: translateY(0);
}

.ad-customer-create-modal .form-control.et-form-input {
  padding: 0.45rem 0.6rem !important;
  color: rgba(241, 245, 249, 0.98) !important;
  -webkit-text-fill-color: rgba(241, 245, 249, 0.98) !important;
  background: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ad-customer-create-modal .form-select.et-form-select,
.ad-customer-create-modal .form-select.et-form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.45rem 2.45rem 0.45rem 0.65rem !important;
  color: rgba(241, 245, 249, 0.98) !important;
  -webkit-text-fill-color: rgba(241, 245, 249, 0.98) !important;
  border-color: rgba(56, 189, 248, 0.28) !important;
  border-radius: 10px;
  color-scheme: dark;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  background-color: rgba(15, 23, 42, 0.75) !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(125, 211, 252, 0.92) 50%),
    linear-gradient(135deg, rgba(125, 211, 252, 0.92) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.ad-customer-create-modal .form-control.et-form-input::placeholder {
  color: rgba(148, 163, 184, 0.75) !important;
  opacity: 1;
}

.ad-customer-create-modal .form-control.et-form-input:focus,
.ad-customer-create-modal .form-control.et-form-input:focus-visible {
  color: rgba(241, 245, 249, 0.98) !important;
  -webkit-text-fill-color: rgba(241, 245, 249, 0.98) !important;
  background: rgba(15, 23, 42, 0.72) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2);
}

.ad-customer-create-modal .form-select.et-form-select:focus,
.ad-customer-create-modal .form-select.et-form-select:focus-visible,
.ad-customer-create-modal .form-select.et-form-input:focus,
.ad-customer-create-modal .form-select.et-form-input:focus-visible {
  color: rgba(241, 245, 249, 0.98) !important;
  -webkit-text-fill-color: rgba(241, 245, 249, 0.98) !important;
  border-color: rgba(56, 189, 248, 0.55) !important;
  background-color: rgba(15, 23, 42, 0.88) !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(224, 242, 254, 0.98) 50%),
    linear-gradient(135deg, rgba(224, 242, 254, 0.98) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
  outline: none;
}

.ad-customer-create-modal .ad-password-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.ad-customer-create-modal .ad-password-wrap .ad-password-input {
  padding-right: 2.6rem !important;
}

.ad-customer-create-modal .ad-password-toggle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(30, 41, 59, 0.85);
  color: rgba(226, 232, 240, 0.95);
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ad-customer-create-modal .ad-password-toggle:hover {
  background: rgba(51, 65, 85, 0.95);
  color: #fff;
}

/* Müşteri sil onay modalı */
.ad-customer-delete-modal__dialog {
  max-width: 440px;
}

.ad-customer-delete-modal__content {
  border-radius: 20px;
  border: 1px solid rgba(248, 113, 113, 0.2);
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.97) 0%,
    rgba(49, 12, 12, 0.55) 45%,
    rgba(15, 23, 42, 0.96) 100%
  );
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(248, 113, 113, 0.08) inset;
  overflow: hidden;
}

.ad-customer-delete-modal__header {
  padding: 1.2rem 1.25rem 0.75rem;
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.1), transparent);
}

.ad-customer-delete-modal__head-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fecaca;
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.4), rgba(127, 29, 29, 0.35));
  box-shadow:
    0 0 0 1px rgba(248, 113, 113, 0.25),
    0 10px 24px rgba(220, 38, 38, 0.15);
}

.ad-customer-delete-modal__body {
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.95);
}

.ad-customer-delete-modal__name {
  display: inline;
  font-weight: 700;
  color: #fecaca;
}

.ad-customer-delete-modal__footer {
  padding: 0 1.25rem 1.25rem;
  gap: 0.65rem !important;
}

.ad-customer-delete-modal__footer .ad-customer-delete-modal__btn-cancel,
.ad-customer-delete-modal__footer .ad-customer-delete-modal__btn-confirm {
  width: 100%;
}

@media (min-width: 576px) {
  .ad-customer-delete-modal__footer .ad-customer-delete-modal__btn-cancel,
  .ad-customer-delete-modal__footer .ad-customer-delete-modal__btn-confirm {
    width: auto;
    min-width: 7rem;
  }
}

.ad-customer-delete-modal__btn-cancel {
  border-radius: 12px;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95) !important;
  background: rgba(51, 65, 85, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ad-customer-delete-modal__btn-cancel:hover {
  background: rgba(71, 85, 105, 0.85);
  border-color: rgba(148, 163, 184, 0.35);
  color: #fff !important;
}

.ad-customer-delete-modal__btn-confirm {
  border-radius: 12px;
  padding: 0.55rem 1.35rem;
  font-weight: 600;
  border: none;
  color: #fff !important;
  background: linear-gradient(145deg, #ef4444 0%, #b91c1c 48%, #7f1d1d 100%);
  box-shadow:
    0 4px 20px rgba(220, 38, 38, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.ad-customer-delete-modal__btn-confirm:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 8px 28px rgba(220, 38, 38, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
  color: #fff !important;
}

.ad-customer-delete-modal__btn-confirm:active {
  transform: translateY(0);
}

.ad-customer-delete-modal__btn-confirm:disabled {
  opacity: 0.65;
  transform: none;
  pointer-events: none;
}

/* Etiket hurda onay modalı */
.ad-label-scrap-modal__dialog {
  max-width: 440px;
}

.ad-label-scrap-modal__content {
  border-radius: 20px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.97) 0%,
    rgba(58, 32, 6, 0.45) 42%,
    rgba(15, 23, 42, 0.96) 100%
  );
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(251, 191, 36, 0.08) inset;
  overflow: hidden;
}

.ad-label-scrap-modal__header {
  padding: 1.2rem 1.25rem 0.75rem;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), transparent);
}

.ad-label-scrap-modal__head-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fde68a;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.42), rgba(120, 53, 15, 0.38));
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.28),
    0 10px 24px rgba(245, 158, 11, 0.12);
}

.ad-label-scrap-modal__body {
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.95);
}

.ad-label-scrap-modal__accent {
  color: #fcd34d;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ad-label-scrap-modal__footer {
  padding: 0 1.25rem 1.25rem;
  gap: 0.65rem !important;
}

.ad-label-scrap-modal__footer .ad-label-scrap-modal__btn-cancel,
.ad-label-scrap-modal__footer .ad-label-scrap-modal__btn-confirm {
  width: 100%;
}

@media (min-width: 576px) {
  .ad-label-scrap-modal__footer .ad-label-scrap-modal__btn-cancel,
  .ad-label-scrap-modal__footer .ad-label-scrap-modal__btn-confirm {
    width: auto;
    min-width: 7rem;
  }
}

.ad-label-scrap-modal__btn-cancel {
  border-radius: 12px;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95) !important;
  background: rgba(51, 65, 85, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ad-label-scrap-modal__btn-cancel:hover {
  background: rgba(71, 85, 105, 0.85);
  border-color: rgba(148, 163, 184, 0.35);
  color: #fff !important;
}

.ad-label-scrap-modal__btn-confirm {
  border-radius: 12px;
  padding: 0.55rem 1.35rem;
  font-weight: 600;
  border: none;
  color: #1c1917 !important;
  background: linear-gradient(145deg, #fbbf24 0%, #d97706 48%, #b45309 100%);
  box-shadow:
    0 4px 20px rgba(245, 158, 11, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.ad-label-scrap-modal__btn-confirm:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 8px 28px rgba(245, 158, 11, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
  color: #1c1917 !important;
}

.ad-label-scrap-modal__btn-confirm:active {
  transform: translateY(0);
}

.ad-label-scrap-modal__btn-confirm:disabled {
  opacity: 0.65;
  transform: none;
  pointer-events: none;
}

/* Muhasebe maili tekrar gönder onayı */
.ad-laundry-mail-resend-modal__dialog {
  max-width: 440px;
}

/* Sipariş aşaması: müşteri maili — daha geniş diyalog, alt butonlar yan yana */
.ad-laundry-stage-notify-modal__dialog {
  max-width: min(94vw, 560px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.ad-laundry-stage-notify-modal__footer {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

.ad-laundry-stage-notify-modal__footer .btn {
  width: auto !important;
}

.ad-laundry-stage-notify-modal__btn-mail {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 575.98px) {
  .ad-laundry-stage-notify-modal__btn-mail {
    white-space: normal;
    text-align: center;
  }
}

.ad-laundry-mail-resend-modal__content {
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background-color: #0f172a;
  background-image: linear-gradient(165deg, #0f172a 0%, #101d36 45%, #0f172a 100%);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(56, 189, 248, 0.08) inset;
  overflow: hidden;
}

.ad-laundry-mail-resend-modal__header {
  padding: 1.2rem 1.25rem 0.75rem;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.16), rgba(15, 23, 42, 1));
}

.ad-laundry-mail-resend-modal__head-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #bae6fd;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.42), rgba(12, 74, 110, 0.4));
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.28),
    0 10px 24px rgba(14, 165, 233, 0.12);
}

.ad-laundry-mail-resend-modal__body {
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.95);
  background-color: #0f172a;
}

.ad-laundry-mail-resend-modal__body .et-form-input,
.ad-laundry-mail-resend-modal__body .form-control {
  background-color: rgba(30, 41, 59, 0.95) !important;
  border-color: rgba(71, 85, 105, 0.65) !important;
}

.ad-laundry-mail-resend-modal__accent {
  color: #7dd3fc;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ad-laundry-mail-resend-modal__footer {
  background-color: #0f172a;
  padding: 0 1.25rem 1.25rem;
  gap: 0.65rem !important;
}

.ad-laundry-mail-resend-modal__footer .ad-laundry-mail-resend-modal__btn-cancel,
.ad-laundry-mail-resend-modal__footer .ad-laundry-mail-resend-modal__btn-confirm {
  width: 100%;
}

@media (min-width: 576px) {
  .ad-laundry-mail-resend-modal__footer .ad-laundry-mail-resend-modal__btn-cancel,
  .ad-laundry-mail-resend-modal__footer .ad-laundry-mail-resend-modal__btn-confirm {
    width: auto;
    min-width: 7rem;
  }
}

.ad-laundry-mail-resend-modal__btn-cancel {
  border-radius: 12px;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95) !important;
  background: rgba(51, 65, 85, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ad-laundry-mail-resend-modal__btn-cancel:hover {
  background: rgba(71, 85, 105, 0.85);
  border-color: rgba(148, 163, 184, 0.35);
  color: #fff !important;
}

.ad-laundry-mail-resend-modal__btn-confirm {
  border-radius: 12px;
  padding: 0.55rem 1.35rem;
  font-weight: 600;
  border: none;
  color: #0c1222 !important;
  background: linear-gradient(145deg, #38bdf8 0%, #0284c7 48%, #0369a1 100%);
  box-shadow:
    0 4px 20px rgba(14, 165, 233, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.ad-laundry-mail-resend-modal__btn-confirm:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 8px 28px rgba(14, 165, 233, 0.48),
    0 1px 0 rgba(255, 255, 255, 0.32) inset;
  color: #0c1222 !important;
}

.ad-laundry-mail-resend-modal__btn-confirm:active {
  transform: translateY(0);
}

.ad-laundry-mail-resend-modal__btn-confirm:disabled {
  opacity: 0.65;
  transform: none;
  pointer-events: none;
}

/* Operatör: canlı konum kartı */
.op-loc-strip {
  flex-shrink: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(
    180deg,
    rgba(10, 15, 22, 0.55) 0%,
    rgba(15, 23, 42, 0.35) 100%
  );
}

.op-loc-strip--pending .op-loc-strip__card {
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.op-loc-strip--ok .op-loc-strip__card {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.08) inset,
    0 12px 40px rgba(0, 0, 0, 0.22);
}

.op-loc-strip--warn .op-loc-strip__card {
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.06) inset,
    0 12px 40px rgba(0, 0, 0, 0.25);
}

.op-loc-strip__card {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(
    155deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(30, 41, 59, 0.55) 100%
  );
  padding: 0.9rem 1rem 1rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.op-loc-strip__head {
  margin-bottom: 0.65rem;
}

.op-loc-strip__title-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

.op-loc-strip__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.95);
}

.op-loc-strip__title i {
  font-size: 1rem;
  color: #38bdf8;
}

.op-loc-strip__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.op-loc-strip__badge--muted {
  color: rgba(148, 163, 184, 0.95);
  background: rgba(51, 65, 85, 0.55);
  border-color: rgba(148, 163, 184, 0.22);
}

.op-loc-strip__badge--success {
  color: #042f2e;
  background: linear-gradient(145deg, #5eead4, #14b8a6);
  border-color: rgba(45, 212, 191, 0.45);
}

.op-loc-strip__badge--warning {
  color: #422006;
  background: linear-gradient(145deg, #fde68a, #fbbf24);
  border-color: rgba(251, 191, 36, 0.5);
}

.op-loc-strip__badge--danger {
  color: #fff7ed;
  background: linear-gradient(145deg, rgba(248, 113, 113, 0.95), rgba(185, 28, 28, 0.92));
  border-color: rgba(248, 113, 113, 0.45);
}

.op-loc-strip__hint {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.92);
  max-width: 52rem;
}

.op-loc-strip__retry {
  margin-top: 0.65rem;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  color: #0c1222 !important;
  border: none;
  background: linear-gradient(145deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.op-loc-strip__retry:hover {
  filter: brightness(1.06);
  color: #0c1222 !important;
}

.op-loc-strip__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.75rem 0.35rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px dashed rgba(148, 163, 184, 0.22);
}

.op-loc-strip__empty--loading .op-loc-strip__empty-icon {
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(56, 189, 248, 0.35);
}

.op-loc-strip__empty-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  color: #fcd34d;
  background: rgba(180, 83, 9, 0.28);
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.op-loc-strip__empty-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.96);
}

.op-loc-strip__empty-text {
  color: rgba(148, 163, 184, 0.95);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.op-loc-strip__data .table-responsive {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.65);
}

.op-loc-strip__table {
  --bs-table-bg: rgba(15, 23, 42, 0.65);
  --bs-table-hover-bg: rgba(30, 41, 59, 0.55);
  color: rgba(241, 245, 249, 0.98);
}

.op-loc-strip__table thead th {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(148, 163, 184, 0.98);
  border-bottom-color: rgba(71, 85, 105, 0.65);
  white-space: nowrap;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.op-loc-strip__table td {
  border-color: rgba(51, 65, 85, 0.55);
  font-size: 0.8125rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.op-loc-perm-modal .modal-dialog {
  max-width: 420px;
}

.op-loc-perm-modal__content {
  border-radius: 18px !important;
}

.op-loc-perm-modal__head-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 12px;
  font-size: 1rem;
  color: #bae6fd;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.45), rgba(12, 74, 110, 0.4));
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Admin: operatör haritası (Leaflet) */
.ad-operator-map-page .ad-op-map-card {
  border-radius: 18px;
  border: 1px solid rgba(100, 116, 139, 0.2) !important;
  overflow: hidden;
}

.ad-op-map {
  height: min(52vh, 520px);
  min-height: 260px;
  width: 100%;
  background: #f2f2f2;
  border-radius: 0;
}

.ad-op-map .leaflet-container {
  font-family: "Roboto", system-ui, sans-serif;
  background: #f2f2f2;
}

.ad-op-map .leaflet-control-zoom a {
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  border: 1px solid rgba(100, 116, 139, 0.45);
}

.ad-op-map .leaflet-control-zoom a:hover {
  background: rgba(30, 41, 59, 0.98);
  color: #fff;
}

.ad-op-map .leaflet-control-attribution {
  background: rgba(15, 23, 42, 0.85) !important;
  color: rgba(148, 163, 184, 0.9) !important;
  font-size: 0.65rem;
  max-width: 60%;
  border-radius: 6px 0 0 0;
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-bottom: none;
  border-right: none;
  padding: 2px 6px !important;
}

.ad-op-map .leaflet-control-attribution a {
  color: #7dd3fc;
}

/* Özel işaret — iğne + operatör ikonu */
.ad-op-map .ad-op-map-div-icon {
  background: transparent !important;
  border: none !important;
}

.ad-op-map-pin {
  --ad-pin-h: 200;
  position: relative;
  width: 46px;
  height: 54px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}

.ad-op-map-pin__ring {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    hsl(var(--ad-pin-h) 82% 56%) 0%,
    hsl(var(--ad-pin-h) 75% 42%) 100%
  );
  opacity: 0.95;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ad-op-map-pin__inner {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #0f172a;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(241, 245, 249, 0.88) 100%
  );
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.ad-op-map-pin::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid hsl(var(--ad-pin-h) 75% 48%);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
}

/* Popup — cam kart, ikonlu satırlar */
.leaflet-popup.ad-op-map-popup-outer {
  margin-bottom: 12px;
}

.leaflet-popup.ad-op-map-popup-outer .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.99) 100%);
  border: 1px solid rgba(100, 116, 139, 0.45);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(56, 189, 248, 0.1) inset;
}

.leaflet-popup.ad-op-map-popup-outer .leaflet-popup-content {
  margin: 0;
  min-width: 256px;
  line-height: 1.45;
  color: #e2e8f0;
}

.leaflet-popup.ad-op-map-popup-outer .leaflet-popup-tip {
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(100, 116, 139, 0.4);
  box-shadow: none;
}

.leaflet-popup.ad-op-map-popup-outer a.leaflet-popup-close-button {
  width: 1.75rem;
  height: 1.75rem;
  line-height: 1.75rem;
  font-size: 1.1rem;
  top: 8px;
  right: 8px;
  color: #94a3b8;
  border-radius: 8px;
  padding: 0;
  text-align: center;
}

.leaflet-popup.ad-op-map-popup-outer a.leaflet-popup-close-button:hover {
  color: #f1f5f9;
  background: rgba(51, 65, 85, 0.6);
}

.ad-op-map-popup {
  padding: 0.75rem 0.85rem 0.9rem;
}

.ad-op-map-popup__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 0.45rem;
}

.ad-op-map-popup__badge i {
  opacity: 0.95;
}

.ad-op-map-popup__title {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.15rem;
}

.ad-op-map-popup__title i {
  color: #38bdf8;
  font-size: 1.05rem;
}

.ad-op-map-popup__sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.ad-op-map-popup__sub i {
  font-size: 0.75rem;
  opacity: 0.85;
}

.ad-op-map-popup__list {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0 0;
  border-top: 1px dashed rgba(71, 85, 105, 0.65);
}

.ad-op-map-popup__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  color: #e2e8f0;
}

.ad-op-map-popup__list li:last-child {
  margin-bottom: 0;
}

.ad-op-map-popup__ic {
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  color: #38bdf8;
  padding-top: 0.1rem;
}

.ad-op-map-popup__txt {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.ad-op-map-popup__txt--muted {
  color: #94a3b8;
  font-size: 0.78rem;
}

/* Operatör haritası — konum tablosu kartı */
.ad-op-map-panel {
  border-radius: 18px !important;
  overflow: hidden;
  border: 1px solid rgba(100, 116, 139, 0.22) !important;
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.78) 100%
  ) !important;
}

.ad-op-map-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.35);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), transparent);
}

.ad-op-map-panel__head-icon {
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #bae6fd;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.38), rgba(12, 74, 110, 0.35));
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
}

.ad-op-map-panel__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f8fafc;
}

.ad-op-map-panel__subtitle {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.95);
  margin-top: 0.25rem !important;
}

.ad-op-map-panel__body {
  padding: 0 0 0.25rem;
}

.ad-op-map-table-wrap {
  padding: 0 0.25rem 0.75rem;
}

.ad-op-map-table-scroll {
  max-height: min(50vh, 22rem);
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.7) rgba(30, 41, 59, 0.35);
}

.ad-op-map-table-scroll::-webkit-scrollbar {
  width: 8px;
}

.ad-op-map-table-scroll::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.35);
  border-radius: 8px;
}

.ad-op-map-table-scroll::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.65);
  border-radius: 8px;
}

.ad-op-map-table__row--highlight td {
  background: rgba(56, 189, 248, 0.14) !important;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.ad-op-map-table thead th {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.95);
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.55);
  white-space: nowrap;
}

.ad-op-map-th-action {
  width: 4.5rem;
}

.ad-op-map-table tbody tr {
  border-bottom: 1px solid rgba(51, 65, 85, 0.35);
  transition: background 0.15s ease;
}

.ad-op-map-table tbody tr:last-child {
  border-bottom: none;
}

.ad-op-map-table td {
  padding: 0.65rem 0.75rem;
  vertical-align: middle;
  color: rgba(241, 245, 249, 0.96);
  border: none;
}

.ad-op-map-table__row--hasloc:hover td {
  background: rgba(56, 189, 248, 0.08);
}

.ad-op-map-cell-op {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  min-width: 0;
}

.ad-op-map-cell-op__avatar {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
  background: linear-gradient(
    145deg,
    hsl(var(--av-h) 82% 58%) 0%,
    hsl(var(--av-h) 72% 42%) 100%
  );
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.25);
}

.ad-op-map-cell-op__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 8rem;
}

.ad-op-map-cell-op__name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #f8fafc;
  line-height: 1.25;
}

.ad-op-map-cell-op__user {
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.95);
}

.ad-op-map-status {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.ad-op-map-status--live {
  color: #042f2e;
  background: linear-gradient(145deg, #5eead4, #14b8a6);
}

.ad-op-map-status--off {
  color: rgba(226, 232, 240, 0.95);
  background: rgba(51, 65, 85, 0.75);
  border: 1px solid rgba(100, 116, 139, 0.35);
}

.ad-op-map-coord {
  font-size: 0.8rem;
  color: #bae6fd;
}

.ad-op-map-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
}

.ad-op-map-badge--fine {
  color: #ecfdf5;
  background: rgba(16, 185, 129, 0.28);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.ad-op-map-badge--mid {
  color: #fffbeb;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.ad-op-map-badge--wide {
  color: #fef2f2;
  background: rgba(248, 113, 113, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.28);
}

.ad-op-map-time {
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.92);
}

.ad-op-map-time i {
  color: #94a3b8;
  font-size: 0.75rem;
}

.ad-op-map-na {
  color: rgba(148, 163, 184, 0.75);
}

.ad-op-map-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.ad-op-map-table__row--hasloc:hover .ad-op-map-go {
  background: rgba(56, 189, 248, 0.22);
  color: #7dd3fc;
}

.ad-op-map-go--disabled {
  color: rgba(100, 116, 139, 0.7);
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(71, 85, 105, 0.35);
}

.ad-op-map-empty-msg {
  padding: 1.5rem 1rem !important;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(148, 163, 184, 0.95) !important;
}

.ad-op-map-empty-msg--error {
  color: #fca5a5 !important;
}

/* Etiket özeti (Detayı göster): geniş modal + ince kaydırma çubuğu */
.ad-label-inventory-detail-modal .ad-label-scrap-modal__content {
  background-color: #0f172a;
  background-image: linear-gradient(165deg, #0f172a 0%, #151f38 45%, #0f172a 100%);
}

.ad-label-inventory-detail-modal .ad-label-scrap-modal__header {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.16), rgba(15, 23, 42, 1));
}

.ad-label-inventory-detail-modal .ad-label-scrap-modal__body {
  background-color: #0f172a;
}

.ad-label-inventory-detail-modal .ad-label-inventory-detail-modal__body {
  background: #0f172a;
  border: 1px solid rgba(51, 65, 85, 0.55);
}

.ad-label-inventory-detail-modal .ad-label-scrap-modal__footer {
  background-color: #0f172a;
}

.ad-label-inventory-detail-modal .modal-dialog.ad-label-inventory-detail-modal__dialog {
  max-width: min(1080px, calc(100vw - 1.5rem));
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1400px) {
  .ad-label-inventory-detail-modal .modal-dialog.ad-label-inventory-detail-modal__dialog {
    max-width: min(1140px, calc(100vw - 2rem));
  }
}

.ad-label-inventory-detail-modal__body {
  max-height: min(68vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.35rem 0.6rem 0.5rem 0.15rem;
  margin-right: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.55) rgba(30, 41, 59, 0.45);
}

.ad-label-inventory-detail-modal__body::-webkit-scrollbar {
  width: 9px;
}

.ad-label-inventory-detail-modal__body::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.72);
  border-radius: 999px;
  margin: 4px 0;
}

.ad-label-inventory-detail-modal__body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.55), rgba(100, 116, 139, 0.72));
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.72);
}

.ad-label-inventory-detail-modal__body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(203, 213, 225, 0.65), rgba(148, 163, 184, 0.85));
}

/* Hurdadan aktife al onay modalı */
.ad-label-restore-modal__dialog {
  max-width: 440px;
}

.ad-label-restore-modal__content {
  border-radius: 20px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.97) 0%,
    rgba(6, 39, 28, 0.42) 42%,
    rgba(15, 23, 42, 0.96) 100%
  );
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(52, 211, 153, 0.08) inset;
  overflow: hidden;
}

.ad-label-restore-modal__header {
  padding: 1.2rem 1.25rem 0.75rem;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), transparent);
}

.ad-label-restore-modal__head-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #a7f3d0;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.42), rgba(6, 78, 59, 0.38));
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.28),
    0 10px 24px rgba(16, 185, 129, 0.12);
}

.ad-label-restore-modal__body {
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.95);
}

.ad-label-restore-modal__accent {
  color: #6ee7b7;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ad-label-restore-modal__footer {
  padding: 0 1.25rem 1.25rem;
  gap: 0.65rem !important;
}

.ad-label-restore-modal__footer .ad-label-restore-modal__btn-cancel,
.ad-label-restore-modal__footer .ad-label-restore-modal__btn-confirm {
  width: 100%;
}

@media (min-width: 576px) {
  .ad-label-restore-modal__footer .ad-label-restore-modal__btn-cancel,
  .ad-label-restore-modal__footer .ad-label-restore-modal__btn-confirm {
    width: auto;
    min-width: 7rem;
  }
}

.ad-label-restore-modal__btn-cancel {
  border-radius: 12px;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95) !important;
  background: rgba(51, 65, 85, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ad-label-restore-modal__btn-cancel:hover {
  background: rgba(71, 85, 105, 0.85);
  border-color: rgba(148, 163, 184, 0.35);
  color: #fff !important;
}

.ad-label-restore-modal__btn-confirm {
  border-radius: 12px;
  padding: 0.55rem 1.35rem;
  font-weight: 600;
  border: none;
  color: #022c22 !important;
  background: linear-gradient(145deg, #34d399 0%, #059669 48%, #047857 100%);
  box-shadow:
    0 4px 20px rgba(16, 185, 129, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.ad-label-restore-modal__btn-confirm:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 8px 28px rgba(16, 185, 129, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
  color: #022c22 !important;
}

.ad-label-restore-modal__btn-confirm:active {
  transform: translateY(0);
}

.ad-label-restore-modal__btn-confirm:disabled {
  opacity: 0.65;
  transform: none;
  pointer-events: none;
}

/* Atanmış etiket silme onay modalı */
.ad-label-delete-modal__dialog {
  max-width: 440px;
}

.ad-label-delete-modal__content {
  border-radius: 20px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.98) 0%,
    rgba(69, 10, 10, 0.42) 45%,
    rgba(15, 23, 42, 0.97) 100%
  );
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(248, 113, 113, 0.1) inset;
  overflow: hidden;
}

.ad-label-delete-modal__header {
  padding: 1.2rem 1.25rem 0.75rem;
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.14), transparent);
}

.ad-label-delete-modal__head-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fecaca;
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.45), rgba(127, 29, 29, 0.42));
  box-shadow:
    0 0 0 1px rgba(252, 165, 165, 0.3),
    0 10px 24px rgba(239, 68, 68, 0.15);
}

.ad-label-delete-modal__body {
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.95);
}

.ad-label-delete-modal__accent {
  color: #fca5a5;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ad-label-delete-modal__footer {
  padding: 0 1.25rem 1.25rem;
  gap: 0.65rem !important;
}

.ad-label-delete-modal__footer .ad-label-delete-modal__btn-cancel,
.ad-label-delete-modal__footer .ad-label-delete-modal__btn-confirm {
  width: 100%;
}

@media (min-width: 576px) {
  .ad-label-delete-modal__footer .ad-label-delete-modal__btn-cancel,
  .ad-label-delete-modal__footer .ad-label-delete-modal__btn-confirm {
    width: auto;
    min-width: 7rem;
  }
}

.ad-label-delete-modal__btn-cancel {
  border-radius: 12px;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95) !important;
  background: rgba(51, 65, 85, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ad-label-delete-modal__btn-cancel:hover {
  background: rgba(71, 85, 105, 0.85);
  border-color: rgba(148, 163, 184, 0.35);
  color: #fff !important;
}

.ad-label-delete-modal__btn-confirm {
  border-radius: 12px;
  padding: 0.55rem 1.35rem;
  font-weight: 600;
  border: none;
  color: #fff7ed !important;
  background: linear-gradient(145deg, #f87171 0%, #dc2626 48%, #991b1b 100%);
  box-shadow:
    0 4px 22px rgba(239, 68, 68, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.ad-label-delete-modal__btn-confirm:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 8px 28px rgba(239, 68, 68, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  color: #fff7ed !important;
}

.ad-label-delete-modal__btn-confirm:active {
  transform: translateY(0);
}

.ad-label-delete-modal__btn-confirm:disabled {
  opacity: 0.65;
  transform: none;
  pointer-events: none;
}

/* Havuz (manuel liste) silme onay modalı */
.ad-label-pool-delete-modal__dialog {
  max-width: 440px;
}

.ad-label-pool-delete-modal__content {
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.98) 0%,
    rgba(8, 47, 73, 0.42) 45%,
    rgba(15, 23, 42, 0.97) 100%
  );
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(56, 189, 248, 0.1) inset;
  overflow: hidden;
}

.ad-label-pool-delete-modal__header {
  padding: 1.2rem 1.25rem 0.75rem;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12), transparent);
}

.ad-label-pool-delete-modal__head-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #bae6fd;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.45), rgba(12, 74, 110, 0.42));
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.28),
    0 10px 24px rgba(14, 165, 233, 0.12);
}

.ad-label-pool-delete-modal__body {
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.95);
}

.ad-label-pool-delete-modal__accent {
  color: #7dd3fc;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ad-label-pool-delete-modal__footer {
  padding: 0 1.25rem 1.25rem;
  gap: 0.65rem !important;
}

.ad-label-pool-delete-modal__footer .ad-label-pool-delete-modal__btn-cancel,
.ad-label-pool-delete-modal__footer .ad-label-pool-delete-modal__btn-confirm {
  width: 100%;
}

@media (min-width: 576px) {
  .ad-label-pool-delete-modal__footer .ad-label-pool-delete-modal__btn-cancel,
  .ad-label-pool-delete-modal__footer .ad-label-pool-delete-modal__btn-confirm {
    width: auto;
    min-width: 7rem;
  }
}

.ad-label-pool-delete-modal__btn-cancel {
  border-radius: 12px;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95) !important;
  background: rgba(51, 65, 85, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ad-label-pool-delete-modal__btn-cancel:hover {
  background: rgba(71, 85, 105, 0.85);
  border-color: rgba(148, 163, 184, 0.35);
  color: #fff !important;
}

.ad-label-pool-delete-modal__btn-confirm {
  border-radius: 12px;
  padding: 0.55rem 1.35rem;
  font-weight: 600;
  border: none;
  color: #0c1220 !important;
  background: linear-gradient(145deg, #38bdf8 0%, #0ea5e9 48%, #0369a1 100%);
  box-shadow:
    0 4px 22px rgba(14, 165, 233, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.ad-label-pool-delete-modal__btn-confirm:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 8px 28px rgba(14, 165, 233, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
  color: #0c1220 !important;
}

.ad-label-pool-delete-modal__btn-confirm:active {
  transform: translateY(0);
}

.ad-label-pool-delete-modal__btn-confirm:disabled {
  opacity: 0.65;
  transform: none;
  pointer-events: none;
}

/* Sağ atama paneli: flex + min-h-0 ile kart içi kaydırma (tam sayfa: Labels.cshtml) */
#adLabelBulkAssignBlock {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 0.2rem;
}

@media (max-width: 1199.98px) {
  #adLabelBulkAssignBlock {
    flex: 0 1 auto !important;
    max-height: min(56vh, 480px) !important;
  }
}

/* Sağ atama paneli iç kaydırma çubuğu */
#adLabelBulkAssignBlock::-webkit-scrollbar {
  width: 8px;
}

#adLabelBulkAssignBlock::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.35);
  border-radius: 99px;
}

#adLabelBulkAssignBlock::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 99px;
}

#adLabelBulkAssignBlock::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.52);
}

.ad-template-body .ad-main::-webkit-scrollbar {
  width: 10px;
}

.ad-template-body .ad-main::-webkit-scrollbar-track {
  background: transparent;
}

.ad-template-body .ad-main::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.28);
  border-radius: 99px;
  border: 3px solid rgba(2, 6, 23, 0.35);
}

.ad-template-body .ad-main::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.45);
}

.ad-template-body .ad-dashboard-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.ad-template-body .ad-dashboard-head {
  border-radius: 12px;
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: none;
}

.ad-template-body .ad-dashboard-title {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.ad-template-body .ad-dashboard-desc {
  color: rgba(203, 213, 225, 0.82);
}

.ad-template-body .ad-panel {
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.62);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.30);
}

.ad-template-body .ad-panel::before {
  opacity: 0.45;
}

/* Admin anasayfa: ürün özeti + kargo tarzı süreç */
.ad-home-spotlight-placeholder {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  padding: 0.25rem 0.15rem;
}

.ad-home-panel.ad-panel {
  padding: clamp(1.2rem, 2.4vw, 1.75rem) clamp(1.15rem, 2.2vw, 1.6rem);
}

.ad-home-track-panel.ad-panel,
.ad-home-secondary-panel.ad-panel {
  padding: clamp(1.2rem, 2.4vw, 1.75rem) clamp(1.15rem, 2.2vw, 1.6rem);
  padding-bottom: clamp(1.45rem, 2.8vw, 2rem);
}

.ad-home-quick-grid {
  --ad-home-quick-bg: rgba(15, 23, 42, 0.55);
  --ad-home-quick-br: rgba(56, 189, 248, 0.22);
}

.ad-home-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 5.5rem;
  padding: 0.85rem 0.5rem;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(248, 250, 252, 0.95) !important;
  background: var(--ad-home-quick-bg);
  border: 1px solid var(--ad-home-quick-br);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.ad-home-quick-link:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(15, 23, 42, 0.72);
  transform: translateY(-2px);
  color: #f0f9ff !important;
}

.ad-home-quick-link__ic {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
}

.ad-home-quick-link__txt {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

.ad-home-label-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.48);
}

.ad-home-label-pill__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.88);
}

.ad-home-label-pill__val {
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.98);
}

.ad-home-label-pill--active {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.08);
}

.ad-home-label-pill--active .ad-home-label-pill__val {
  color: #86efac;
}

.ad-home-label-pill--lost {
  border-color: rgba(234, 179, 8, 0.3);
  background: rgba(234, 179, 8, 0.08);
}

.ad-home-label-pill--lost .ad-home-label-pill__val {
  color: #fde047;
}

.ad-home-label-pill--warn {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.07);
}

.ad-home-label-pill--warn .ad-home-label-pill__val {
  color: #fbbf24;
}

.ad-home-label-pill--scrap {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(239, 68, 68, 0.08);
}

.ad-home-label-pill--scrap .ad-home-label-pill__val {
  color: #fca5a5;
}

.ad-home-spotlight-body {
  width: 100%;
  padding: 0.15rem 0;
}

.ad-home-spotlight-head {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding-bottom: 0.35rem;
}

.ad-home-panel .ad-home-product-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.15rem;
}

.ad-home-eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.85);
  margin-bottom: 0.25rem;
}

.ad-home-product-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: -0.02em;
  color: rgba(248, 250, 252, 0.98);
}

.ad-home-product-meta {
  color: rgba(148, 163, 184, 0.92);
}

.ad-home-spotlight-stats {
  margin-top: 0.85rem !important;
}

.ad-home-stat {
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.12);
  min-height: 100%;
}

.ad-home-stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.8);
  margin-bottom: 0.2rem;
}

.ad-home-stat-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.96);
}

.ad-home-stat-value--sm {
  font-size: 0.88rem;
  font-weight: 600;
  word-break: break-all;
}

.ad-home-stat-value--emph {
  color: rgba(56, 189, 248, 0.95);
}

.ad-home-track-panel .h6 {
  margin-bottom: 1.35rem !important;
}

.ad-template-body .ad-home-kpi.card {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.14);
}

.ad-home-kpi .ad-stat-value {
  font-variant-numeric: tabular-nums;
}

.ad-home-kpi-revenue {
  color: rgba(56, 189, 248, 0.95) !important;
}

/* Müşteri anasayfa — işletme bilgisi (ikonlu karo + unvan vitrini) */
.ad-home-biz-panel .ad-home-biz-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2.5vw, 1.35rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.65rem);
  padding-bottom: clamp(1.1rem, 2vw, 1.35rem);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.ad-home-biz-head--compact {
  margin-bottom: clamp(1rem, 2vw, 1.35rem) !important;
  padding-bottom: clamp(0.9rem, 1.8vw, 1.15rem) !important;
}

.ad-home-biz-head__icon {
  flex: 0 0 auto;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #7dd3fc;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.22), rgba(15, 23, 42, 0.55));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.25);
}

.ad-home-biz-head__copy {
  min-width: 0;
}

.ad-home-biz-heading {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  letter-spacing: -0.02em;
  color: rgba(248, 250, 252, 0.98);
}

.ad-home-biz-sub {
  line-height: 1.55;
  max-width: 52rem;
}

.ad-home-biz-name-card {
  border-radius: 16px;
  padding: clamp(1rem, 2.2vw, 1.25rem) clamp(1.1rem, 2.4vw, 1.4rem);
  margin-bottom: clamp(1.1rem, 2.2vw, 1.45rem);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 32px rgba(0, 0, 0, 0.22);
}

.ad-home-biz-name-card__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.88);
  margin-bottom: 0.35rem;
}

.ad-home-biz-name-card__value {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  color: rgba(248, 250, 252, 0.99);
}

.ad-home-biz-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  height: 100%;
  min-height: 5.1rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.ad-home-biz-tile:hover {
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(15, 23, 42, 0.62);
  transform: translateY(-1px);
}

.ad-home-biz-tile__ic {
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.ad-home-biz-tile__ic--phone {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.ad-home-biz-tile__ic--mail {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.ad-home-biz-tile__ic--tax {
  color: #fde047;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.26);
}

.ad-home-biz-tile__ic--person {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.28);
}

.ad-home-biz-tile__ic--company {
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.28);
}

.ad-home-biz-tile__ic--orders {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.ad-home-biz-tile__ic--done {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.ad-home-biz-tile__ic--products {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.26);
}

.ad-home-biz-tile__ic--debt {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.24);
}

.ad-home-biz-tile--tall {
  min-height: 6.25rem;
  align-items: center;
}

.ad-home-biz-tile__val--kpi {
  font-size: clamp(1.35rem, 3.2vw, 1.72rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.ad-home-biz-tile__val--money {
  color: rgba(56, 189, 248, 0.96) !important;
}

.ad-home-biz-tile__val--multiline {
  white-space: pre-line;
  line-height: 1.45;
}

.ad-home-biz-tile__ic--addr {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.22);
}

.ad-home-biz-tile__body {
  min-width: 0;
  flex: 1;
}

.ad-home-biz-tile__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.82);
  margin-bottom: 0.28rem;
}

.ad-home-biz-tile__val {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(248, 250, 252, 0.96);
}

.ad-home-biz-tile__val--break {
  word-break: break-word;
}

.ad-home-biz-address {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1rem, 2.2vw, 1.2rem) clamp(1.1rem, 2.2vw, 1.35rem);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px dashed rgba(148, 163, 184, 0.22);
}

.ad-home-biz-address__ic {
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fda4af;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.22);
}

.ad-home-biz-address__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.82);
  margin-bottom: 0.35rem;
}

.ad-home-biz-address__text {
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.94);
}

/* Müşteri — sipariş durumu / geçmişi */
.ad-cust-debt-banner__note {
  max-width: 36rem;
  line-height: 1.45;
}

.ad-cust-order-card {
  border-color: rgba(56, 189, 248, 0.18);
}

.ad-cust-order-card--rich {
  padding-bottom: clamp(1.1rem, 2vw, 1.45rem);
}

.ad-cust-order-card--cancelled {
  border-color: rgba(248, 113, 113, 0.42) !important;
  box-shadow:
    0 0 0 1px rgba(248, 113, 113, 0.12),
    0 18px 46px rgba(127, 29, 29, 0.18);
  background: linear-gradient(
    165deg,
    rgba(69, 10, 10, 0.22) 0%,
    rgba(15, 23, 42, 0.4) 55%
  );
}

.ad-cust-order-kpi--cancelled-spotlight {
  border-color: rgba(248, 113, 113, 0.55) !important;
  background: linear-gradient(160deg, rgba(127, 29, 29, 0.42), rgba(15, 23, 42, 0.72)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(248, 113, 113, 0.2),
    0 12px 28px rgba(185, 28, 28, 0.12);
}

.ad-cust-order-kpi--cancelled-spotlight:hover {
  border-color: rgba(252, 165, 165, 0.55) !important;
  background: linear-gradient(160deg, rgba(127, 29, 29, 0.48), rgba(15, 23, 42, 0.78)) !important;
}

.ad-cust-order-kpi--cancelled-spotlight .ad-cust-order-kpi__label {
  color: rgba(254, 202, 202, 0.92);
}

.ad-cust-order-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}

@media (min-width: 1200px) {
  .ad-cust-order-kpi-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.ad-cust-order-kpi {
  border-radius: 14px;
  padding: 0.72rem 0.85rem;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(56, 189, 248, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  min-height: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.ad-cust-order-kpi:hover {
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(15, 23, 42, 0.68);
}

.ad-cust-order-kpi--note {
  grid-column: 1 / -1;
}

@media (min-width: 992px) {
  .ad-cust-order-kpi--note {
    grid-column: span 2;
  }
}

@media (min-width: 1200px) {
  .ad-cust-order-kpi--note {
    grid-column: span 1;
  }
}

.ad-cust-order-kpi__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.82);
  line-height: 1.2;
}

.ad-cust-order-kpi__val {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.96);
  line-height: 1.3;
  word-break: break-word;
}

.ad-cust-order-kpi__val--code {
  font-size: 0.78rem;
  font-weight: 700;
  color: #7dd3fc !important;
  letter-spacing: -0.02em;
}

.ad-cust-order-kpi__val--stage {
  color: #e0f2fe !important;
  font-weight: 700;
}

.ad-cust-order-kpi__val--cancelled-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.1rem;
  padding: 0.38rem 0.65rem 0.42rem;
  border-radius: 999px;
  font-weight: 800 !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff1f2 !important;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.95), rgba(127, 29, 29, 0.98));
  border: 1px solid rgba(252, 165, 165, 0.55);
  box-shadow:
    0 0 0 4px rgba(248, 113, 113, 0.12),
    0 8px 22px rgba(127, 29, 29, 0.35);
}

.ad-cust-order-kpi__val--cancelled-pill i {
  font-size: 0.85em;
  opacity: 0.95;
}

.ad-cust-order-kpi__val--completed-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-weight: 800 !important;
  color: #ecfdf5 !important;
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.9), rgba(21, 128, 61, 0.95));
  border: 1px solid rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.ad-cust-order-kpi__val--yes {
  color: #86efac !important;
}

.ad-cust-order-kpi__val--no {
  color: #fca5a5 !important;
}

.ad-cust-order-kpi__val--na {
  color: rgba(148, 163, 184, 0.65) !important;
  font-weight: 500;
}

.ad-cust-order-kpi__val--note {
  font-size: 0.8rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.2rem;
}

.ad-cust-status-intro__ic {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.ad-cust-order-stepper-wrap {
  margin-bottom: 0.25rem;
  padding: clamp(0.85rem, 2vw, 1.15rem);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(56, 189, 248, 0.1), transparent 55%),
    rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.ad-cust-stepper {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.ad-cust-stepper--cancelled {
  opacity: 0.62;
  filter: saturate(0.55) grayscale(0.15);
  pointer-events: none;
}

.ad-cust-order-card--cancelled .ad-cust-order-stepper-wrap {
  border-color: rgba(248, 113, 113, 0.22);
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(248, 113, 113, 0.06), transparent 55%),
    rgba(15, 23, 42, 0.45);
}

.ad-cust-stepper__row {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0.5rem 0.35rem 0.65rem;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.35) transparent;
  -webkit-overflow-scrolling: touch;
}

.ad-cust-step {
  flex: 0 0 auto;
  width: clamp(6.5rem, 16vw, 9.25rem);
  min-width: clamp(6rem, 14vw, 8.5rem);
  max-width: 9.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.2rem;
}

.ad-cust-step__node {
  position: relative;
  width: clamp(2.65rem, 5.5vw, 3.35rem);
  height: clamp(2.65rem, 5.5vw, 3.35rem);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.88rem, 2.2vw, 1rem);
  margin-bottom: clamp(0.45rem, 1.5vw, 0.65rem);
  border: 2px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
  color: rgba(148, 163, 184, 0.75);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  z-index: 1;
}

.ad-cust-step--done .ad-cust-step__node {
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.35), rgba(21, 128, 61, 0.28));
  border-color: rgba(74, 222, 128, 0.65);
  color: #bbf7d0;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.ad-cust-step--current .ad-cust-step__node {
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.35), rgba(14, 165, 233, 0.3));
  border-color: rgba(125, 211, 252, 0.85);
  color: #e0f2fe;
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.18),
    0 8px 22px rgba(14, 165, 233, 0.2);
  transform: scale(1.06);
}

.ad-cust-step__current-ic {
  font-size: clamp(0.95rem, 2.4vw, 1.12rem);
}

.ad-cust-step__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.45);
  animation: ad-cust-pulse 1.8s ease-out infinite;
  pointer-events: none;
}

@keyframes ad-cust-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.ad-cust-step__num {
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ad-cust-step__body {
  width: 100%;
}

.ad-cust-step__title {
  display: block;
  font-size: clamp(0.78rem, 1.85vw, 1.02rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(248, 250, 252, 0.94);
  margin-bottom: 0.22rem;
  word-break: break-word;
  hyphens: auto;
}

.ad-cust-step__time {
  display: block;
  font-size: clamp(0.68rem, 1.45vw, 0.88rem);
  font-weight: 500;
  color: rgba(125, 211, 252, 0.88);
  line-height: 1.3;
  word-break: break-word;
}

.ad-cust-step__time--muted {
  color: rgba(148, 163, 184, 0.62);
  font-weight: 600;
}

.ad-cust-step--upcoming .ad-cust-step__title {
  color: rgba(148, 163, 184, 0.78);
}

.ad-cust-stepper__chev {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0 clamp(0.08rem, 0.6vw, 0.2rem);
  padding-top: clamp(0.85rem, 3vw, 1.15rem);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 800;
  font-family: "Poppins", system-ui, sans-serif;
  color: rgba(148, 163, 184, 0.42);
  line-height: 1;
  user-select: none;
  transition: color 0.2s ease;
}

.ad-cust-stepper__chev span {
  display: block;
  transform: translateY(0.06rem);
}

.ad-cust-stepper__chev--done {
  color: rgba(74, 222, 128, 0.88);
}

@media (max-width: 767.98px) {
  .ad-cust-stepper__row {
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  .ad-cust-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: min(22rem, 100%);
    min-width: 0;
    gap: clamp(0.75rem, 3vw, 1.1rem);
    padding-bottom: 0.25rem;
  }

  .ad-cust-step__node {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .ad-cust-step__body {
    padding-top: 0.2rem;
    flex: 1;
    min-width: 0;
  }

  .ad-cust-step__title {
    font-size: clamp(0.82rem, 3.6vw, 1.05rem);
  }

  .ad-cust-step__time {
    font-size: clamp(0.72rem, 3vw, 0.92rem);
  }

  .ad-cust-stepper__chev {
    padding-top: 0;
    padding-bottom: 0.2rem;
    align-self: center;
    transform: rotate(90deg);
    font-size: clamp(1rem, 3.5vw, 1.2rem);
  }
}

@media (max-width: 380px) {
  .ad-cust-step__title {
    font-size: clamp(0.78rem, 4.2vw, 0.95rem);
  }

  .ad-cust-step__time {
    font-size: clamp(0.68rem, 3.6vw, 0.85rem);
  }
}

.ad-cust-timeline__item:last-child {
  margin-bottom: 0 !important;
}

.ad-cust-history-table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(148, 163, 184, 0.9) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  white-space: nowrap;
}

.ad-cust-history-table tbody td {
  border-color: rgba(148, 163, 184, 0.1) !important;
  vertical-align: middle;
  font-size: 0.9rem;
}

.ad-cust-history-table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(15, 23, 42, 0.35);
}

/* Müşteri sipariş geçmişi: sayfa yüksekliği + tablo scroll */
.ad-template-body.ad-customer-dashboard .ad-cust-history-page.ad-customer-page {
  min-height: calc(100dvh - 9.5rem);
}

.ad-template-body.ad-customer-dashboard .ad-cust-history-col {
  min-height: calc(100dvh - 9.5rem);
}

.ad-cust-history-intro__ic {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.ad-cust-support-intro__ic {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.ad-cust-support-body {
  min-height: 10rem;
  resize: vertical;
}

/* Destek sayfası: iki sütun, liste kaydırılabilir */
.ad-cust-support-list-panel {
  min-height: 280px;
}

.ad-cust-support-list-scroll {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.25rem;
  margin-right: -0.25rem;
}

@media (max-width: 991.98px) {
  .ad-cust-support-list-scroll {
    max-height: 50vh;
    overflow-y: auto;
  }
}

@media (min-width: 992px) {
  .ad-cust-support-list-scroll {
    max-height: min(70vh, 640px);
    overflow-y: auto;
  }

  .ad-cust-support-form-panel {
    min-height: min(70vh, 640px);
  }
}

.ad-cust-support-page .ad-cust-support-input.form-control,
.ad-cust-support-page .form-control.ad-cust-support-input {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  color: rgba(248, 250, 252, 0.96) !important;
  border-radius: 12px !important;
  padding: 0.55rem 0.9rem !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ad-cust-support-page .ad-cust-support-input.form-control::placeholder,
.ad-cust-support-page .form-control.ad-cust-support-input::placeholder {
  color: rgba(148, 163, 184, 0.72);
}

.ad-cust-support-page .ad-cust-support-input.form-control:focus,
.ad-cust-support-page .form-control.ad-cust-support-input:focus {
  background: rgba(15, 23, 42, 0.92) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  color: #f8fafc !important;
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.18) !important;
}

/* Destek talepleri listesi — kart satırları */
.ad-cust-support-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ad-cust-support-item {
  margin: 0;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.26);
  background: linear-gradient(155deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.72) 50%, rgba(15, 23, 42, 0.55) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 4px 18px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.ad-cust-support-item:hover {
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 28px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.ad-cust-support-row {
  padding: 0.9rem 1rem 0.85rem;
  min-height: 3rem;
  align-items: flex-start !important;
}

@media (min-width: 576px) {
  .ad-cust-support-row {
    padding: 1rem 1.15rem;
    align-items: center !important;
  }
}

.ad-cust-support-row__main {
  padding-right: 0.25rem;
}

.ad-cust-support-k {
  color: rgba(125, 211, 252, 0.88);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  margin-right: 0.4rem;
  white-space: nowrap;
}

.ad-cust-support-stage-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.ad-cust-support-row__stage {
  padding: 0.15rem 0 0 0.75rem;
  border-left: 1px solid rgba(148, 163, 184, 0.15);
  min-width: 7.25rem;
}

.ad-cust-support-row__stage .badge {
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.4em 0.75em;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ad-cust-support-status-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42em 0.8em !important;
  border: 1px solid transparent;
}

.ad-cust-support-status-badge--open {
  background: rgba(180, 130, 10, 0.38) !important;
  color: rgba(254, 240, 138, 0.98) !important;
  border-color: rgba(250, 204, 21, 0.48) !important;
}

.ad-cust-support-status-badge--answered {
  background: rgba(8, 117, 160, 0.4) !important;
  color: rgba(186, 230, 253, 0.98) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
}

.ad-cust-support-status-badge--closed {
  background: rgba(51, 65, 85, 0.85) !important;
  color: rgba(241, 245, 249, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.38) !important;
}

.ad-cust-support-status-badge--other {
  background: rgba(71, 85, 105, 0.55) !important;
  color: rgba(226, 232, 240, 0.95) !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
}

.ad-cust-support-status-badge--need {
  background: rgba(234, 88, 12, 0.38) !important;
  color: rgba(255, 237, 213, 0.98) !important;
  border-color: rgba(251, 146, 60, 0.52) !important;
}

.ad-cust-support-date-badge {
  background: rgba(51, 65, 85, 0.94) !important;
  color: rgba(241, 245, 249, 0.98) !important;
  font-weight: 500;
  font-size: 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  padding: 0.42em 0.8em !important;
}

@media (max-width: 575.98px) {
  .ad-cust-support-row {
    flex-direction: column;
    align-items: stretch !important;
  }

  .ad-cust-support-row__stage {
    border-left: none;
    padding: 0.65rem 0 0;
    margin-top: 0.3rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    width: 100%;
    min-width: 0;
    text-align: left !important;
  }

  .ad-cust-support-stage-badges {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
  }
}

.ad-cust-support-reply {
  margin: 0 0.65rem 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ad-cust-support-reply__txt {
  white-space: pre-wrap;
  word-break: break-word;
}

.ad-cust-support-reply-hit {
  cursor: pointer;
  border-radius: 8px;
  margin: -0.25rem;
  padding: 0.25rem;
  outline: none;
  transition: background 0.15s ease;
}

.ad-cust-support-reply-hit:hover {
  background: rgba(56, 189, 248, 0.12);
}

.ad-cust-support-reply-hit:focus-visible {
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.45);
}

.ad-cust-support-thread-msg--collapsible {
  cursor: pointer;
  outline: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ad-cust-support-thread-msg--collapsible:hover {
  filter: brightness(1.06);
}

.ad-cust-support-thread-msg--collapsible:focus-visible {
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.4);
}

/* Müşteri («Siz») mesajları — mor / indigo tonları (admin cyan’dan ayrışır) */
.ad-cust-support-thread-msg--cust {
  background: linear-gradient(
    145deg,
    rgba(139, 92, 246, 0.24) 0%,
    rgba(99, 102, 241, 0.2) 45%,
    rgba(167, 139, 250, 0.18) 100%
  );
  border: 1px solid rgba(196, 181, 253, 0.48);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.12) inset,
    0 4px 22px rgba(99, 102, 241, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.ad-cust-support-thread-msg--cust.ad-cust-support-thread-msg--collapsible:hover {
  filter: brightness(1.07);
  border-color: rgba(216, 180, 254, 0.62);
  box-shadow:
    0 0 0 1px rgba(196, 181, 253, 0.16) inset,
    0 6px 26px rgba(139, 92, 246, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.ad-cust-support-thread-msg--cust .text-white-50 {
  color: rgba(237, 233, 254, 0.94) !important;
}

.ad-cust-support-thread-msg--cust .ad-cust-support-thread-msg-detail {
  color: #faf5ff;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.55;
}

.ad-cust-support-thread-msg--cust .ad-cust-support-thread-msg-chev {
  color: #c4b5fd !important;
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.5));
}

.ad-cust-support-thread-msg--cust.ad-cust-support-thread-msg--collapsible:focus-visible {
  box-shadow:
    0 0 0 2px rgba(167, 139, 250, 0.55),
    0 4px 22px rgba(99, 102, 241, 0.13);
}

/* Eta Laundry Admin — zümrüt / deniz yeşili + hafif altın çerçeve (mor müşteri ile kontrast) */
.ad-cust-support-thread-msg--adm {
  background: linear-gradient(
    155deg,
    rgba(5, 150, 105, 0.32) 0%,
    rgba(4, 120, 87, 0.26) 38%,
    rgba(16, 185, 129, 0.22) 72%,
    rgba(20, 184, 166, 0.14) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 0 0 1px rgba(167, 243, 208, 0.14) inset,
    0 0 12px rgba(16, 185, 129, 0.08),
    0 4px 26px rgba(5, 150, 105, 0.18),
    0 3px 0 -1px rgba(251, 191, 36, 0.2) inset;
}

.ad-cust-support-thread-msg--adm.ad-cust-support-thread-msg--collapsible:hover {
  filter: brightness(1.08);
  border-color: rgba(250, 204, 21, 0.45);
  box-shadow:
    0 0 0 1px rgba(209, 250, 229, 0.2) inset,
    0 0 16px rgba(52, 211, 153, 0.12),
    0 6px 30px rgba(16, 185, 129, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.ad-cust-support-thread-msg--adm .text-white-50 {
  color: rgba(209, 250, 229, 0.96) !important;
}

.ad-cust-support-thread-msg--adm .ad-cust-support-thread-msg-detail {
  color: #ecfdf5;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.55;
}

.ad-cust-support-thread-msg--adm .ad-cust-support-thread-msg-chev {
  color: #fbbf24 !important;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.35));
}

.ad-cust-support-thread-msg--adm.ad-cust-support-thread-msg--collapsible:focus-visible {
  box-shadow:
    0 0 0 2px rgba(52, 211, 153, 0.65),
    0 4px 26px rgba(5, 150, 105, 0.18);
}

.ad-cust-support-page .ad-cust-support-thread-ta {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #f8fafc;
}

.ad-cust-support-page .ad-cust-support-thread-ta:focus {
  border-color: rgba(56, 189, 248, 0.5);
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.12);
}

/* Admin — destek talepleri listesi */
.ad-support-admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-height: min(72vh, 820px);
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-right: 4px;
  margin-right: -2px;
}

.ad-support-admin-k {
  color: rgba(125, 211, 252, 0.95);
  font-weight: 600;
  margin-right: 0.35rem;
}

/* Destek kartı — Konu / Talep / Tarih rozetleri */
.ad-support-admin-header-badges {
  row-gap: 0.35rem !important;
  max-width: 100%;
}

.ad-support-admin-header-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.ad-support-admin-header-badge--open {
  color: #422006;
  background: linear-gradient(180deg, #fde68a 0%, #fbbf24 100%);
  border-color: rgba(245, 158, 11, 0.65);
}

.ad-support-admin-header-badge--answered {
  color: #0c4a6e;
  background: linear-gradient(180deg, #bae6fd 0%, #38bdf8 100%);
  border-color: rgba(14, 165, 233, 0.55);
}

.ad-support-admin-header-badge--closed {
  color: #e2e8f0;
  background: rgba(71, 85, 105, 0.55);
  border-color: rgba(148, 163, 184, 0.45);
  font-weight: 500;
}

.ad-support-admin-header-badge--time {
  color: rgba(241, 245, 249, 0.92);
  font-weight: 500;
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(100, 116, 139, 0.5);
}

.ad-support-admin-header-badge--need {
  color: #78350f;
  background: linear-gradient(180deg, #fed7aa 0%, #fb923c 100%);
  border-color: rgba(249, 115, 22, 0.55);
  font-weight: 600;
}

.ad-support-admin-detail-badges {
  row-gap: 0.5rem !important;
}

.ad-support-admin-field-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.38);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  font-size: 0.8125rem;
  line-height: 1.35;
  gap: 0.55rem;
}

.ad-support-admin-field-badge__label {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.98);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.ad-support-admin-field-badge__value {
  min-width: 0;
  color: #f8fafc;
  font-weight: 500;
}

.ad-support-admin-field-badge--talep {
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(196, 181, 253, 0.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.ad-support-admin-field-badge--talep .ad-support-admin-field-badge__label {
  color: rgba(233, 213, 255, 0.95);
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(15, 23, 42, 0.45);
}

.ad-support-admin-field-badge--talep .ad-support-admin-field-badge__value {
  color: rgba(237, 233, 254, 0.95);
}

.ad-support-admin-field-badge--date {
  background: rgba(100, 116, 139, 0.18);
  border-color: rgba(148, 163, 184, 0.42);
}

.ad-support-admin-field-badge--date .ad-support-admin-field-badge__label {
  color: rgba(226, 232, 240, 0.9);
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.45);
}

.ad-support-admin-field-badge--date .ad-support-admin-field-badge__value {
  color: rgba(241, 245, 249, 0.92);
}

.ad-support-admin-need-banner {
  color: #fbbf24;
  letter-spacing: 0.02em;
}

#adSupportRequestsPage .ad-cust-support-item.ad-support-admin-ticket--needs-reply {
  border-color: rgba(245, 158, 11, 0.55) !important;
  background: linear-gradient(165deg, rgba(251, 191, 36, 0.14) 0%, rgba(15, 23, 42, 0.92) 48%, rgba(15, 23, 42, 0.98) 100%) !important;
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.18) inset,
    0 6px 24px rgba(245, 158, 11, 0.08);
}

#adSupportRequestsPage .ad-support-admin-ticket-hit {
  cursor: pointer;
  user-select: none;
}

#adSupportRequestsPage .ad-support-admin-ticket-hit:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.55);
  outline-offset: 2px;
}

/* Müşteri paneliyle aynı konuşma kutusu — admin kartı içinde */
#adSupportRequestsPage .ad-support-admin-embed.ad-support-admin-thread-root {
  margin: 0.85rem 0 0;
}

/* Detay paneli: daha kısa + içeride kaydırma */
#adSupportRequestsPage .ad-support-admin-detail-panel {
  /* Scroll kartın kendisinde olacak */
  height: auto;
  overflow: visible;
  padding-right: 0;
  margin-right: 0;
}

#adSupportRequestsPage .ad-support-admin-detail-outer {
  /* içeriğin paddingle hizalı kalması için sadece sarmalayıcı */
}

/* Kartın kendisi: sabit yükseklik + iç scroll */
#adSupportRequestsPage .ad-cust-support-item.ad-support-admin-ticket {
  max-height: min(260px, 36vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  margin-right: -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) rgba(15, 23, 42, 0.5);
}

#adSupportRequestsPage .ad-cust-support-item.ad-support-admin-ticket::-webkit-scrollbar {
  width: 6px;
}

#adSupportRequestsPage .ad-cust-support-item.ad-support-admin-ticket::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.38);
  border-radius: 99px;
}

#adSupportRequestsPage .ad-cust-support-item.ad-support-admin-ticket::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.35);
  border-radius: 99px;
}

/* Konuşma geçmişi: kartı kısalt, mesajlar bu alanda dikey kayar */
#adSupportRequestsPage .ad-admin-support-thread-msgs {
  max-height: min(160px, 22vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  margin-right: -4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) rgba(15, 23, 42, 0.5);
}

#adSupportRequestsPage .ad-admin-support-thread-msgs::-webkit-scrollbar {
  width: 6px;
}

#adSupportRequestsPage .ad-admin-support-thread-msgs::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.38);
  border-radius: 99px;
}

#adSupportRequestsPage .ad-admin-support-thread-msgs::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.35);
  border-radius: 99px;
}

#adSupportRequestsPage .ad-admin-thread-msg-body {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Konuşma geçmişi balonları (müşteri mor / admin yeşil — müşteri paneli ile uyumlu) */
.ad-admin-thread-msg--cust {
  background: linear-gradient(
    145deg,
    rgba(139, 92, 246, 0.22) 0%,
    rgba(99, 102, 241, 0.18) 45%,
    rgba(167, 139, 250, 0.14) 100%
  );
  border: 1px solid rgba(196, 181, 253, 0.42);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
}

.ad-admin-thread-msg--adm {
  background: linear-gradient(
    155deg,
    rgba(5, 150, 105, 0.3) 0%,
    rgba(4, 120, 87, 0.22) 40%,
    rgba(16, 185, 129, 0.18) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.32);
  box-shadow:
    0 0 0 1px rgba(167, 243, 208, 0.1) inset,
    0 3px 14px rgba(5, 150, 105, 0.12);
}

.ad-admin-thread-msg--cust .text-white-50,
.ad-admin-thread-msg--cust .ad-admin-thread-msg-body {
  color: rgba(245, 243, 255, 0.92) !important;
}

.ad-admin-thread-msg--adm .text-white-50 {
  color: rgba(209, 250, 229, 0.95) !important;
}

.ad-admin-thread-msg--adm .ad-admin-thread-msg-body {
  color: #ecfdf5 !important;
  font-weight: 500;
}

#adSupportRequestsPage .ad-support-admin-ticket .ad-support-admin-reply-preview {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

#adSupportRequestsPage .ad-support-admin-ticket textarea.ad-support-resp-ta {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(56, 189, 248, 0.3);
  color: #f8fafc;
}

#adSupportRequestsPage .ad-support-admin-ticket textarea.ad-support-resp-ta:focus {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.5);
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.15);
}

.ad-cust-history-filters .btn-info {
  min-height: 42px;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.ad-cust-flatpickr-input,
.ad-cust-flatpickr-alt {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  color: rgba(248, 250, 252, 0.96) !important;
  border-radius: 12px !important;
  padding: 0.55rem 0.9rem !important;
  min-height: 42px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ad-cust-flatpickr-input:focus,
.ad-cust-flatpickr-alt:focus {
  border-color: rgba(56, 189, 248, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18) !important;
  outline: none !important;
}

.ad-cust-history-table-shell {
  min-height: 280px;
}

.ad-cust-history-summary {
  padding: 0.65rem 0.85rem 0.85rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.35));
  border-radius: 14px 14px 0 0;
}

.ad-cust-hist-sum-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  align-items: center;
}

.ad-cust-hist-sum-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  letter-spacing: 0.01em;
}

.ad-cust-hist-sum-chip strong {
  font-weight: 800;
  color: #f8fafc;
  margin-left: 0.15rem;
}

.ad-cust-hist-sum-chip--money {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.1);
}

.ad-cust-hist-sum-chip--money strong {
  color: #7dd3fc;
}

.ad-cust-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem 0.85rem 1rem;
}

.ad-cust-hist-card {
  border-radius: 16px;
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background:
    radial-gradient(ellipse 120% 70% at 10% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
    rgba(15, 23, 42, 0.55);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.ad-cust-hist-card:hover {
  border-color: rgba(56, 189, 248, 0.32);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.ad-cust-hist-card--completed {
  border-color: rgba(74, 222, 128, 0.28);
  background:
    radial-gradient(ellipse 120% 70% at 10% 0%, rgba(34, 197, 94, 0.1), transparent 55%),
    rgba(15, 23, 42, 0.55);
}

.ad-cust-hist-card--completed-unpaid {
  border-color: rgba(250, 204, 21, 0.42);
  background:
    radial-gradient(ellipse 120% 70% at 10% 0%, rgba(250, 204, 21, 0.07), transparent 52%),
    rgba(15, 23, 42, 0.55);
}

.ad-cust-hist-card--cancelled {
  border-color: rgba(248, 113, 113, 0.38);
  background:
    radial-gradient(ellipse 120% 70% at 10% 0%, rgba(248, 113, 113, 0.08), transparent 50%),
    rgba(40, 15, 20, 0.35);
}

.ad-cust-hist-card--active {
  border-color: rgba(125, 211, 252, 0.35);
}

.ad-cust-hist-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.ad-cust-hist-card__code-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ad-cust-hist-card__code {
  font-size: 0.95rem;
  font-weight: 800;
  color: #7dd3fc !important;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.ad-cust-hist-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.65);
}

.ad-cust-hist-badge--ok {
  color: #dcfce7 !important;
  border-color: rgba(74, 222, 128, 0.45) !important;
  background: rgba(22, 101, 52, 0.35) !important;
}

.ad-cust-hist-badge--unpaid {
  color: #fef9c3 !important;
  border-color: rgba(250, 204, 21, 0.55) !important;
  background: linear-gradient(145deg, rgba(113, 63, 18, 0.55), rgba(66, 32, 6, 0.5)) !important;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.ad-cust-hist-badge--bad {
  color: #ffe4e6 !important;
  border-color: rgba(248, 113, 113, 0.5) !important;
  background: rgba(127, 29, 29, 0.4) !important;
}

.ad-cust-hist-badge--run {
  color: #e0f2fe !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  background: rgba(14, 116, 144, 0.3) !important;
}

.ad-cust-hist-badge--muted {
  color: rgba(226, 232, 240, 0.85) !important;
}

.ad-cust-hist-card__stage {
  display: flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.96);
  margin-bottom: 0.7rem;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(56, 189, 248, 0.12);
}

.ad-cust-hist-kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 0.5rem;
}

.ad-cust-hist-kv {
  border-radius: 12px;
  padding: 0.5rem 0.6rem;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.ad-cust-hist-kv--amount {
  border-color: rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.08);
}

.ad-cust-hist-kv__k {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(148, 163, 184, 0.88);
  margin-bottom: 0.2rem;
}

.ad-cust-hist-kv__v {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.95);
  line-height: 1.35;
  word-break: break-word;
}

.ad-cust-hist-kv__v--try {
  font-size: 0.95rem;
  font-weight: 800;
  color: #bae6fd !important;
}

.ad-cust-hist-kv__v--pay :is(.ad-cust-hist-pay) {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.ad-cust-hist-pay--yes {
  color: #86efac !important;
}

.ad-cust-hist-pay--no {
  color: #fca5a5 !important;
}

.ad-cust-hist-pay--na {
  color: rgba(148, 163, 184, 0.75) !important;
  font-weight: 500 !important;
}

.ad-cust-hist-lines {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.95);
}

.ad-cust-hist-lines strong {
  color: #f1f5f9;
  font-weight: 800;
}

.ad-cust-hist-note {
  margin-top: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(250, 204, 21, 0.22);
  background: rgba(113, 63, 18, 0.16);
}

.ad-cust-hist-note__lab {
  display: flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(253, 230, 138, 0.95);
  margin-bottom: 0.25rem;
}

.ad-cust-hist-note__txt {
  font-size: 0.84rem;
  color: rgba(254, 249, 195, 0.92);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ad-cust-hist-reason {
  margin-top: 0.55rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fecaca;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(127, 29, 29, 0.28);
  border: 1px solid rgba(248, 113, 113, 0.28);
}

.ad-cust-history-empty__ic {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: rgba(148, 163, 184, 0.85);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Müşteri — Hızlı sipariş */
.ad-cust-quick-intro__ic {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.38);
}

.ad-cust-quick-empty__ic {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: rgba(147, 197, 253, 0.85);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.ad-cust-quick-note {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(59, 130, 246, 0.28) !important;
  color: rgba(248, 250, 252, 0.96) !important;
  border-radius: 12px !important;
}

.ad-cust-quick-note:focus {
  border-color: rgba(96, 165, 250, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18) !important;
}

.ad-cust-quick-schedule-panel {
  border-color: rgba(59, 130, 246, 0.28) !important;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    rgba(15, 23, 42, 0.55) !important;
}

.ad-cust-quick-workspace {
  align-items: stretch;
}

/* Sol (Hızlı seçim) + sağ (Ürünler) kartları aynı sütun yüksekliğinde */
.ad-cust-quick-workspace .ad-cust-quick-schedule-panel {
  flex: 1 1 auto;
  min-height: 0;
}

.ad-cust-quick-workspace .ad-cust-quick-schedule-panel > h2:first-of-type {
  flex-shrink: 0;
  justify-content: center;
  text-align: center;
  width: 100%;
}

/* Kalan yüksekliği doldur; içerideki satır + takvim bloğu ortalanır */
.ad-cust-quick-workspace .ad-cust-quick-sched-cal-outer {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0 0.5rem;
}

.ad-cust-quick-workspace .ad-cust-quick-sched-cal-row {
  flex: 0 1 auto;
}

@media (min-width: 768px) {
  .ad-cust-quick-workspace .ad-cust-quick-sched-cal-row {
    align-items: stretch;
    width: fit-content;
    max-width: 100%;
  }
}

.ad-cust-quick-workspace .ad-cust-quick-cal-section {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ad-cust-quick-workspace .ad-cust-quick-sched-cal-row .ad-cust-quick-cal-section > h2 {
  flex-shrink: 0;
  justify-content: center;
  width: 100%;
}

.ad-cust-quick-workspace .ad-cust-quick-products-panel > h2:first-of-type {
  flex-shrink: 0;
}

.ad-cust-quick-cal-wrap--fill {
  overflow-y: auto;
  overflow-x: hidden;
  justify-content: flex-start !important;
  align-items: stretch !important;
}

.ad-cust-quick-cal-wrap--fill .ad-cust-quick-cal-host {
  flex: 0 0 auto;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

@media (min-width: 992px) {
  .ad-cust-quick-sticky {
    position: sticky;
    top: 1rem;
    z-index: 3;
  }

  .ad-cust-quick-sticky--fill {
    min-height: 0;
  }
}

.ad-cust-quick-sched-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ad-cust-quick-sched-row {
  margin: 0;
  cursor: pointer;
  display: block;
}

.ad-cust-quick-sched-row input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ad-cust-quick-sched-row__body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 2px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(226, 232, 240, 0.92);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.ad-cust-quick-sched-row__icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(147, 197, 253, 0.95);
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.32);
}

.ad-cust-quick-sched-row__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  text-align: left;
}

.ad-cust-quick-sched-row__title {
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.25;
}

.ad-cust-quick-sched-row__sub {
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.92);
  font-weight: 500;
}

.ad-cust-quick-sched-row input:focus-visible + .ad-cust-quick-sched-row__body {
  outline: 2px solid rgba(96, 165, 250, 0.7);
  outline-offset: 2px;
}

.ad-cust-quick-sched-row input:checked + .ad-cust-quick-sched-row__body {
  border-color: rgba(59, 130, 246, 0.55);
  background: rgba(59, 130, 246, 0.14);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
  color: #f8fafc;
}

.ad-cust-quick-sched-row:hover .ad-cust-quick-sched-row__body {
  border-color: rgba(59, 130, 246, 0.38);
}

/* Hazır sıklık seçenekleri + takvim: md+ yan yana, mobilde üst üste */
.ad-cust-quick-sched-cal-outer {
  min-width: 0;
}

.ad-cust-quick-sched-cal-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.ad-cust-quick-sched-cal-row .ad-cust-quick-cal-section {
  margin-top: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.ad-cust-quick-sched-col-wrap {
  min-width: 0;
}

@media (min-width: 768px) {
  .ad-cust-quick-sched-cal-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    width: fit-content;
    max-width: 100%;
  }

  .ad-cust-quick-sched-col-wrap {
    flex: 0 1 14rem;
    max-width: 100%;
  }

  .ad-cust-quick-sched-cal-row .ad-cust-quick-cal-section {
    flex: 1 1 auto;
    /* Flatpickr ~308px + kenar; sıfıra düşmesin — iç scroll olmasın */
    min-width: 21rem;
    padding-top: 0;
    border-top: none;
    padding-left: 1rem;
    margin-left: 0;
    border-left: 1px solid rgba(148, 163, 184, 0.2);
  }

}

/* Takvim sarmalayıcı: dikey sıkışmayı ve gereksiz scroll’u azalt */
.ad-cust-quick-cal-section > .ad-cust-quick-cal-hostwrap {
  min-height: auto;
  min-width: 0;
  overflow: visible;
  align-items: center;
  width: 100%;
}

/*
 * Hızlı sipariş — dar ekran: Bootstrap min-h-0 + flex:1 zinciri takvim alanını içerikten
 * kısa bir kutuya sıkıştırıyordu (Flatpickr üst satır görünüp altı kesiliyordu).
 * Mobilde sıkıştırmayı kaldır, takvim doğal yüksekliğe uzasın; .ad-main kaydırır.
 */
@media (max-width: 991.98px) {
  /* .ad-main > .ad-customer-page flex:1 + min-h-0 tüm viewport’u doldurup içeriği sıkıştırıyordu */
  .ad-cust-quick-page.ad-customer-page {
    flex: 0 1 auto !important;
    min-height: min-content !important;
  }

  .ad-cust-quick-page .ad-cust-quick-workspace > [class*="col-"].min-h-0 {
    min-height: min-content !important;
  }

  .ad-cust-quick-page .ad-cust-quick-sticky.min-h-0,
  .ad-cust-quick-page .ad-cust-quick-schedule-panel.min-h-0 {
    min-height: min-content !important;
  }

  .ad-cust-quick-page .ad-cust-quick-workspace .ad-cust-quick-schedule-panel {
    flex: 0 1 auto !important;
    overflow: visible !important;
  }

  .ad-cust-quick-page .ad-cust-quick-workspace .ad-cust-quick-sched-cal-outer {
    flex: 0 1 auto !important;
    min-height: auto !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  .ad-cust-quick-page .ad-cust-quick-cal-section,
  .ad-cust-quick-page .ad-cust-quick-cal-hostwrap {
    flex: 0 1 auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
}

/* Takvim widget’ı sütun içinde yatay ortada */
.ad-cust-quick-sched-cal-row .ad-cust-quick-cal-host {
  justify-content: center !important;
}

/* Eski tek başına takvim paneli (başka sayfalar kullanmıyorsa yedek) */
.ad-cust-quick-cal-panel {
  border-color: rgba(59, 130, 246, 0.28) !important;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(59, 130, 246, 0.12), transparent 50%),
    rgba(15, 23, 42, 0.55) !important;
}

/* Hızlı sipariş takvim + Flatpickr: wwwroot/css/customer-quick-calendar.css (dark.css’ten sonra) */

.ad-cust-quick-note-panel {
  border-color: rgba(148, 163, 184, 0.22) !important;
  max-width: min(32rem, 100%);
}

.ad-cust-quick-submit-bar {
  padding-top: 0;
}

.ad-cust-quick-submit-card {
  border-color: rgba(59, 130, 246, 0.35) !important;
  background:
    radial-gradient(ellipse 70% 80% at 100% 50%, rgba(59, 130, 246, 0.14), transparent 55%),
    rgba(15, 23, 42, 0.58) !important;
  padding: 0.55rem 1rem !important;
}

.ad-cust-quick-submit-card .ad-cust-quick-submit-bar {
  padding-top: 0;
}

.ad-cust-quick-submit-hint {
  max-width: 36rem;
  line-height: 1.35;
}

/* Onay kartı: daha alçak düğme */
.ad-cust-quick-submit-card .ad-cust-quick-send {
  padding: 0.52rem 1.35rem !important;
}

.ad-cust-quick-submit-card .ad-cust-quick-send__txt {
  font-size: 0.94rem;
}

.ad-cust-quick-submit-card .ad-cust-quick-send__ic {
  font-size: 1rem;
}

.letter-spacing-tight {
  letter-spacing: 0.04em;
}

.ad-cust-quick-sched-seg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
}

.ad-cust-quick-sched-btn {
  margin: 0;
  cursor: pointer;
  display: block;
}

.ad-cust-quick-sched-btn input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ad-cust-quick-sched-btn__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0.85rem 0.65rem;
  border-radius: 14px;
  border: 2px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(226, 232, 240, 0.9);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.ad-cust-quick-sched-btn__body i {
  font-size: 1.15rem;
  color: rgba(147, 197, 253, 0.92);
  margin-bottom: 0.15rem;
}

.ad-cust-quick-sched-btn__title {
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ad-cust-quick-sched-btn__sub {
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.9);
  font-weight: 500;
}

.ad-cust-quick-sched-btn input:focus-visible + .ad-cust-quick-sched-btn__body {
  outline: 2px solid rgba(96, 165, 250, 0.7);
  outline-offset: 2px;
}

.ad-cust-quick-sched-btn input:checked + .ad-cust-quick-sched-btn__body {
  border-color: rgba(59, 130, 246, 0.55);
  background: rgba(59, 130, 246, 0.14);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
  color: #f8fafc;
}

.ad-cust-quick-sched-btn:hover .ad-cust-quick-sched-btn__body {
  border-color: rgba(59, 130, 246, 0.38);
}

/* Eski grid — artık ad-cust-quick-product-stack (tek sütun) */
.ad-cust-quick-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ad-cust-quick-products-panel {
  border-color: rgba(59, 130, 246, 0.28) !important;
  background:
    radial-gradient(ellipse 85% 55% at 100% 0%, rgba(59, 130, 246, 0.12), transparent 50%),
    rgba(15, 23, 42, 0.55) !important;
  min-height: 0;
  padding: 1rem 1.1rem 1.15rem !important;
}

/* Satır stretch + iç flex: liste alanı kalan tüm yüksekliği kullanır, ürünler alt alta kaydırılır */
.ad-cust-quick-workspace > [class*="col-"] {
  min-height: 0;
}

.ad-cust-quick-product-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  flex: 1 1 auto;
  min-height: 10rem;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.25rem;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.42) rgba(15, 23, 42, 0.5);
}

.ad-cust-quick-product-stack:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25);
  border-radius: 8px;
}

.ad-cust-quick-product-stack::-webkit-scrollbar {
  width: 8px;
}

.ad-cust-quick-product-stack::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.38);
  border-radius: 8px;
}

.ad-cust-quick-product-stack::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.45);
  border-radius: 8px;
}

.ad-cust-quick-products-bottom .ad-cust-quick-note {
  max-width: 100%;
}

.ad-cust-quick-card {
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.26);
  background:
    radial-gradient(ellipse 95% 70% at 0% 0%, rgba(59, 130, 246, 0.11), transparent 52%),
    rgba(15, 23, 42, 0.58);
  padding: 0.95rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.ad-cust-quick-card:hover {
  border-color: rgba(59, 130, 246, 0.42);
}

.ad-cust-quick-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.ad-cust-quick-card__viz {
  flex: 0 0 auto;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.22), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.ad-cust-quick-card__num {
  position: absolute;
  top: -0.35rem;
  left: -0.35rem;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.95);
  color: #f8fafc;
  border: 1px solid rgba(147, 197, 253, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.ad-cust-quick-card__ic {
  font-size: 1.15rem;
  color: rgba(224, 242, 254, 0.95);
  opacity: 0.92;
}

.ad-cust-quick-card__main {
  flex: 1 1 auto;
  min-width: 0;
}

.ad-cust-quick-card__head {
  min-width: 0;
}

.ad-cust-quick-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: rgba(248, 250, 252, 0.98);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.ad-cust-quick-card__price-line {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(147, 197, 253, 0.9);
  font-weight: 600;
}

.ad-cust-quick-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.ad-cust-quick-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.32);
  color: #bfdbfe;
}

.ad-cust-quick-pill--muted {
  color: rgba(226, 232, 240, 0.9);
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.55);
}

.ad-cust-quick-pill--cap {
  color: rgba(219, 234, 254, 0.96);
  border-color: rgba(59, 130, 246, 0.38);
  background: rgba(30, 58, 138, 0.35);
}

.ad-cust-quick-pill--cap strong {
  color: #93c5fd;
  font-weight: 800;
}

.ad-cust-quick-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: rgba(203, 213, 225, 0.95);
}

.ad-cust-quick-tag strong {
  color: #bfdbfe;
  font-weight: 800;
}

.ad-cust-quick-card__controls {
  margin: 0;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(59, 130, 246, 0.16);
}

.ad-cust-quick-qty-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.55rem 0.6rem;
  width: 100%;
}

.ad-cust-quick-qty-toolbar .ad-cust-quick-stepper {
  flex: 1 1 10.5rem;
  min-width: min(100%, 9.5rem);
  max-width: 100%;
}

.ad-cust-quick-stepper {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.32);
}

.ad-cust-quick-stepbtn {
  flex: 0 0 2.75rem;
  border: none !important;
  border-radius: 0 !important;
  background: rgba(59, 130, 246, 0.18) !important;
  color: #dbeafe !important;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  padding: 0 !important;
}

.ad-cust-quick-stepbtn:hover {
  background: rgba(59, 130, 246, 0.32) !important;
  color: #fff !important;
}

.ad-cust-quick-stepper .ad-cust-quick-qty-input {
  flex: 1 1 auto;
  border-radius: 0 !important;
  border: none !important;
  min-width: 0;
}

.ad-cust-quick-quicknums {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  flex: 0 1 auto;
}

.ad-cust-quick-chip {
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.72rem !important;
  padding: 0.38rem 0.55rem !important;
  border: 1px solid rgba(59, 130, 246, 0.28) !important;
  background: rgba(15, 23, 42, 0.55) !important;
  color: rgba(191, 219, 254, 0.94) !important;
  line-height: 1.2;
  white-space: nowrap;
}

.ad-cust-quick-chip:hover {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: rgba(59, 130, 246, 0.45) !important;
  color: #f0f9ff !important;
}

.ad-cust-quick-qty-input {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  color: rgba(248, 250, 252, 0.98) !important;
  border-radius: 12px !important;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  appearance: textfield;
  -moz-appearance: textfield;
}

.ad-cust-quick-qty-input::-webkit-outer-spin-button,
.ad-cust-quick-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ad-cust-quick-qty-input:focus {
  border-color: rgba(96, 165, 250, 0.58) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16) !important;
}

.ad-cust-quick-send {
  position: relative;
  font-weight: 800 !important;
  letter-spacing: 0.035em;
  padding: 0.88rem 1.85rem !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  /* Koyu zümrüt / orman yeşili — mavi değil, açık ton yok */
  background: linear-gradient(145deg, #166534 0%, #14532d 36%, #052e16 72%, #022c16 100%) !important;
  box-shadow:
    0 6px 22px rgba(5, 46, 22, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    border-color 0.18s ease;
}

.ad-cust-quick-send__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.ad-cust-quick-send__ic {
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.95;
}

.ad-cust-quick-send__txt {
  font-size: 1.02rem;
  line-height: 1.2;
}

.ad-cust-quick-send__spin {
  border-color: rgba(255, 255, 255, 0.35);
  border-right-color: #ffffff;
  width: 1.15rem;
  height: 1.15rem;
}

.ad-cust-quick-send:hover {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 12px 32px rgba(5, 46, 22, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: brightness(1.06) saturate(1.02);
}

.ad-cust-quick-send:active {
  transform: translateY(0);
  filter: brightness(0.96);
  box-shadow:
    0 3px 14px rgba(5, 46, 22, 0.45),
    inset 0 2px 4px rgba(0, 0, 0, 0.28);
}

.ad-cust-quick-send:focus-visible {
  outline: 0 !important;
  box-shadow:
    0 0 0 3px rgba(15, 23, 42, 0.9),
    0 0 0 6px rgba(20, 83, 45, 0.55),
    0 10px 28px rgba(5, 46, 22, 0.42) !important;
}

.ad-cust-quick-send:disabled,
.ad-cust-quick-send.disabled {
  opacity: 0.55 !important;
  transform: none !important;
  cursor: not-allowed !important;
  filter: grayscale(0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.ad-cust-quick-result {
  border-color: rgba(74, 222, 128, 0.28) !important;
  background: rgba(22, 101, 52, 0.12) !important;
}

.ad-cust-history-scroll {
  overflow-y: auto;
  overflow-x: auto;
  max-height: calc(100dvh - 22rem);
  min-height: min(380px, calc(100dvh - 22rem));
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.45) rgba(15, 23, 42, 0.5);
  border-radius: 0 0 14px 14px;
}

.ad-cust-history-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.ad-cust-history-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.45), rgba(14, 165, 233, 0.35));
  border-radius: 8px;
  border: 2px solid rgba(15, 23, 42, 0.6);
}

.ad-cust-history-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.55);
  border-radius: 8px;
}

.ad-cust-history-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(12, 19, 35, 0.96) !important;
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.2);
}

/* Flatpickr — panel teması (Eta çizgisi) */
.flatpickr-calendar {
  border-radius: 16px !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
}

.flatpickr-day.inRange {
  background: rgba(14, 165, 233, 0.22) !important;
  border-color: transparent !important;
  box-shadow:
    -4px 0 0 rgba(14, 165, 233, 0.22),
    4px 0 0 rgba(14, 165, 233, 0.22);
}

.flatpickr-months .flatpickr-month {
  border-radius: 12px 12px 0 0;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  font-weight: 600 !important;
}

.ad-home-pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.ad-home-pipeline-item {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.52);
  padding: 1.05rem 1.15rem 1.2rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

.ad-home-pipeline-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.ad-home-pipeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.84rem;
  line-height: 1.35;
}

.ad-home-pipeline-meta__item {
  white-space: nowrap;
}

.ad-home-pipeline-customer {
  font-weight: 700;
  font-size: 1.02rem;
  color: rgba(248, 250, 252, 0.97);
  letter-spacing: -0.01em;
}

.ad-home-pipeline-sub {
  font-size: 0.84rem;
  color: rgba(148, 163, 184, 0.92);
  margin-top: 0.2rem;
}

.ad-home-pipeline-code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.82em;
}

.ad-home-pipeline-badge {
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  background: rgba(56, 189, 248, 0.14) !important;
  color: #e0f2fe !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  align-self: center;
}

.ad-home-pipeline-placeholder {
  margin: 0;
  max-width: 56ch;
  line-height: 1.55;
  font-size: 0.9rem;
}

.ad-cargo-h--embedded {
  --ad-cargo-node: 2.2rem;
  --ad-cargo-node-ring: #121826;
  padding: 0.85rem 0.45rem 1rem;
  margin: 0 -0.2rem;
}

.ad-template-body .ad-cargo-h--embedded {
  --ad-cargo-node-ring: #0f1623;
}

.ad-cargo-h--embedded .ad-cargo-h__line-layer {
  top: calc(0.85rem + var(--ad-cargo-node) / 2 - 2px);
  left: 7%;
  right: 7%;
}

.ad-cargo-h--embedded .ad-cargo-h-node {
  margin-bottom: 0.5rem;
}

.ad-cargo-h--embedded .ad-cargo-h-title {
  font-size: 0.66rem;
  padding: 0 0.2rem;
}

.ad-cargo-h--embedded .ad-cargo-h-time {
  font-size: 0.58rem;
  padding: 0 0.15rem;
}

.ad-cargo-h--embedded .ad-cargo-h__steps {
  gap: 0.3rem;
  min-width: min(100%, 100%);
}

.ad-cargo-h--embedded .ad-cargo-h-step {
  min-width: 76px;
  max-width: none;
}

/* Yatay kargo / süreç stepper */
.ad-cargo-h {
  --ad-cargo-node: 2.75rem;
  --ad-cargo-node-ring: #121826;
  position: relative;
  padding: 1.1rem 0.85rem 1.35rem;
  margin: 0 -0.25rem;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.ad-cargo-h__line-layer {
  position: absolute;
  left: 9%;
  right: 9%;
  top: calc(1.1rem + var(--ad-cargo-node) / 2 - 2px);
  height: 4px;
  z-index: 0;
  pointer-events: none;
}

.ad-cargo-h__line-track {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: rgba(71, 85, 105, 0.45);
}

.ad-cargo-h__line-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(var(--ad-cargo-progress, 0%), 100%);
  border-radius: 99px;
  background: linear-gradient(90deg, #22c55e, #38bdf8, #818cf8);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-cargo-h__steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
  position: relative;
  z-index: 1;
  isolation: isolate;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: min(100%, 640px);
}

.ad-cargo-h-step {
  flex: 1 1 0;
  min-width: 88px;
  max-width: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ad-cargo-h-node {
  width: var(--ad-cargo-node);
  height: var(--ad-cargo-node);
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
  position: relative;
  z-index: 2;
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 0 0 3px var(--ad-cargo-node-ring);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.ad-cargo-h-node i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.ad-cargo-h-title {
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(248, 250, 252, 0.92);
  margin-bottom: 0.25rem;
  padding: 0 0.35rem;
}

.ad-cargo-h-time {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.88);
  letter-spacing: 0.02em;
  line-height: 1.4;
  padding: 0 0.35rem;
}

.ad-template-body .ad-cargo-h {
  --ad-cargo-node-ring: #10161f;
}

.ad-cargo-h-step--done .ad-cargo-h-node {
  background: #14532d;
  border-color: rgba(74, 222, 128, 0.55);
  color: #bbf7d0;
}

.ad-cargo-h-step--done .ad-cargo-h-time {
  color: rgba(167, 243, 208, 0.82);
}

.ad-cargo-h-step--current .ad-cargo-h-node {
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  border-color: rgba(56, 189, 248, 0.65);
  color: #0f172a;
  box-shadow:
    0 0 0 3px var(--ad-cargo-node-ring),
    0 0 0 5px rgba(56, 189, 248, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.3);
}

.ad-cargo-h-step--current .ad-cargo-h-title {
  color: rgba(248, 250, 252, 0.98);
}

.ad-cargo-h-step--current .ad-cargo-h-time {
  color: rgba(56, 189, 248, 0.95);
}

.ad-cargo-h-step--pending .ad-cargo-h-node {
  opacity: 0.5;
  background: #0f172a;
  border-color: rgba(51, 65, 85, 0.5);
}

.ad-cargo-h-step--pending .ad-cargo-h-title {
  color: rgba(148, 163, 184, 0.72);
}

.ad-cargo-h-step--pending .ad-cargo-h-time {
  color: rgba(100, 116, 139, 0.72);
}

@media (min-width: 992px) {
  .ad-cargo-h__steps {
    min-width: 100%;
  }

  .ad-cargo-h-title {
    font-size: 0.78rem;
  }

  .ad-cargo-h-time {
    font-size: 0.7rem;
  }
}

@media (max-width: 991.98px) {
  /*
   * Genel .ad-layout { display: block } flex zincirini kırıyordu: .ad-main üzerindeki
   * flex:1 + min-height:0 + overflow-y:auto işe yaramıyor, içerik layout’ta kesiliyordu.
   * Şablon gövdesinde dikey flex + tek scroll alanı (ad-main) korunur.
   */
  .ad-template-body .ad-layout {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .ad-template-body .ad-main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
    padding: 14px 16px 24px;
  }

  /*
   * Admin: içerik çoğu zaman .ad-main değil, kart içi overflow (ör. kampanya görselleri) kayıyor;
   * bu yüzden yalnızca 575px altı yetmeyebilir. ≤991px tüm dar admin + güçlü alt padding.
   */
  .ad-template-body.ad-admin-shell .ad-main {
    padding-bottom: max(4.5rem, calc(env(safe-area-inset-bottom, 0px) + 3.25rem));
  }
}

.ad-template-body .ad-admin-footer {
  flex: 0 0 auto;
  width: 100%;
}

.ad-template-body .ad-admin-footer .container {
  max-width: none;
  width: 100%;
  padding-left: clamp(16px, 2vw, 28px);
  padding-right: clamp(16px, 2vw, 28px);
}

/* Genel site + giriş: üst header + main + tek tip footer şeridi */
body.et-login-page,
body.et-site-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.et-login-page .et-main-wrapper,
body.et-site-shell .et-main-wrapper {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.et-login-page .et-main-wrapper > main,
body.et-site-shell .et-main-wrapper > main {
  flex: 1 1 auto;
}

body.et-login-page .ad-admin-footer,
body.et-site-shell .ad-admin-footer {
  width: 100%;
  flex-shrink: 0;
}

/* Müşteri paneli (_PanelLayout): footer alta */
body.et-panel-shell {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.et-main-wrapper--footer-stick {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.et-main-wrapper--footer-stick .et-main-wrapper__grow {
  flex: 1 1 auto;
}

.et-main-wrapper--footer-stick .ad-admin-footer {
  width: 100%;
  flex-shrink: 0;
}

.et-nav-full {
  width: 100%;
  max-width: none;
  padding: 1.5rem 3.5rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .et-nav-full {
    padding: 1.75rem 4.5rem;
  }
  .et-header {
    min-height: 80px;
  }
}

@media (min-width: 992px) {
  .et-nav-full {
    padding: 2rem 5.5rem;
  }
  .et-header {
    min-height: 88px;
  }
}

@media (min-width: 1200px) {
  .et-nav-full {
    padding: 2.25rem 7rem;
  }
  .et-header {
    min-height: 92px;
  }
}

.et-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.et-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.et-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.et-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(160deg, #0ea5e9 0%, #38bdf8 50%, #0d9488 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.45);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.et-logo-image {
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
  display: block;
  user-select: none;
}

/* Resim logosu: dairesel ikonla aynı taşıma; auto genişlik büyük SVG/logo ile et-header şişmesine yol açıyordu */
.et-logo-icon--image {
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  border-radius: 0 !important;
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  flex-shrink: 0;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: none !important;
}

.et-logo-icon--image .et-logo-image,
.et-logo-icon--image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain;
}

.et-logo:hover .et-logo-icon--image {
  box-shadow: none !important;
  transform: none !important;
}

.et-logo:hover .et-logo-icon {
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.6);
  transform: scale(1.08);
}

.et-logo-mark {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #f8fafc;
  letter-spacing: 0.02em;
}

.et-logo-mark-accent {
  color: #38bdf8;
  font-weight: 800;
}

.et-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.et-nav-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.et-nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.et-nav-links .et-nav-cta {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  padding: 0.55rem 1.25rem;
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.35);
}

.et-nav-links .et-nav-cta:hover {
  background: linear-gradient(135deg, #1d4ed8, #0284c7);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.5);
}

.et-nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1101;
}

.et-nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.et-menu-open {
  overflow: hidden;
}

.et-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.et-mobile-menu.is-open {
  pointer-events: auto;
  opacity: 1;
}

.et-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.et-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(88vw, 380px);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
  border-left: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.55);
  transform: translateX(12px);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.1rem 1rem;
}

.et-mobile-menu.is-open .et-mobile-menu__panel {
  transform: translateX(0);
}

.et-mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.et-mobile-menu__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.et-mobile-menu__close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
}

.et-mobile-menu__nav {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 0.1rem;
}

.et-mobile-menu__nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.95);
  font-weight: 750;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.et-mobile-menu__nav a i {
  color: #7dd3fc;
}

.et-mobile-menu__cta {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.28), rgba(0, 198, 255, 0.16));
  border-color: rgba(56, 189, 248, 0.22);
}

.et-mobile-menu__foot {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: grid;
  gap: 0.55rem;
}

.et-mobile-menu__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #0d6efd, #00c6ff);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.et-mobile-menu__action--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: rgba(226, 232, 240, 0.95);
}

.et-main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
}

/* ----- Köpük / bubble arka plan (tüm sayfa) ----- */
.et-bubble-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -10;
}

/* (login sayfasında) baloncuklar kalsın: et-bubble-layer'ı kapatma kuralı kaldırıldı */

.et-bubble {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0, transparent 52%, rgba(255, 255, 255, 0.7) 65%, transparent 80%),
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.65) 0, rgba(255, 255, 255, 0.15) 18%, transparent 45%),
    conic-gradient(
      from 0deg,
      rgba(244, 114, 182, 0.22),
      rgba(129, 140, 248, 0.26),
      rgba(56, 189, 248, 0.3),
      rgba(45, 212, 191, 0.26),
      rgba(244, 114, 182, 0.22)
    );
  box-shadow:
    inset 0 0 8px rgba(255, 255, 255, 0.75),
    0 0 10px rgba(148, 163, 184, 0.25);
  opacity: 0;
  animation: et-bubble-rise 26s ease-in-out infinite;
}

/* UI katmanları: baloncukların üstünde kalsın */
.et-header,
.et-main-wrapper {
  position: relative;
  z-index: 10;
}

.et-mobile-menu {
  z-index: 1100;
}

.et-bubble:nth-child(1)  { width: 52px;  height: 48px;  left: 5%;  bottom: -50px;  border-radius: 52% 48% 48% 52% / 48% 54% 46% 52%; animation-duration: 18s; animation-delay: 0s; }
.et-bubble:nth-child(2)  { width: 88px;  height: 92px;  left: 18%; bottom: -90px;  border-radius: 48% 52% 54% 46% / 52% 48% 52% 48%; animation-duration: 24s; animation-delay: 2s; }
.et-bubble:nth-child(3)  { width: 46px;  height: 44px;  left: 32%; bottom: -45px;  border-radius: 54% 46% 46% 54% / 50% 50% 50% 50%; animation-duration: 16s; animation-delay: 4s; }
.et-bubble:nth-child(4)  { width: 68px;  height: 72px;  left: 45%; bottom: -70px;  border-radius: 46% 54% 52% 48% / 54% 46% 54% 46%; animation-duration: 22s; animation-delay: 1s; }
.et-bubble:nth-child(5)  { width: 56px;  height: 54px;  left: 58%; bottom: -55px;  border-radius: 50% 50% 48% 52% / 52% 48% 52% 48%; animation-duration: 19s; animation-delay: 3s; }
.et-bubble:nth-child(6)  { width: 98px;  height: 102px; left: 72%; bottom: -100px; border-radius: 51% 49% 49% 51% / 49% 51% 49% 51%; animation-duration: 26s; animation-delay: 0.5s; }
.et-bubble:nth-child(7)  { width: 42px;  height: 38px;  left: 88%; bottom: -40px;  border-radius: 48% 52% 52% 48% / 52% 48% 48% 52%; animation-duration: 15s; animation-delay: 5s; }
.et-bubble:nth-child(8)  { width: 64px;  height: 66px;  left: 12%; bottom: -65px;  border-radius: 53% 47% 47% 53% / 47% 53% 47% 53%; animation-duration: 21s; animation-delay: 6s; }
.et-bubble:nth-child(9)  { width: 86px;  height: 84px;  left: 38%; bottom: -85px;  border-radius: 49% 51% 51% 49% / 51% 49% 51% 49%; animation-duration: 23s; animation-delay: 2.5s; }
.et-bubble:nth-child(10) { width: 50px;  height: 46px;  left: 62%; bottom: -48px;  border-radius: 47% 53% 53% 47% / 53% 47% 53% 47%; animation-duration: 17s; animation-delay: 7s; }
.et-bubble:nth-child(11) { width: 74px;  height: 76px;  left: 82%; bottom: -75px;  border-radius: 52% 48% 48% 52% / 48% 52% 48% 52%; animation-duration: 20s; animation-delay: 4.5s; }
.et-bubble:nth-child(12) { width: 56px;  height: 60px;  left: 8%;  bottom: -58px;  border-radius: 50% 50% 54% 46% / 46% 54% 50% 50%; animation-duration: 18s; animation-delay: 8s; }
.et-bubble:nth-child(13) { width: 94px;  height: 96px;  left: 52%; bottom: -95px;  border-radius: 48% 52% 52% 48% / 52% 48% 52% 48%; animation-duration: 25s; animation-delay: 1.5s; }
.et-bubble:nth-child(14) { width: 44px;  height: 40px;  left: 68%; bottom: -42px;  border-radius: 51% 49% 49% 51% / 49% 51% 49% 51%; animation-duration: 14s; animation-delay: 9s; }
.et-bubble:nth-child(15) { width: 78px;  height: 82px;  left: 25%; bottom: -80px;  border-radius: 47% 53% 51% 49% / 53% 47% 49% 51%; animation-duration: 22s; animation-delay: 5.5s; }

/* Fazla bölmemesi için bir kısmını tamamen gizle */
.et-bubble:nth-child(6),
.et-bubble:nth-child(9),
.et-bubble:nth-child(11),
.et-bubble:nth-child(13),
.et-bubble:nth-child(15) {
  display: none;
}

@keyframes et-bubble-rise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.8);
    opacity: 0;
  }
  8% {
    opacity: 0.55;
  }
  50% {
    transform: translate3d(15px, -50vh, 0) scale(1.05);
    opacity: 0.5;
  }
  92% {
    opacity: 0.4;
  }
  100% {
    transform: translate3d(-25px, -110vh, 0) scale(1.1);
    opacity: 0;
  }
}

.et-footer {
  width: 100%;
  margin-top: auto;
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  background: radial-gradient(circle at 50% -40%, rgba(15, 23, 42, 0.7), transparent 55%),
              linear-gradient(0deg, #020617 0%, #020617 40%, #030712 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

.et-footer-full {
  width: 100%;
  max-width: none;
  padding: 0 1.5rem;
}

@media (min-width: 992px) {
  .et-footer-full {
    padding: 0 3rem;
  }
}

.et-footer-top {
  display: none;
}

.et-footer-brand {
  max-width: 280px;
}

.et-footer-logo {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 0.35rem;
}

.et-footer-tagline {
  font-size: 0.9rem;
  color: rgba(224, 242, 254, 0.85);
  margin: 0;
  font-weight: 500;
}

.et-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.et-footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.95);
  margin-bottom: 0.25rem;
}

.et-footer-col a {
  color: rgba(226, 232, 240, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.et-footer-col a:hover {
  color: #7dd3fc;
}

.et-footer-bottom {
  padding: 0.65rem 0;
  padding-bottom: max(0.65rem, calc(env(safe-area-inset-bottom, 0px) + 10px));
  text-align: center;
}

@media (min-width: 576px) {
  .et-footer-bottom {
    text-align: left;
  }
}

 

.et-footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.85);
}

main {
  scroll-behavior: smooth;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  main {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1200px) {
  main {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Container genişliği artırıldı */
.container {
  max-width: 100%;
}

@media (min-width: 992px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1520px;
  }
}

/* ----- Hero section with animated background ----- */
.et-hero {
  position: relative;
  overflow: hidden;
  padding-top: 0.75rem;
  padding-bottom: 4rem;
  min-height: 42vh;
}

@media (min-width: 768px) {
  .et-hero {
    padding-top: 1rem;
    padding-bottom: 5rem;
    min-height: 50vh;
  }
}

.et-hero-bg {
  position: absolute;
  inset: -120px -40px;
  background: transparent;
  pointer-events: none;
}

.et-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .et-hero-inner {
    padding-top: 0.75rem;
  }
}

.et-hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.et-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 14px rgba(0, 198, 255, 0.7);
  animation: et-particle-float 22s linear infinite;
  opacity: 0.7;
}

.et-particle:nth-child(1) { top: 80%; left: 6%; animation-duration: 18s; }
.et-particle:nth-child(2) { top: 60%; left: 30%; animation-duration: 22s; }
.et-particle:nth-child(3) { top: 90%; left: 55%; animation-duration: 19s; }
.et-particle:nth-child(4) { top: 70%; left: 78%; animation-duration: 24s; }
.et-particle:nth-child(5) { top: 85%; left: 92%; animation-duration: 21s; }

/* ----- Hero başlık: tek satır, renk geçişli ----- */
.et-hero-title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.et-hero-logo-large {
  width: clamp(110px, 14vw, 240px);
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 12px 26px rgba(0, 198, 255, 0.35));
  animation: et-hero-logo-float 2s ease-in-out infinite;
}

.et-hero-title-stack .et-hero-title {
  margin-bottom: 10px;
}

.et-hero-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(1.2rem, 3vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(105deg, #bae6fd 0%, #e0f2fe 25%, #f0f9ff 50%, #e0f2fe 75%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  animation: et-hero-title-in 1s ease-out;
}

.et-hero-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.9rem;
  width: min(320px, 70%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.85), transparent);
  opacity: 0.9;
  animation: et-hero-underline-pulse 4s ease-in-out infinite;
}

@media (max-width: 767.98px) {
  .et-hero-title {
    font-size: clamp(0.95rem, 4vw, 1.4rem);
    letter-spacing: 0.02em;
  }

  .et-hero-logo-large {
    width: clamp(118px, 50vw, 230px);
    filter: drop-shadow(0 12px 28px rgba(0, 198, 255, 0.38));
  }
}

@keyframes et-hero-title-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes et-hero-title-shine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@keyframes et-hero-logo-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

@keyframes et-hero-underline-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: translateX(-50%) scaleX(0.9);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
}

.et-hero .lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(240, 247, 255, 0.95);
  line-height: 1.7;
}

/* Hero intro: cam kart (üst blok) */
.et-hero-intro-panel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1.3rem 1.15rem 1.4rem;
  background:
    linear-gradient(155deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.92) 52%, rgba(2, 6, 23, 0.9) 100%),
    radial-gradient(ellipse 95% 75% at 100% 0%, rgba(14, 165, 233, 0.18), transparent 58%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 16px 40px rgba(0, 0, 0, 0.48),
    0 0 44px rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.et-hero-intro-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(125deg, rgba(56, 189, 248, 0.11) 0%, transparent 45%),
    radial-gradient(circle at 10% 15%, rgba(56, 189, 248, 0.2), transparent 50%);
  opacity: 0.88;
  pointer-events: none;
  mix-blend-mode: screen;
}

.et-hero-intro-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.55), rgba(129, 140, 248, 0.42), transparent);
  pointer-events: none;
}

.et-hero-intro-panel:hover {
  border-color: rgba(125, 211, 252, 0.34);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 22px 52px rgba(0, 0, 0, 0.52),
    0 0 56px rgba(56, 189, 248, 0.2);
}

.et-hero-intro-panel .lead,
.et-hero-intro-panel .et-hero-list,
.et-hero-intro-panel .et-hero-cta {
  position: relative;
  z-index: 1;
}

.et-hero-intro-lead strong {
  color: #bae6fd;
  font-weight: 700;
}

.et-hero-intro-panel .et-hero-intro-list {
  padding: 1rem 0.15rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.et-hero-intro-panel .et-hero-intro-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.5rem 0.65rem 0.5rem 1.35rem;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(125, 211, 252, 0.14);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(248, 250, 255, 0.95);
  line-height: 1.45;
  text-align: left;
}

.et-hero-intro-panel .et-hero-intro-list li::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7dd3fc, #0ea5e9);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.55);
}

.et-hero-intro-panel .et-hero-cta {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  gap: clamp(0.55rem, 2vw, 1rem);
}

.et-hero-intro-panel .et-hero-cta > .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  text-align: center;
}

@media (min-width: 768px) {
  .et-hero-intro-panel {
    padding: 1.7rem 1.85rem 1.85rem;
    border-radius: 24px;
  }

  .et-hero-intro-panel::after {
    border-radius: 24px 24px 0 0;
  }

  .et-hero-intro-panel .et-hero-intro-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.85rem;
    max-width: 38rem;
    margin-inline: auto;
    padding-inline: 0.35rem;
  }

  .et-hero-intro-panel .et-hero-intro-list li {
    min-height: 3rem;
    font-size: 0.93rem;
    padding: 0.55rem 0.7rem 0.55rem 1.38rem;
  }
}

/* Hero: metin üstte, kart altta; geniş ekranda intro tam genişlik + liste iki sütun */
@media (min-width: 992px) {
  .et-hero-intro-col {
    max-width: none;
  }

  .et-hero-card {
    min-height: 0;
  }

  .et-hero-intro-panel .et-hero-intro-lead {
    font-size: 1.12rem;
    max-width: none;
  }

  .et-hero-list {
    line-height: 1.72;
  }

  .et-hero-intro-panel .et-hero-intro-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    max-width: min(56rem, 100%);
    margin-inline: auto;
    padding-inline: 0.4rem;
    padding-top: 1.15rem;
  }

  .et-hero-intro-panel .et-hero-intro-list li {
    min-height: 3.35rem;
    font-size: 0.95rem;
    padding: 0.65rem 0.75rem 0.65rem 1.42rem;
  }

  .et-hero-intro-panel .et-hero-intro-list li::before {
    left: 0.58rem;
  }

  .et-hero-intro-panel .et-hero-cta {
    margin-top: 1.25rem;
    gap: 1rem;
  }
}

.et-hero-list {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(248, 250, 255, 0.95);
  line-height: 1.5;
}

.et-hero-list li {
  margin-bottom: 0.5rem;
}

.et-hero-list li:last-child {
  margin-bottom: 0;
}

.et-hero .badge {
  font-weight: 700;
  letter-spacing: 0.03em;
}

@keyframes et-bg-shift {
  0% {
    transform: translate3d(0, 0, 0) scale(1.02);
  }
  50% {
    transform: translate3d(-12px, -8px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(10px, 6px, 0) scale(1.03);
  }
}

@keyframes et-particle-float {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.2;
  }
  25% {
    opacity: 0.8;
  }
  50% {
    transform: translate3d(-30px, -140px, 0);
    opacity: 0.5;
  }
  100% {
    transform: translate3d(40px, -260px, 0);
    opacity: 0;
  }
}

/* ----- Hero info card (Neden EtaTowel?) ----- */
.et-hero-card {
  position: relative;
  padding: 2.4rem 2.8rem 2.1rem;
  border-radius: 24px;
  background:
    linear-gradient(165deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.92) 100%),
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(56, 189, 248, 0.22), transparent 50%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 48px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(56, 189, 248, 0.2);
  min-height: 340px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform-origin: center;
  overflow: hidden;
  transition:
    transform 280ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease,
    background 280ms ease;
}

.et-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.35), transparent 45%);
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
}

.et-hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), rgba(14, 165, 233, 0.9), transparent);
  pointer-events: none;
}

.et-hero-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(56, 189, 248, 0.4);
  border-color: rgba(125, 211, 252, 0.5);
  background:
    linear-gradient(165deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%),
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(56, 189, 248, 0.3), transparent 50%);
}

.et-hero-card:hover .et-hero-card-title,
.et-hero-card:hover .et-hero-feature-title {
  text-shadow: 0 0 20px rgba(125, 211, 252, 0.7);
}

/* Neden EtaTowel? kartı içi kutucuklar */
.et-hero-reasons > [class*="col"] {
  display: flex;
}

.et-reason-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  min-height: 100%;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 14px;
  background: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.15), transparent 55%),
              rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.et-reason-body {
  flex: 0 1 auto;
}

.et-reason-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: 0;
  align-self: flex-start;
  background: radial-gradient(circle at 30% 30%, #e0f2fe, #38bdf8);
  color: #020617;
  font-size: 0.92rem;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
}

@media (min-width: 992px) {
  .et-hero-reasons {
    --bs-gutter-x: 1.35rem;
  }

  .et-reason-card {
    gap: 0.65rem;
    padding: 1rem 1.05rem 1.1rem;
  }

  .et-reason-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
}

.et-reason-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f9fafb;
  margin: 0;
}

.et-reason-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.55;
  margin: 0;
}

/* ----- Hero buttons ----- */
.et-hero-btn-primary,
.et-hero-btn-outline {
  position: relative;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 750;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding-inline: 2.4rem;
  padding-block: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition:
    transform 180ms ease,
    box-shadow 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.et-hero-btn-primary:focus-visible,
.et-hero-btn-outline:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25), 0 0 40px rgba(56, 189, 248, 0.35);
}

.et-hero-btn-primary::before,
.et-hero-btn-outline::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.8), transparent 55%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.et-hero-btn-primary {
  background: linear-gradient(120deg, #2563eb, #0ea5e9);
  border: 1px solid rgba(125, 211, 252, 0.8);
  color: #f9fafb;
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.8),
    0 0 26px rgba(56, 189, 248, 0.6);
}

.et-hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.95),
    0 0 40px rgba(56, 189, 248, 0.85);
}

.et-hero-btn-primary:active,
.et-hero-btn-outline:active {
  transform: translateY(-1px) scale(0.99);
}

.et-hero-btn-primary:hover::before {
  opacity: 1;
}

.et-hero-btn-outline {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.9);
  color: #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.65);
}

.et-hero-btn-outline:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(125, 211, 252, 0.8);
  color: #f9fafb;
  transform: translateY(-3px);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.95),
    0 0 32px rgba(56, 189, 248, 0.7);
}

.et-hero-btn-outline:hover::before {
  opacity: 1;
}

@media (max-width: 576px) {
  .et-hero-btn-primary,
  .et-hero-btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Intro panel (telefon): tam genişlik, alt alta — metin tek satırda kalır */
  .et-hero-intro-panel .et-hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .et-hero-intro-panel .et-hero-cta .et-hero-btn-primary,
  .et-hero-intro-panel .et-hero-cta .et-hero-btn-outline {
    width: 100%;
    flex: none;
    min-height: 3.1rem;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.92rem 1.25rem;
    border-radius: 16px;
    gap: 0.65rem;
    line-height: 1.2;
  }

  .et-hero-intro-panel .et-hero-cta .et-hero-btn-primary {
    background: linear-gradient(130deg, #1d4ed8, #0ea5e9);
    border-color: rgba(186, 230, 253, 0.95);
    box-shadow:
      0 12px 28px rgba(15, 23, 42, 0.58),
      0 0 26px rgba(56, 189, 248, 0.42);
  }

  .et-hero-intro-panel .et-hero-cta .et-hero-btn-outline {
    border-width: 2px;
    background: rgba(15, 23, 42, 0.42);
    border-color: rgba(226, 232, 240, 0.88);
  }
}

.et-hero-card-title {
  position: relative;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.6rem;
  letter-spacing: 0.02em;
}

.et-hero-feature-title {
  position: relative;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.et-hero-feature-text {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(245, 248, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

/* ----- About pills ----- */
.et-about-pill {
  padding: 1.1rem 1.1rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.et-about-pill:hover {
  border-color: rgba(0, 198, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.et-about-pill::before {
  content: "";
  position: absolute;
  inset: -40px -60px;
  background: radial-gradient(circle at 30% 25%, rgba(56, 189, 248, 0.14), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.et-about-pill-title,
.et-about-pill-text {
  position: relative;
  z-index: 1;
}

/* Index: "Kimler için?" sağ kutu içeriği dikey ortalı */
#kimler-icin .et-about-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Index: "Kimler için?" başlık metni daha geniş olsun */
#kimler-icin .et-section-head {
  max-width: min(1040px, 100%);
}

/* ----- About sağ kolon (boşluğu dolduran panel) ----- */
.et-about-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.et-about-top,
.et-about-bottom {
  width: 100%;
}

.et-about-top {
  display: flex;
}

.et-about-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.et-about-side-card {
  border-radius: 20px;
  padding: 1.15rem 1.1rem;
  background: rgba(2, 6, 23, 0.26);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.et-about-side-card::before {
  content: "";
  position: absolute;
  inset: -60px -80px;
  background: radial-gradient(circle at 25% 20%, rgba(56, 189, 248, 0.14), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.et-about-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}

.et-about-side-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.et-about-side-title i {
  color: #7dd3fc;
}

.et-about-side-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: rgba(224, 242, 254, 0.95);
  position: relative;
  z-index: 1;
}

.et-about-side-badge--soft {
  background: rgba(129, 140, 248, 0.12);
  border-color: rgba(129, 140, 248, 0.2);
  color: rgba(224, 231, 255, 0.95);
}

.et-mini-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}

.et-mini-flow-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.et-mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
  margin-top: 0.25rem;
}

.et-mini-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.et-mini-sub {
  font-weight: 650;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.82rem;
  margin-top: 0.1rem;
}

.et-about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.et-about-note {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.16);
  color: rgba(224, 242, 254, 0.92);
  font-weight: 650;
  font-size: 0.9rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.et-about-note i {
  color: #7dd3fc;
  margin-top: 0.15rem;
}

.et-about-pill-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.et-about-pill-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(245, 248, 255, 0.9);
  line-height: 1.55;
  margin: 0;
}

/* ----- Anlık takip / süreç şeffaflığı ----- */
.et-section-tracking {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* ---- Yeni: Takip vitrin alanı (telefon + olay akışı) ---- */
.et-track-showcase {
  position: relative;
  border-radius: 26px;
  padding: 2.25rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.72) 0%, rgba(2, 6, 23, 0.55) 60%, rgba(15, 23, 42, 0.66) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.et-track-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.et-track-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.et-track-orb-1 { width: 420px; height: 420px; left: -160px; top: -160px; background: rgba(56, 189, 248, 0.45); }
.et-track-orb-2 { width: 380px; height: 380px; right: -170px; top: -120px; background: rgba(129, 140, 248, 0.38); }
.et-track-orb-3 { width: 420px; height: 420px; right: -220px; bottom: -220px; background: rgba(45, 212, 191, 0.28); }
.et-track-orb-4 { width: 360px; height: 360px; left: -200px; bottom: -180px; background: rgba(244, 114, 182, 0.18); }

.et-track-sheen {
  position: absolute;
  inset: -80px -120px;
  background: radial-gradient(ellipse 60% 35% at 35% 20%, rgba(255, 255, 255, 0.12), transparent 60%);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.et-track-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 35% 25%, rgba(0,0,0,0.8), transparent 60%);
  opacity: 0.35;
}

.et-track-showcase .row {
  position: relative;
  z-index: 1;
}

.et-track-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0.35rem 0 1rem;
  color: #fff;
  letter-spacing: -0.015em;
}

.et-track-lead {
  font-size: 1.02rem;
  font-weight: 550;
  line-height: 1.75;
  color: rgba(248, 250, 255, 0.92);
  margin: 0;
}

.et-track-lead strong {
  color: #38bdf8;
  font-weight: 800;
}

.et-track-kpis {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.et-kpi {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.et-kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(13, 110, 253, 0.18));
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #7dd3fc;
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.12);
}

.et-kpi-value {
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
}

.et-kpi-label {
  font-size: 0.88rem;
  font-weight: 650;
  color: rgba(148, 163, 184, 0.95);
}

/* Telefon mockup */
.et-track-device {
  position: relative;
  height: 100%;
  border-radius: 28px;
  padding: 1.25rem 1.05rem 1.05rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.78));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(56, 189, 248, 0.12);
  overflow: hidden;
}

.et-track-device::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 10%, rgba(56, 189, 248, 0.2), transparent 50%);
  opacity: 0.85;
  pointer-events: none;
}

.et-device-notch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  width: 120px;
  height: 24px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.et-device-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.55rem 0.95rem;
}

.et-device-app {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
}

.et-device-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.55);
}

.et-device-name {
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.et-device-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.22);
  color: rgba(220, 252, 231, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.et-device-pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: et-ping 1.6s ease-in-out infinite;
}

.et-device-body {
  position: relative;
  z-index: 2;
  padding: 0.6rem 0.35rem 0.25rem;
}

.et-device-card {
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.et-device-card-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.et-device-card-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.et-device-card-value {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
  margin-top: 0.15rem;
}

.et-device-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: rgba(224, 242, 254, 0.96);
}

.et-device-progress {
  margin-top: 0.8rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.et-device-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #38bdf8, #818cf8);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
  transition: width 550ms ease;
}

.et-device-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 750;
  color: rgba(226, 232, 240, 0.9);
}

.et-device-meta i {
  color: #7dd3fc;
  margin-right: 0.35rem;
}

.et-device-timeline {
  margin-top: 0.9rem;
  border-radius: 18px;
  padding: 0.9rem 0.9rem 0.75rem;
  background: rgba(2, 6, 23, 0.34);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.et-tl-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  position: relative;
}

.et-tl-item + .et-tl-item {
  border-top: 1px dashed rgba(148, 163, 184, 0.16);
}

.et-tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.14);
  margin-top: 0.25rem;
}

.et-tl-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.92rem;
}

.et-tl-sub {
  font-weight: 700;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.82rem;
  margin-top: 0.1rem;
}

.et-tl-item.is-done .et-tl-dot {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.et-tl-item.is-active .et-tl-dot {
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2), 0 0 22px rgba(56, 189, 248, 0.35);
  animation: et-active-dot 1.8s ease-in-out infinite;
}

.et-device-hint {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 750;
  color: rgba(224, 242, 254, 0.9);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  opacity: 0.9;
}

.et-device-hint i {
  color: #38bdf8;
}

/* Olay akışı paneli */
.et-track-events {
  height: 100%;
  border-radius: 22px;
  padding: 1.25rem;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.et-events-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.et-events-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.et-events-title i {
  color: #7dd3fc;
}

.et-events-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: rgba(224, 242, 254, 0.95);
}

.et-events-ping {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
  animation: et-ping-blue 1.8s ease-in-out infinite;
}

@keyframes et-ping-blue {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.et-events-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.et-event {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 0.75rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.14);
  transition: transform 160ms ease, border-color 180ms ease, background 180ms ease;
}

.et-event:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(15, 23, 42, 0.58);
}

.et-event-ic {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(13, 110, 253, 0.14));
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #7dd3fc;
}

.et-event-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.et-event-sub {
  font-weight: 650;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.82rem;
  margin-top: 0.1rem;
}

.et-event-time {
  font-weight: 900;
  font-size: 0.82rem;
  color: rgba(224, 242, 254, 0.9);
}

.et-event.is-active {
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.14), rgba(15, 23, 42, 0.52));
}

.et-events-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  padding-top: 0.3rem;
}

.et-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.et-chip i {
  color: #7dd3fc;
}

/* Müşteri paneli — takip (Index vitrinindeki telefon + olay akışı ile aynı dil) */
.et-cp-track-card .et-cp-events.et-track-events {
  height: auto;
  min-height: 0;
}

.et-cp-track-card .et-events-list {
  flex: 0 1 auto;
}

.et-cp-timeline-empty {
  display: block;
  padding: 1rem 0.75rem;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 650;
  color: rgba(148, 163, 184, 0.95);
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.35);
}

@media (max-width: 991.98px) {
  .et-track-showcase {
    padding: 1.35rem 1.15rem;
    border-radius: 20px;
  }

  .et-section-tracking {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }

  .et-track-copy {
    text-align: center;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }

  .et-track-copy .et-track-kpis {
    text-align: left;
  }

  .et-track-copy .d-flex.flex-wrap {
    justify-content: center;
  }

  .et-track-device {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    min-height: 0;
  }

  .et-track-events {
    height: auto;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575.98px) {
  .et-track-showcase {
    padding: 1rem 0.75rem;
    border-radius: 16px;
  }

  .et-section-tracking .container {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .et-track-title {
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
    margin-bottom: 0.65rem;
  }

  .et-track-lead {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .et-track-device {
    max-width: 100%;
    width: 100%;
    border-radius: 20px;
    padding: 0.85rem 0.7rem 0.75rem;
    padding-top: 1.2rem;
  }

  .et-device-notch {
    width: 88px;
    height: 20px;
    top: 10px;
  }

  .et-device-top {
    padding: 1.45rem 0.4rem 0.8rem;
  }

  .et-device-name {
    font-size: 0.8rem;
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .et-device-live {
    font-size: 0.65rem;
    padding: 0.22rem 0.45rem;
    letter-spacing: 0.06em;
    flex-shrink: 0;
  }

  .et-device-body {
    padding: 0.55rem 0.2rem 0.2rem;
  }

  .et-device-card {
    padding: 0.75rem 0.65rem;
    border-radius: 14px;
    margin-top: 0.15rem;
  }

  .et-device-card-row {
    gap: 0.5rem;
    align-items: center;
  }

  .et-device-card-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .et-device-card-value {
    font-size: 0.92rem;
    word-break: break-all;
  }

  .et-device-status {
    font-size: 0.7rem;
    padding: 0.26rem 0.48rem;
    max-width: 42%;
    text-align: center;
    line-height: 1.15;
    white-space: normal;
  }

  .et-device-progress {
    margin-top: 0.65rem;
    height: 8px;
  }

  .et-device-meta {
    margin-top: 0.65rem;
    font-size: 0.74rem;
    gap: 0.4rem 0.6rem;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .et-device-meta > span {
    min-width: 0;
    flex: 1 1 0;
    text-align: center;
  }

  .et-device-meta > span:first-child {
    text-align: left;
  }

  .et-device-meta > span:last-child {
    text-align: right;
  }

  .et-device-timeline {
    margin-top: 0.65rem;
    padding: 0.55rem 0.55rem 0.45rem;
    border-radius: 14px;
  }

  .et-tl-item {
    padding: 0.4rem 0;
    gap: 0.55rem;
    grid-template-columns: 12px 1fr;
  }

  .et-tl-dot {
    width: 8px;
    height: 8px;
    margin-top: 0.2rem;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.14);
  }

  .et-tl-item.is-done .et-tl-dot {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  }

  .et-tl-item.is-active .et-tl-dot {
    box-shadow:
      0 0 0 3px rgba(56, 189, 248, 0.2),
      0 0 16px rgba(56, 189, 248, 0.32);
  }

  .et-tl-title {
    font-size: 0.8rem;
  }

  .et-tl-sub {
    font-size: 0.72rem;
  }

  .et-device-hint {
    margin-top: 0.55rem;
    font-size: 0.74rem;
    line-height: 1.35;
    padding: 0 0.15rem;
  }

  .et-track-events {
    padding: 0.9rem 0.7rem;
    border-radius: 16px;
  }

  .et-events-head {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .et-events-title {
    font-size: 0.86rem;
    gap: 0.4rem;
  }

  .et-events-pill {
    font-size: 0.62rem;
    padding: 0.24rem 0.48rem;
    letter-spacing: 0.06em;
  }

  .et-events-list {
    gap: 0.45rem;
  }

  .et-event {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 0.45rem 0.5rem;
    padding: 0.55rem 0.5rem;
    border-radius: 12px;
    align-items: start;
  }

  .et-event-ic {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 0.8rem;
  }

  .et-event-title {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .et-event-sub {
    font-size: 0.7rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .et-event-time {
    font-size: 0.72rem;
    padding-top: 0.05rem;
    white-space: nowrap;
  }

  .et-events-chips {
    gap: 0.4rem;
    justify-content: center;
  }

  .et-chip {
    font-size: 0.72rem;
    padding: 0.3rem 0.55rem;
  }

  .et-kpi {
    padding: 0.72rem 0.8rem;
  }

  .et-kpi-icon {
    width: 36px;
    height: 36px;
  }

  .et-kpi-label {
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  .et-device-card-row {
    flex-direction: column;
    align-items: stretch;
  }

  .et-device-status {
    max-width: none;
    align-self: flex-start;
  }

  .et-device-meta {
    flex-wrap: wrap;
  }

  .et-device-meta > span {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* ----- About section text & list ----- */
.et-section-about {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(56, 189, 248, 0.035) 40%, transparent 100%);
}

.et-section-about .et-about-text {
  margin-bottom: 0.5rem;
}

.et-section-about .et-section-head-left {
  position: relative;
  padding: 1.65rem 1.55rem 1.35rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.et-section-about .et-section-head-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(129, 140, 248, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0.85;
  pointer-events: none;
  mix-blend-mode: screen;
}

.et-section-about .et-section-head-left::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #0d6efd, #00c6ff);
  opacity: 0.85;
}

.et-section-about .et-section-head-left .et-section-label,
.et-section-about .et-section-head-left .et-section-title,
.et-section-about .et-section-head-left .et-section-desc {
  position: relative;
  z-index: 1;
}

.et-section-about .et-section-title::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.0), rgba(56, 189, 248, 0.9), rgba(56, 189, 248, 0.0));
  opacity: 0.9;
}

/* About: tek kart + iki kolon hizası */
.et-about-wrap {
  border-radius: 26px;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.et-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 992px) {
  .et-about-wrap {
    padding: 1.6rem;
  }
  .et-about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.et-about-left,
.et-about-right {
  min-width: 0;
}

.et-about-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.et-about-right {
  display: flex;
  flex-direction: column;
}

.et-about-right-top {
  flex: 0 0 auto;
}

.et-about-right .et-about-side {
  flex: 1 1 auto;
}

@media (min-width: 992px) {
  .et-about-right .et-about-side {
    margin-top: 1.25rem !important;
  }
}

.et-about-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(248, 250, 255, 0.95);
  line-height: 1.5;
}

.et-about-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.55rem;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.14);
  transition: transform 160ms ease, border-color 180ms ease, background 180ms ease;
}

.et-about-list li:hover {
  transform: translateY(-2px);
  background: rgba(2, 6, 23, 0.3);
  border-color: rgba(56, 189, 248, 0.25);
}

.et-about-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 1rem;
  top: 0.95rem;
  color: #38bdf8;
  opacity: 0.95;
}

.et-about-bullet {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d6efd, #00c6ff);
  margin-right: 0.5rem;
  display: none;
}

/* ----- Landing sections (dark theme) ----- */
.et-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: padding 0.3s ease;
}

.et-section-head {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 3rem;
}

.et-section-head-left {
  text-align: left;
  margin-left: 0;
  margin-bottom: 2rem;
}

.et-section-label {
  display: none;
}

.et-section-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(2.6rem, 2.2vw, 2.1rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.et-section-desc {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* ----- Service cards ----- */
.et-section-services {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.et-services-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.et-services-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.et-services-orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(0, 198, 255, 0.5);
}

.et-services-orb-2 {
  width: 380px;
  height: 380px;
  bottom: -100px;
  left: -80px;
  background: rgba(13, 110, 253, 0.45);
}

.et-services-orb-3 {
  width: 280px;
  height: 280px;
  top: 40%;
  left: 20%;
  transform: translate(-50%, -50%);
  background: rgba(0, 198, 255, 0.35);
}

.et-services-orb-4 {
  width: 240px;
  height: 240px;
  top: 60%;
  right: 15%;
  background: rgba(13, 110, 253, 0.3);
}

.et-services-glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(0, 198, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.et-section-services .container {
  position: relative;
  z-index: 1;
}

.et-section-services .et-section-head {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.25rem;
  padding-inline: 0.15rem;
  box-sizing: border-box;
}

.et-section-services .et-section-title {
  margin-bottom: 0.35rem;
  font-size: clamp(2.1rem, 1.65vw, 1.9rem);
  line-height: 1.25;
}

.et-section-services .et-section-desc {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(0.82rem, 1.05vw, 0.98rem);
  line-height: 1.45;
}

@media (min-width: 900px) {
  .et-section-services .et-section-title {
    white-space: nowrap;
  }
}

@media (min-width: 1200px) {
  .et-section-services .et-section-desc {
    white-space: nowrap;
  }
}

.et-service-card {
  height: 100%;
  padding: 2rem 1.75rem 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.et-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #0d6efd, #00c6ff);
  opacity: 0.9;
}

.et-service-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.3),
    0 0 50px rgba(0, 198, 255, 0.15);
  border-color: rgba(0, 198, 255, 0.3);
}

.et-service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(0, 198, 255, 0.2), rgba(13, 110, 253, 0.15));
  border: 1px solid rgba(0, 198, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00c6ff;
  font-size: 1.65rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.et-service-card:hover .et-service-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 198, 255, 0.3);
}

.et-service-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}

.et-service-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(245, 248, 255, 0.9);
  line-height: 1.7;
  margin: 0;
}

/* ----- Contact section ----- */
.et-section-contact {
  padding-bottom: 5rem;
}

/* Login page */
.et-login-head {
  max-width: 1022px;
}

.et-section.et-login .et-section-desc {
  max-width: 560px;
  margin: 0.35rem auto 1.1rem;
  text-align: center;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
  color: rgba(224, 242, 254, 0.86);
  font-weight: 550;
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.10);
}

.et-login-title-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 0.75rem;
}

.et-login-logo-large {
  width: clamp(120px, 20vw, 240px);
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 14px 30px rgba(0, 198, 255, 0.35));
  animation: et-hero-logo-float 5s ease-in-out infinite;
}

.et-login-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.et-login-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: rgba(224, 242, 254, 0.95);
}

.et-login-shell {
  position: relative;
  border-radius: 26px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* Kullanıcı isteği: giriş alanı dışında "kart" görünmesin */
.et-section.et-login .et-login-card2 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 1rem !important;
}

/* Kartsız sade giriş: dış kabı tamamen temizle */
.et-section.et-login .et-login-shell {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0.25rem 0 !important;
  overflow: visible !important;
}

.et-section.et-login .et-login-shell-bg {
  opacity: 0.18;
}

.et-section.et-login .et-login-right {
  max-width: 460px;
}

.et-section.et-login .et-contact-form .et-form-group {
  margin-bottom: 0.85rem;
}

.et-section.et-login .et-btn-submit {
  margin-top: 0.65rem !important;
  padding: 0.78rem 1.05rem !important;
  border-radius: 16px !important;
}

.et-section.et-login .et-login-card2::before {
  display: none !important;
}

.et-section.et-login .et-login-card2-head {
  display: none !important;
}

.et-section.et-login .et-login-footnote {
  display: none !important;
}

.et-login-shell-bg {
  position: absolute;
  inset: -80px -120px;
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(129, 140, 248, 0.12), transparent 55%),
    radial-gradient(circle at 92% 25%, rgba(45, 212, 191, 0.1), transparent 55%);
  opacity: 0.95;
  pointer-events: none;
}

/* Kullanıcı isteği: login içindeki et-login-shell-bg arka planını kaldır */
.et-section.et-login .et-login-shell-bg {
  display: none !important;
}

.et-login-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.et-login-right {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .et-login-shell {
    padding: 1.5rem;
  }
  .et-login-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
  }
}

.et-login-feature {
  border-radius: 22px;
  padding: 1.3rem 1.25rem;
  background: rgba(2, 6, 23, 0.32);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 18px 65px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  position: relative;
  animation: et-login-in 420ms ease-out;
}

.et-login-feature::before {
  content: "";
  position: absolute;
  inset: -60px -80px;
  background:
    radial-gradient(circle at 25% 20%, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(45, 212, 191, 0.10), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
  mix-blend-mode: screen;
}

.et-login-feature-kicker {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.et-login-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: rgba(224, 242, 254, 0.95);
}

.et-login-pill--soft {
  background: rgba(129, 140, 248, 0.12);
  border-color: rgba(129, 140, 248, 0.18);
  color: rgba(224, 231, 255, 0.95);
}

.et-login-feature-title {
  position: relative;
  z-index: 1;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.98);
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 0.7rem;
}

.et-login-feature-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  font-weight: 650;
  line-height: 1.75;
}

.et-login-feature-text strong {
  color: #38bdf8;
  font-weight: 900;
}

.et-login-stats {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 576px) {
  .et-login-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.et-login-stat {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.85rem 0.85rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.et-login-stat-ic {
  width: 38px;
  height: 38px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  flex-shrink: 0;
}

.et-login-stat-val {
  font-weight: 950;
  color: rgba(255, 255, 255, 0.96);
}

.et-login-stat-lbl {
  margin-top: 0.05rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.95);
}

.et-login-hint {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.14);
  color: rgba(224, 242, 254, 0.92);
  font-weight: 700;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  line-height: 1.6;
}

.et-login-hint i {
  color: #7dd3fc;
  margin-top: 0.15rem;
}

.et-login-card2 {
  border-radius: 22px;
  padding: 1.3rem 1.25rem;
  background:
    linear-gradient(165deg, rgba(30, 41, 59, 0.55) 0%, rgba(2, 6, 23, 0.35) 65%, rgba(15, 23, 42, 0.45) 100%);
  border: 1px solid rgba(56, 189, 248, 0.20);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.38);
  position: relative;
  overflow: hidden;
  animation: et-login-in 520ms ease-out;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.et-login-card2::before {
  content: "";
  position: absolute;
  inset: -60px -80px;
  background:
    radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(129, 140, 248, 0.12), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: screen;
}

.et-login-card2-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Login ekranında input renklerini tek parça uyumlu yap */
.et-login-card2 .et-form-input {
  background: rgba(15, 23, 42, 0.55) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 18px !important;
  box-shadow:
    inset 0 0 0 1px rgba(56, 189, 248, 0.14),
    inset 0 12px 30px rgba(255, 255, 255, 0.03),
    0 12px 30px rgba(0, 0, 0, 0.26);
}

.et-section.et-login .et-form-input:-webkit-autofill,
.et-section.et-login .et-form-input:-webkit-autofill:hover,
.et-section.et-login .et-form-input:-webkit-autofill:focus {
  -webkit-text-fill-color: rgba(224, 242, 254, 0.98) !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(2, 6, 23, 0.72) inset !important;
  background-color: rgba(15, 23, 42, 0.70) !important;
  border: 1px solid rgba(56, 189, 248, 0.65) !important;
  border-radius: 18px !important;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.28), 0 0 20px rgba(56, 189, 248, 0.14) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.et-section.et-login .et-form-input:-moz-autofill {
  box-shadow: 0 0 0px 1000px rgba(2, 6, 23, 0.72) inset !important;
  filter: none !important;
}

.et-login-card2 .et-form-input:focus {
  background: rgba(15, 23, 42, 0.60) !important;
  border-color: rgba(125, 211, 252, 0.55) !important;
  border-radius: 18px !important;
  box-shadow:
    inset 0 0 0 1px rgba(56, 189, 248, 0.22),
    0 0 0 2px rgba(56, 189, 248, 0.10),
    0 18px 55px rgba(0, 0, 0, 0.26);
}

.et-login-card2 .et-form-label {
  color: rgba(224, 242, 254, 0.62);
}

.et-login-card2 .et-form-label i {
  color: #7dd3fc;
  opacity: 1;
}

.et-login-card2 .et-form-input:focus + .et-form-label,
.et-login-card2 .et-form-input:not(:placeholder-shown) + .et-form-label,
.et-login-card2 .et-form-input:valid + .et-form-label {
  color: rgba(125, 211, 252, 0.98);
}

.et-login-card2 .et-btn-submit {
  border-radius: 18px;
  padding: 0.84rem 1.2rem;
  gap: 0.45rem;
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  border: 1px solid rgba(56, 189, 248, 0.30);
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 52%, #38bdf8 100%);
  box-shadow:
    0 20px 55px rgba(14, 165, 233, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  margin-top: 0.35rem;
  transition: box-shadow 0.18s ease, filter 0.18s ease, opacity 0.2s ease;
}

.et-login-card2 .et-btn-submit:hover {
  filter: brightness(1.06);
  opacity: 1;
  box-shadow:
    0 26px 75px rgba(14, 165, 233, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.et-login-card2 .et-btn-submit-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.et-login-card2 .et-btn-submit-ic i {
  font-size: 0.95rem;
  opacity: 0.98;
}

.et-login-card2-label {
  font-size: 1.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(125, 211, 252, 0.95);
}

.et-login-card2-title {
  margin: 0.15rem 0 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: -0.02em;
}

.et-login-footnote {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-weight: 650;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.9rem;
}

.et-login-footnote i {
  color: #7dd3fc;
  margin-top: 0.1rem;
}

@keyframes et-login-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* FAQ */
.et-section-faq {
  background: linear-gradient(180deg, transparent 0%, rgba(56, 189, 248, 0.03) 50%, transparent 100%);
}

.et-section-faq .et-section-head {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
  padding-inline: 0.15rem;
  box-sizing: border-box;
}

.et-section-faq .et-section-title {
  margin-bottom: 0.35rem;
  font-size: clamp(2.05rem, 1.45vw, 1.65rem);
  line-height: 1.25;
}

.et-section-faq .et-section-desc {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(0.82rem, 1.05vw, 0.98rem);
  line-height: 1.45;
}

@media (min-width: 900px) {
  .et-section-faq .et-section-title {
    white-space: nowrap;
  }
}

@media (min-width: 1100px) {
  .et-section-faq .et-section-desc {
    white-space: nowrap;
  }
}

.et-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 980px;
  margin: 0 auto;
}

.et-faq {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.et-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.15rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.et-faq summary::-webkit-details-marker {
  display: none;
}

.et-faq summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #7dd3fc;
  transition: transform 180ms ease;
}

.et-faq[open] summary::after {
  transform: rotate(180deg);
}

.et-faq-body {
  padding: 0 1.15rem 1.05rem;
  color: rgba(226, 232, 240, 0.92);
  font-weight: 600;
  line-height: 1.75;
}

.et-faq-body strong {
  color: #38bdf8;
  font-weight: 900;
}

/* Sabit WhatsApp — tüm kamusal sayfalarda sağ alt, kaydırınca sabit kalır */
.et-whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1080;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff !important;
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.et-whatsapp-fab:hover {
  color: #fff !important;
  transform: scale(1.06);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.et-whatsapp-fab:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .et-whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.85rem;
  }
}

.et-contact-hero {
  position: relative;
  border-radius: 26px;
  padding: 1.35rem 1.35rem 1.2rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.et-contact-hero-bg {
  position: absolute;
  inset: -80px -120px;
  background:
    radial-gradient(circle at 18% 20%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(129, 140, 248, 0.12), transparent 55%),
    radial-gradient(circle at 90% 25%, rgba(45, 212, 191, 0.1), transparent 55%);
  opacity: 0.95;
  pointer-events: none;
}

.et-contact-hero .et-section-head-left {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Başlık altı açıklama: dar kart limiti kalksın, blok yukarı sıkışsın; geniş ekranda tek satır */
.et-contact-hero .et-section-head.et-section-head-left {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0.65rem;
}

.et-contact-hero .et-section-title {
  margin-bottom: 0.3rem;
}

.et-contact-hero .et-section-head-left .et-section-desc {
  max-width: none;
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  line-height: 1.45;
  margin: 0;
}

@media (min-width: 1024px) {
  .et-contact-hero .et-section-head-left .et-section-desc {
    white-space: nowrap;
  }
}

.et-contact-quick {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .et-contact-quick {
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
  }
}

.et-contact-quick-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.et-contact-quick-ic {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  flex-shrink: 0;
}

.et-contact-quick-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
}

.et-contact-quick-sub {
  margin-top: 0.12rem;
  font-weight: 650;
  font-size: 0.88rem;
  color: rgba(148, 163, 184, 0.95);
}

.et-contact-quick-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #0d6efd, #00c6ff);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  transition: transform 160ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.et-contact-quick-cta:hover {
  transform: translateY(-2px);
  opacity: 0.98;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

.et-contact-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Contact: desktop'ta sol tarafı sağ ile hizala */
@media (min-width: 992px) {
  .et-section-contact .row.align-items-start {
    align-items: stretch !important;
  }

  .et-section-contact .row.align-items-start > [class*="col-"] {
    display: flex;
    flex-direction: column;
  }

  .et-contact-stack {
    height: 100%;
    flex: 1 1 auto;
  }

  .et-contact-info {
    flex: 1 1 auto;
  }

  .et-contact-form-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .et-contact-form {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .et-contact-form .et-btn-submit {
    margin-top: auto;
  }

  .et-contact-sidecard {
    margin-top: auto;
  }
}

.et-contact-sidecard {
  border-radius: 18px;
  padding: 1.15rem 1.1rem;
  background:
    linear-gradient(165deg, rgba(30, 41, 59, 0.55) 0%, rgba(2, 6, 23, 0.38) 65%, rgba(15, 23, 42, 0.45) 100%),
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(129, 140, 248, 0.12), transparent 55%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 80px rgba(0, 0, 0, 0.38),
    0 0 60px rgba(56, 189, 248, 0.12);
  position: relative;
  overflow: hidden;
}

.et-contact-sidecard::before {
  content: "";
  position: absolute;
  inset: -60px -80px;
  background:
    radial-gradient(circle at 25% 20%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(45, 212, 191, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 40%);
  opacity: 0.85;
  pointer-events: none;
  mix-blend-mode: screen;
}

.et-contact-sidecard::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.85), rgba(14, 165, 233, 0.95), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.et-contact-sidecard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
  position: relative;
  z-index: 1;
}

.et-contact-sidecard-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.et-contact-sidecard-title i {
  color: #7dd3fc;
}

.et-contact-sidecard-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: rgba(224, 242, 254, 0.95);
  position: relative;
  z-index: 1;
}

.et-contact-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  position: relative;
  z-index: 1;
  margin-bottom: 0.9rem;
}

.et-contact-metric {
  border-radius: 14px;
  padding: 0.9rem 0.85rem 0.85rem;
  background:
    radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.14), transparent 55%),
    rgba(2, 6, 23, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.et-contact-metric:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.28);
  background:
    radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.18), transparent 55%),
    rgba(2, 6, 23, 0.34);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
}

.et-contact-metric-ic {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  margin-bottom: 0.55rem;
}

.et-contact-metric-value {
  font-weight: 950;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.01em;
}

.et-contact-metric-label {
  margin-top: 0.15rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.95);
}

@media (max-width: 575.98px) {
  .et-contact-metrics {
    grid-template-columns: 1fr;
  }
}

.et-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Sol iletişim kartları: tek blokta, araları açık */
.et-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 992px) {
  .et-contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .et-contact-grid .et-contact-item-whatsapp,
  .et-contact-grid .et-contact-item-address {
    grid-column: 1 / -1;
  }
}

.et-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.et-contact-item:hover {
  border-color: rgba(0, 198, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.et-contact-item-address {
  cursor: default;
  pointer-events: none;
}

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

.et-contact-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 550;
  color: rgba(148, 163, 184, 0.95);
}

.et-contact-action {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: rgba(224, 242, 254, 0.95);
}

.et-contact-item-whatsapp .et-contact-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.15));
  border: 1px solid rgba(34, 197, 94, 0.22);
  color: rgba(220, 252, 231, 0.95);
}

.et-contact-item-whatsapp .et-contact-action {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.18);
  color: rgba(220, 252, 231, 0.95);
}

.et-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(0, 198, 255, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00c6ff;
  font-size: 1rem;
  flex-shrink: 0;
}

.et-contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.et-contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: #f5f7fa;
  line-height: 1.45;
}

/* ----- Contact form (ana sayfa teklif kartı) ----- */
.et-contact-form-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: clamp(1.35rem, 2.2vw, 1.75rem) clamp(1.15rem, 2.5vw, 1.5rem) clamp(1.5rem, 2.5vw, 2rem);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(160deg, rgba(30, 41, 59, 0.5) 0%, rgba(2, 6, 23, 0.62) 52%, rgba(15, 23, 42, 0.55) 100%),
    radial-gradient(900px 420px at 0% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(700px 360px at 100% 100%, rgba(129, 140, 248, 0.1), transparent 52%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 28px 90px rgba(0, 0, 0, 0.42),
    0 0 100px rgba(56, 189, 248, 0.07);
}

.et-contact-form-wrap::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 25%, rgba(56, 189, 248, 0.12), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(45, 212, 191, 0.08), transparent 48%);
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: screen;
}

.et-contact-form-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.85), rgba(14, 165, 233, 0.95), transparent);
  opacity: 0.95;
  pointer-events: none;
}

.et-contact-form-head {
  position: relative;
  z-index: 1;
  margin-bottom: 1.45rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.et-contact-form-wrap .et-contact-form-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.et-contact-form-wrap .et-contact-form-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(186, 198, 214, 0.95);
  max-width: none;
}

.et-contact-form-wrap .et-contact-form {
  position: relative;
  z-index: 1;
}

.et-contact-form-wrap .et-form-group {
  margin-bottom: 1.1rem;
}

.et-contact-form-wrap .et-form-group.et-field-invalid .et-form-input,
.et-contact-form-wrap .et-form-group.et-field-invalid .et-form-textarea,
.et-contact-form-wrap .et-form-group.et-field-invalid .et-form-select {
  border-color: rgba(251, 113, 133, 0.55);
  background: rgba(30, 10, 18, 0.35);
  box-shadow:
    0 0 0 2px rgba(251, 113, 133, 0.12),
    0 10px 32px rgba(0, 0, 0, 0.22);
}

.et-contact-form-wrap .et-form-field-hint {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.4;
  color: #fda4af;
  letter-spacing: 0.01em;
  margin-left: 4px;
}

.et-contact-form-wrap .et-form-consent.et-field-invalid {
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(30, 10, 18, 0.28);
}

.et-contact-form-wrap .et-form-consent .et-form-field-hint {
  margin-top: 0.55rem;
  padding-inline-start: 0;
}

.et-contact-form-wrap .et-form-input {
  border-radius: 14px;
  padding: 1.05rem 1rem 0.65rem 2.55rem;
  background: rgba(2, 6, 23, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.et-contact-form-wrap .et-form-input:hover:not(:focus) {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(2, 6, 23, 0.44);
}

.et-contact-form-wrap .et-form-input:focus {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(2, 6, 23, 0.52);
  box-shadow:
    0 0 0 3px rgba(56, 189, 248, 0.16),
    0 14px 42px rgba(0, 0, 0, 0.28);
}

.et-contact-form-wrap .et-form-label {
  left: 2.55rem;
  top: 1.05rem;
}

.et-contact-form-wrap .et-form-input:focus + .et-form-label,
.et-contact-form-wrap .et-form-input:not(:placeholder-shown) + .et-form-label,
.et-contact-form-wrap .et-form-input:valid + .et-form-label {
  color: #7dd3fc;
}

.et-contact-form-wrap .et-form-textarea {
  min-height: 128px;
  padding-top: 1.35rem;
}

.et-contact-form-wrap .et-form-textarea + .et-form-label {
  top: 1.3rem;
}

.et-contact-form-wrap .et-form-textarea:focus + .et-form-label,
.et-contact-form-wrap .et-form-textarea:not(:placeholder-shown) + .et-form-label {
  top: 0.4rem;
}

.et-contact-form-wrap .et-form-select {
  border-radius: 14px;
  min-height: 3.4rem;
  cursor: pointer;
}

.et-contact-form-wrap .et-form-consent {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding: 1.1rem 1.2rem 1.15rem;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-sizing: border-box;
}

.et-contact-form-wrap .et-consent {
  width: 100%;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  align-items: flex-start;
  gap: 0.75rem;
}

.et-contact-form-wrap .et-consent > span {
  flex: 1 1 0;
  min-width: 0;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.96);
}

.et-contact-form-wrap .et-form-consent .et-consent-note {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  line-height: 1.5;
  align-items: flex-start;
}

.et-contact-form-wrap .et-form-alert {
  border-radius: 14px;
}

.et-contact-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.et-contact-form-wrap .et-btn-submit {
  width: 100%;
  margin-top: 0.35rem;
  padding: 1.05rem 1.6rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #0d6efd 0%, #0284c7 48%, #06b6d4 100%);
  border: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow:
    0 14px 40px rgba(13, 110, 253, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.et-contact-form-wrap .et-btn-submit:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow:
    0 20px 52px rgba(13, 110, 253, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.et-contact-form-wrap .et-btn-submit:active {
  transform: translateY(0);
}

.et-contact-form-wrap .et-btn-submit:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(56, 189, 248, 0.35),
    0 14px 40px rgba(13, 110, 253, 0.32);
}

.et-form-alert {
  display: none;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: rgba(220, 252, 231, 0.95);
  font-weight: 650;
}

.et-form-alert.is-visible {
  display: block;
}

.et-form-alert.is-error {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.28);
  color: rgba(254, 226, 226, 0.96);
}

.et-form-select {
  appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
  color-scheme: dark;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(224, 242, 254, 0.95) 50%),
    linear-gradient(135deg, rgba(224, 242, 254, 0.95) 50%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(56, 189, 248, 0.18), transparent 55%);
  background-position:
    calc(100% - 18px) 55%,
    calc(100% - 12px) 55%,
    100% 0;
  background-size: 6px 6px, 6px 6px, 48px 100%;
  background-repeat: no-repeat;
}

.et-form-select option {
  background-color: #0b1220;
  color: rgba(243, 244, 246, 0.95);
}

/* iOS Safari: <select> native picker ile custom option stilleri sorun çıkarabiliyor.
   (Açılıyor ama seçim yapılamıyor / seçenekler görünmüyor gibi.) iOS'ta varsayılan davranışa dön. */
@supports (-webkit-touch-callout: none) {
  html.is-ios .et-form-select {
    -webkit-appearance: menulist;
    appearance: menulist;
    color-scheme: light;
    background-image: none;
    padding-right: 1rem;
  }
  html.is-ios .et-form-select option {
    background-color: initial;
    color: initial;
  }
}

/* iOS Safari: Admin paneldeki bootstrap select (appearance:none) bazen seçim yaptırmıyor.
   iOS'ta native menüye geri dön. */
@supports (-webkit-touch-callout: none) {
  html.is-ios .ad-template-body .form-select.et-form-select,
  html.is-ios .ad-template-body .form-select.et-form-input,
  html.is-ios .ad-customer-create-modal .form-select.et-form-select,
  html.is-ios .ad-customer-create-modal .form-select.et-form-input,
  html.is-ios #adLaundryCreateModal .ad-laundry-lines-table select,
  html.is-ios #adLaundryCreateModal .ad-laundry-lines-table .form-select {
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
    color-scheme: light;
    background-image: none !important;
    padding-right: 1rem !important;
  }
}

/* iOS Safari: bazı durumlarda select tıklaması görünmez katman tarafından engelleniyor.
   Daha agresif: tüm bootstrap select'leri native + tıklanabilir + üstte */
@supports (-webkit-touch-callout: none) {
  html.is-ios .ad-template-body select,
  html.is-ios .ad-template-body .form-select {
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    background-image: none !important;
    -webkit-text-fill-color: initial !important;
    position: relative;
    z-index: 5;
  }

  /* Backdrop yanlışlıkla modal üstüne çıkarsa tıklamayı engellemesin */
  html.is-ios .ad-template-body .modal-backdrop {
    z-index: 2500 !important;
  }
  html.is-ios .ad-template-body .modal {
    z-index: 3000 !important;
  }
  html.is-ios .ad-template-body .modal-dialog,
  html.is-ios .ad-template-body .modal-content {
    position: relative;
    z-index: 3001;
    pointer-events: auto;
  }
}

.et-form-select:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.et-form-consent {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  display: grid;
  gap: 0.4rem;
}

.et-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.92rem;
}

.et-consent input {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: #38bdf8;
}

.et-consent-note {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.et-consent-note i {
  color: #7dd3fc;
}

.et-contact-map {
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.et-contact-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.et-contact-map-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.et-contact-map-title i {
  color: #7dd3fc;
}

.et-contact-map-link {
  font-weight: 800;
  font-size: 0.85rem;
  color: rgba(224, 242, 254, 0.92);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.16);
}

.et-contact-map-link:hover {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.3);
}

.et-contact-map-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.35);
}

.et-contact-map-frame {
  position: relative;
  width: 100%;
  line-height: 0;
}

.et-contact-map-brand {
  position: absolute;
  right: 0.6rem;
  bottom: 0.55rem;
  z-index: 1002;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #f8fafc;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 1),
    0 1px 4px rgba(0, 0, 0, 0.95),
    0 0 14px rgba(2, 6, 23, 0.85);
  pointer-events: none;
  user-select: none;
  line-height: 1.2;
}

/* Harita köşesinde yalnızca marka yazısı; OSM atıf çubuğu kapalı */
.et-contact-map-box .leaflet-control-attribution {
  display: none !important;
}

.et-contact-map-leaflet {
  width: 100%;
  height: clamp(240px, 42vh, 460px);
  min-height: 240px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.5);
}

.et-contact-map--wide .et-contact-map-leaflet {
  min-height: 280px;
  height: clamp(280px, 45vh, 520px);
}

.et-contact-map-frame .leaflet-container {
  font-family: inherit;
  border-radius: 16px;
}

.et-contact-map-placeholder {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.25rem;
  color: rgba(226, 232, 240, 0.92);
  text-align: left;
}

.et-contact-map--wide .et-contact-map-placeholder {
  min-height: 220px;
}

.et-contact-map-placeholder i {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
}

.et-contact-form .et-form-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.et-form-input {
  width: 100%;
  padding: 1rem 1rem 0.6rem 2.5rem;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-family: inherit;
}

/* iOS Safari: input font-size < 16px ise focus'ta otomatik zoom yapar. */
@supports (-webkit-touch-callout: none) {
  html.is-ios .et-form-input,
  html.is-ios .et-form-select,
  html.is-ios .et-form-textarea,
  html.is-ios input.et-form-input,
  html.is-ios select.et-form-select,
  html.is-ios textarea.et-form-textarea {
    font-size: 16px;
  }
}

.et-form-input::placeholder {
  color: transparent;
}

.et-form-input:focus {
  outline: none;
  border-color: rgba(0, 198, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.et-form-label {
  position: absolute;
  left: 2.5rem;
  top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.et-form-label i {
  margin-right: 0.5rem;
  opacity: 0.8;
}

.et-form-input:focus + .et-form-label,
.et-form-input:not(:placeholder-shown) + .et-form-label,
.et-form-input:valid + .et-form-label {
  top: 0.25rem;
  font-size: 0.75rem;
  color: #00c6ff;
}

.et-form-textarea {
  min-height: 110px;
  resize: vertical;
  padding-top: 1.25rem;
}

.et-form-textarea + .et-form-label {
  top: 1.25rem;
}

.et-form-textarea:focus + .et-form-label,
.et-form-textarea:not(:placeholder-shown) + .et-form-label {
  top: 0.35rem;
}

.et-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0d6efd, #00c6ff);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.05s ease;
  margin-top: 0.5rem;
  position: relative;
}

.et-btn-submit:hover {
  opacity: 0.95;
}

.et-btn-submit:active {
  transform: scale(0.99);
}

.et-btn-submit-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.95);
  display: none;
  animation: et-spin 0.8s linear infinite;
}

@keyframes et-spin {
  to { transform: rotate(360deg); }
}

.et-btn-submit.is-loading .et-btn-submit-spinner {
  display: inline-block;
}

.et-btn-submit.is-loading .et-btn-submit-ic {
  display: none;
}


@media (max-width: 768px) {
  .et-nav-links {
    display: none;
  }

  .et-nav-toggle {
    display: inline-flex;
  }

  .et-section-head-left {
    text-align: center;
    margin: 0 auto 2rem;
  }

  .et-contact-hero .et-section-head.et-section-head-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0.65rem;
  }

  .et-contact-form-wrap {
    padding: 1.35rem 1.1rem 1.5rem;
    border-radius: 20px;
  }

  .et-contact-form-wrap .et-form-consent {
    padding: 1rem 1rem 1.05rem;
  }



  /* Mobilde baloncuk yoğunluğunu azalt */
  .et-bubble {
    opacity: 0.25;
    filter: blur(0.35px);
  }

  /* Mobilde bölümler arası boşlukları dengeli yap */
  .et-section {
    padding: 3.25rem 0;
  }

  main {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .et-header {
    padding: 18px;
  }

  .et-nav-full {
    padding: 0.85rem 1rem;
  }

  .et-footer-full {
    padding: 0 1.1rem;
  }
}

/* —— Çamaşır siparişleri: Flatpickr — gelişmiş koyu “glass” takvim —— */
.flatpickr-calendar.ad-eta-laundry-fp {
  --et-fp-accent: #38bdf8;
  --et-fp-accent-dim: rgba(56, 189, 248, 0.35);
  --et-fp-surface: rgba(15, 23, 42, 0.94);
  --et-fp-surface-2: rgba(30, 41, 59, 0.88);
  --et-fp-border: rgba(148, 163, 184, 0.28);
  --et-fp-text: #e2e8f0;
  --et-fp-muted: #94a3b8;

  font-family: "Roboto", "Poppins", system-ui, sans-serif;
  background:
    linear-gradient(155deg, rgba(56, 189, 248, 0.07) 0%, transparent 42%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 41, 59, 0.94) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--et-fp-border);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.12),
    0 24px 56px rgba(2, 6, 23, 0.72),
    0 12px 28px rgba(8, 47, 73, 0.25);
  color: var(--et-fp-text);
  z-index: 3000;
  color-scheme: dark;
  min-width: 372px;
  max-width: min(100vw - 24px, 428px);
  box-sizing: border-box;
  padding: 8px 8px 0;
}

/* Üst şerit: Flatpickr varsayılanında oklar absolute; grid + relative ile kutunun içinde hizala */
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-months {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem;
  align-items: center;
  gap: 6px 8px;
  padding: 12px 10px 12px;
  margin: 0;
  overflow: visible;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px 14px 0 0;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-prev-month,
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-next-month {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  height: 2.35rem !important;
  margin: 0 !important;
  transform: none !important;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-month {
  color: #f8fafc;
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  height: auto !important;
  min-height: 2.35rem;
  padding: 0;
  margin: 0 !important;
  display: block;
  overflow: visible;
}

/* Flatpickr default: position:absolute; width:75%; left:12.5% — oklar arası boşluk bırakıyor; sıfırla */
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-current-month {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.35rem;
  gap: 0.5rem;
  align-items: stretch;
  justify-content: stretch;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  height: auto !important;
  min-height: 2.35rem;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2 !important;
  transform: none !important;
  text-align: start;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-current-month .flatpickr-monthDropdown-months {
  grid-column: 1;
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  font-weight: 600;
  color: #f1f5f9;
  color-scheme: dark;
  min-height: 2.35rem;
  line-height: 1.2;
  background: var(--et-fp-surface);
  padding: 0.38rem 1.85rem 0.38rem 0.55rem;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 2px 8px rgba(0, 0, 0, 0.2);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-current-month .numInputWrapper {
  grid-column: 2;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 2.35rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 10px;
  background: var(--et-fp-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 2px 8px rgba(0, 0, 0, 0.2);
  overflow: visible;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-current-month .numInputWrapper .numInput {
  width: 100% !important;
  min-width: 4.25ch;
  box-sizing: border-box;
  text-align: center;
  padding: 0.38rem 1.9rem 0.38rem 0.35rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: #f1f5f9;
  color-scheme: dark;
  line-height: 1.2;
  min-height: 2.35rem;
  height: 2.35rem;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-current-month .numInputWrapper:hover {
  background: var(--et-fp-surface-2);
  border-color: var(--et-fp-accent-dim);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(56, 189, 248, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.22);
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-current-month .numInputWrapper:hover .numInput {
  background-color: transparent !important;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-monthDropdown-months option {
  background-color: #0f172a;
  color: #f1f5f9;
}

/* Yıl okları */
.flatpickr-calendar.ad-eta-laundry-fp .numInputWrapper span.arrowUp,
.flatpickr-calendar.ad-eta-laundry-fp .numInputWrapper span.arrowDown {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.flatpickr-calendar.ad-eta-laundry-fp .numInputWrapper span.arrowUp {
  border-bottom: 4px solid rgba(148, 163, 184, 0.75);
}

.flatpickr-calendar.ad-eta-laundry-fp .numInputWrapper span.arrowDown {
  border-top: 4px solid rgba(148, 163, 184, 0.75);
}

.flatpickr-calendar.ad-eta-laundry-fp .numInputWrapper span.arrowUp:hover {
  border-bottom-color: var(--et-fp-accent);
}

.flatpickr-calendar.ad-eta-laundry-fp .numInputWrapper span.arrowDown:hover {
  border-top-color: var(--et-fp-accent);
}

/* Ay gezinme — grid sütunlarında sabit kare */
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-prev-month,
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-next-month {
  fill: var(--et-fp-muted);
  padding: 0;
  width: 2.35rem !important;
  height: 2.35rem !important;
  margin: 0 !important;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: background 0.18s ease, fill 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-prev-month {
  grid-column: 1;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-next-month {
  grid-column: 3;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-prev-month:hover,
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-next-month:hover {
  background: rgba(56, 189, 248, 0.14);
  fill: var(--et-fp-accent);
  border-color: rgba(56, 189, 248, 0.35);
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-prev-month:active,
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-next-month:active {
  transform: scale(0.96);
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-prev-month svg,
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-next-month svg {
  width: 10px;
  height: 10px;
}

/* Hafta başlıkları */
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-innerContainer {
  padding: 10px 12px 12px;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-weekdays {
  background: transparent;
  padding: 4px 0 10px;
  margin-bottom: 2px;
}

.flatpickr-calendar.ad-eta-laundry-fp span.flatpickr-weekday {
  color: var(--et-fp-muted);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* Gün hücreleri */
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-days {
  width: 100%;
}

.flatpickr-calendar.ad-eta-laundry-fp .dayContainer {
  width: 100%;
  min-width: 100%;
  padding: 2px 0;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day {
  border-radius: 12px;
  color: var(--et-fp-text);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  line-height: 42px;
  max-width: 42px;
  height: 42px;
  margin: 1px 0;
  font-variant-numeric: tabular-nums;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.12s ease;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day:hover:not(.flatpickr-disabled):not(.selected) {
  background: rgba(56, 189, 248, 0.14);
  color: #fff;
  border-color: rgba(56, 189, 248, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8, 47, 73, 0.2);
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day.today {
  border: 1px solid rgba(56, 189, 248, 0.65);
  color: #7dd3fc;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.12), rgba(14, 165, 233, 0.06));
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day.today:hover {
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.1));
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day.selected,
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day.startRange,
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day.endRange {
  background: linear-gradient(145deg, #0ea5e9 0%, #0284c7 45%, #0369a1 100%);
  color: #fff !important;
  border: 1px solid rgba(125, 211, 252, 0.45);
  box-shadow:
    0 0 0 1px rgba(14, 165, 233, 0.35),
    0 8px 22px rgba(3, 105, 161, 0.45);
  transform: none;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day.selected:hover,
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day.startRange:hover,
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day.endRange:hover {
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.5),
    0 10px 26px rgba(3, 105, 161, 0.5);
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day.prevMonthDay,
.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day.nextMonthDay {
  color: rgba(148, 163, 184, 0.38);
  font-weight: 500;
}

.flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day.flatpickr-disabled {
  color: rgba(100, 116, 139, 0.35);
  opacity: 0.75;
}

/* Alt aksiyonlar */
.ad-eta-fp-footer {
  display: flex;
  justify-content: stretch;
  gap: 10px;
  padding: 14px 14px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  margin-top: 4px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0%, transparent 100%);
  border-radius: 0 0 16px 16px;
}

.ad-eta-fp-footer-btn {
  flex: 1;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.ad-eta-fp-footer-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.48);
}

.ad-eta-fp-footer-btn:active {
  transform: scale(0.98);
}

.ad-eta-fp-footer-btn:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.65);
  outline-offset: 2px;
}

.ad-eta-fp-footer-btn--primary {
  border-color: rgba(56, 189, 248, 0.5);
  background: linear-gradient(165deg, rgba(56, 189, 248, 0.28), rgba(14, 165, 233, 0.18));
  color: #f0f9ff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.2);
}

.ad-eta-fp-footer-btn--primary:hover {
  background: linear-gradient(165deg, rgba(56, 189, 248, 0.4), rgba(14, 165, 233, 0.28));
  border-color: rgba(125, 211, 252, 0.65);
  color: #fff;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}

/*
 * Çamaşır siparişleri / Kampanya — dar ekran: 372px min-width kaldırılır; taşan ay .flatpickr-innerContainer içinde kayar.
 * Takvim konumu: JS’te static:true → tıklanan satırın altında; burada ekran ortasına fixed ÇEKMEYİZ (Flatpickr top/left’i bozar).
 */
@media (max-width: 767.98px) {
  /*
   * Kapalıyken Flatpickr display:none kullanır; display:flex !important bunu ezip dev boşluk yaratıyordu.
   * Flex + max-height yalnızca .open iken.
   */
  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp {
    min-width: 0 !important;
    max-width: calc(100vw - 20px) !important;
    margin: 0;
    box-sizing: border-box;
    border-radius: 16px;
  }

  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp.open {
    display: flex !important;
    flex-direction: column !important;
    max-height: min(72dvh, 72vh) !important;
    padding: 6px 6px 0;
  }

  /* Mobil static mod: input sütununun hemen altında, tam genişlik */
  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp.static.open {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.35rem;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  body.ad-template-body #adLaundryOrderDateRow .flatpickr-wrapper,
  body.ad-template-body .ad-hc-date-wrap .flatpickr-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp .flatpickr-months {
    padding: 8px 8px 8px;
    flex-shrink: 0;
  }

  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp .flatpickr-innerContainer {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 8px 8px 10px;
  }

  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp .flatpickr-rContainer {
    max-width: 100%;
  }

  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp .flatpickr-day {
    line-height: 34px;
    height: 34px;
    max-width: none;
    font-size: 0.8rem;
    border-radius: 10px;
    margin: 1px 0;
  }

  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp .flatpickr-current-month {
    grid-template-columns: minmax(0, 1fr) 5.75rem;
    gap: 0.35rem;
    font-size: 0.76rem;
  }

  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp .flatpickr-current-month .flatpickr-monthDropdown-months {
    padding: 0.3rem 1.4rem 0.3rem 0.45rem;
    min-height: 2.1rem;
    font-size: 0.76rem;
  }

  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp .flatpickr-current-month .numInputWrapper {
    min-height: 2.1rem;
  }

  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp .flatpickr-current-month .numInputWrapper .numInput {
    min-height: 2.1rem;
    height: 2.1rem;
    font-size: 0.76rem;
    padding: 0.3rem 1.5rem 0.3rem 0.3rem;
  }

  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp .flatpickr-prev-month,
  body.ad-template-body .flatpickr-calendar.ad-eta-laundry-fp .flatpickr-next-month {
    width: 2.1rem !important;
    height: 2.1rem !important;
  }

  body.ad-template-body .ad-eta-fp-footer {
    flex-shrink: 0;
    padding: 10px 10px 12px;
    gap: 8px;
  }

  body.ad-template-body .ad-eta-fp-footer-btn {
    padding: 0.48rem 0.55rem;
    font-size: 0.78rem;
  }
}

/* Gizli gerçek input (Y-m-d); görünen alan altInput ile tam genişlik */
.position-relative > #adLaundryOrderFrom.flatpickr-input,
.position-relative > #adLaundryOrderTo.flatpickr-input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.position-relative > .form-control.flatpickr-input + .form-control {
  width: 100%;
}

/* Admin — Etiket / havuz akışı (tam genişlik, sol liste / sağ atama) */
.ad-label-workflow {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.ad-template-body .ad-label-split {
  margin-left: 0;
  margin-right: 0;
}

/* Etiket Arama: üst özet kartı ile alt iki kart aynı yatay genişlikte (flex + row margin eşitlemesi) */
.ad-template-body .ad-label-search-page {
  align-items: stretch;
}

/* Etiket Arama üst özet: daha küçük sayaç pill + müşteri/ürün mini kartları */
.ad-label-search-page .ad-home-label-pill--compact {
  padding: 0.45rem 0.75rem;
  gap: 0.5rem;
}

.ad-label-search-page .ad-home-label-pill--compact .ad-home-label-pill__label {
  font-size: 0.62rem;
  letter-spacing: 0.055em;
}

.ad-label-search-page .ad-home-label-pill--compact .ad-home-label-pill__val {
  font-size: 1.05rem;
}

.ad-label-search-page .ad-home-label-pill--title-only {
  justify-content: center;
}

.ad-label-search-page .ad-home-label-pill--title-only .ad-home-label-pill__label {
  text-align: center;
}

.ad-label-search-breakdown-head {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.ad-label-search-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: stretch;
}

.ad-label-search-mini-card {
  flex: 1 1 140px;
  min-width: min(160px, 100%);
  max-width: 260px;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(15, 23, 42, 0.62);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.ad-label-search-mini-card__cust {
  font-size: 0.74rem;
  font-weight: 650;
  color: #f1f5f9;
  margin-bottom: 0.35rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-label-search-mini-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.ad-label-search-mini-card__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.68rem;
  line-height: 1.3;
}

.ad-label-search-mini-card__prod {
  color: rgba(226, 232, 240, 0.88);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-label-search-mini-card__cnt {
  flex-shrink: 0;
  font-weight: 700;
  color: #67e8f9;
  font-variant-numeric: tabular-nums;
}

.ad-template-body .ad-label-search-page > .row {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/*
 * Etiket Arama — mobil / tablet (xl altı):
 * site.css .ad-main > .ad-label-workflow--fill { overflow:hidden; max-height:100% } sayfayı kesiyordu;
 * .ad-main ile tüm içerik kaydırılsın (Kampanyalar / Etiket Atama ile aynı mantık).
 */
@media (max-width: 1199.98px) {
  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-main > .ad-label-workflow--fill {
    flex: 0 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page > .ad-label-split {
    flex: 0 1 auto !important;
    min-height: 0 !important;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search #adLabelSearchPage.ad-label-workflow--fill {
    flex: 0 1 auto !important;
    min-height: 0 !important;
  }
}

/*
 * Etiket Arama — dar ekran: her liste kartı tavanlı; çok satırda tablo .ad-label-table-scroll içinde kayar.
 */
@media (max-width: 991.98px) {
  .ad-template-body .ad-label-search-page .ad-label-card .card-body.ad-label-search-card__body--capped {
    max-height: min(50vh, 380px);
    max-height: min(50dvh, 380px);
    overflow: hidden;
  }

  .ad-template-body .ad-label-search-page .ad-label-search-card__body--capped .ad-label-table-scroll {
    min-height: 0;
    max-height: none !important; /* flex + üst kart tavanı kaydırmayı belirlesin */
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

/*
 * Etiket Arama — xl+: Etiket Atama ile aynı mantık; ana sütun taşmasın, liste kartı içinde dikey kaydırma.
 * Global .ad-label-table-scroll tavanı (52vh) burada none — kalan viewport yüksekliği flex ile dolar.
 */
@media (min-width: 1200px) {
  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-main {
    min-height: 0;
    overflow: hidden;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-main > .ad-label-workflow--fill {
    flex: 1 1 0%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search #adLabelSearchPage.ad-label-workflow--fill {
    flex: 1 1 0%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page > .row:first-child {
    flex-shrink: 0;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page > .ad-label-split {
    flex: 1 1 0%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    align-items: stretch;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page .ad-label-split > [class*="col-"] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 100%;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page .ad-label-card {
    flex: 1 1 0%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page .ad-label-card .card-body {
    flex: 1 1 0%;
    min-height: 0;
    overflow: hidden;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page .ad-label-table-shell {
    flex: 1 1 0%;
    min-height: 0;
    overflow: hidden;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page .ad-label-table-scroll {
    flex: 1 1 0%;
    min-height: 0;
    height: 0;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.42) rgba(15, 23, 42, 0.55);
    border-radius: 8px;
    border: 1px solid rgba(56, 189, 248, 0.12);
    background: rgba(2, 6, 23, 0.28);
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page .ad-label-table-scroll::-webkit-scrollbar {
    width: 9px;
    height: 9px;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page .ad-label-table-scroll::-webkit-scrollbar-track {
    margin: 4px 0;
    background: rgba(15, 23, 42, 0.65);
    border-radius: 99px;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page .ad-label-table-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(
      180deg,
      rgba(56, 189, 248, 0.5) 0%,
      rgba(37, 99, 235, 0.45) 100%
    );
    border-radius: 99px;
    border: 2px solid rgba(15, 23, 42, 0.45);
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page .ad-label-table-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
      180deg,
      rgba(125, 211, 252, 0.58) 0%,
      rgba(59, 130, 246, 0.5) 100%
    );
  }
}

/* Etiket Arama — md–xl: iki kolon; tablo alanı sabit tavan yerine viewport payı (dar masaüstü) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page .ad-label-card .card-body.ad-label-search-card__body--capped {
    max-height: min(calc(100dvh - 16rem), calc(100vh - 16rem), 72vh);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-search .ad-label-search-page .ad-label-search-card__body--capped .ad-label-table-scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.42) rgba(15, 23, 42, 0.55);
  }
}

/* Mobil–tablet: aynı kaydırma çubuğu görünümü (dar kart tavanı korunur) */
.ad-template-body.ad-page--label-search .ad-label-search-page .ad-label-table-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.42) rgba(15, 23, 42, 0.55);
}

.ad-template-body.ad-page--label-search .ad-label-search-page .ad-label-table-scroll::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

.ad-template-body.ad-page--label-search .ad-label-search-page .ad-label-table-scroll::-webkit-scrollbar-track {
  margin: 4px 0;
  background: rgba(15, 23, 42, 0.65);
  border-radius: 99px;
}

.ad-template-body.ad-page--label-search .ad-label-search-page .ad-label-table-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.5) 0%,
    rgba(37, 99, 235, 0.45) 100%
  );
  border-radius: 99px;
  border: 2px solid rgba(15, 23, 42, 0.45);
}

.ad-template-body.ad-page--label-search .ad-label-search-page .ad-label-table-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(125, 211, 252, 0.58) 0%,
    rgba(59, 130, 246, 0.5) 100%
  );
}

/* Etiket Geçmişi: sayfa boyu artmasın; özet tablosu içeride kayar */
.ad-template-body .ad-main .ad-label-history-page {
  flex: 1 1 auto;
  min-height: 0;
}

@media (min-width: 1200px) {
  .ad-template-body .ad-main:has(> .ad-label-history-page) {
    overflow: hidden;
  }
}

.ad-template-body .ad-main > .ad-label-history-page {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
}

.ad-label-history-page .ad-label-history-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.ad-label-history-page .ad-label-history-card .card-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ad-label-history-page .ad-label-history-table-outer {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Etiket Geçmişi tablo görsel iyileştirme (ölçü değiştirmez) */
.ad-label-history-page .ad-label-history-table-outer::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.ad-label-history-page .ad-label-history-table-outer::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.25);
  border-radius: 99px;
}

.ad-label-history-page .ad-label-history-table-outer::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 99px;
  border: 2px solid rgba(15, 23, 42, 0.25);
}

.ad-label-history-page .ad-label-history-table-outer::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.55);
}

.ad-label-history-page .ad-label-table thead.position-sticky th {
  background: rgba(15, 23, 42, 0.97);
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.18);
}

.ad-label-history-page .ad-label-table tbody tr {
  transition: background-color 0.15s ease;
}

.ad-label-history-page .ad-label-table tbody tr:nth-child(2n) td {
  background: rgba(255, 255, 255, 0.015);
}

.ad-label-history-page .ad-label-table tbody tr:hover td {
  background: rgba(56, 189, 248, 0.06);
}

.ad-label-history-page .ad-label-table tbody td:first-child {
  text-align: center;
}

.ad-label-history-page .ad-label-table tbody td:first-child .form-check-input {
  margin: 0;
  vertical-align: middle;
}

@media (max-width: 1199.98px) {
  .ad-label-history-page .ad-label-history-table-outer {
    max-height: min(56vh, 520px);
  }
}

/* Havlu takibi: iki sütun + iç tablolar alta kadar */
.ad-template-body .ad-main .ad-label-workflow--fill {
  flex: 1 1 0% !important;
  min-height: 0;
}

.ad-template-body .ad-label-workflow--fill > .ad-label-split {
  flex: 1 1 0% !important;
  min-height: 0;
}

.ad-template-body .ad-label-workflow--fill .ad-label-split > [class*="col-"] {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/*
 * Bootstrap .flex-fill / .flex-grow-1 → flex-basis:auto !important ile kart içeriğiyle şişmesin.
 */
.ad-template-body .ad-label-workflow--fill .ad-label-split > [class*="col-"] > .card {
  flex: 1 1 0% !important;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.ad-template-body .ad-label-workflow--fill .ad-label-split .card-body {
  flex: 1 1 0% !important;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Liste alanı: satır sayısı artsa da kart şişmesin; kaydırma .ad-label-table-scroll içinde */
.ad-template-body .ad-label-workflow--fill .ad-label-table-shell {
  flex: 1 1 0% !important;
  min-height: 0;
  overflow: hidden;
}

.ad-template-body .ad-label-workflow--fill .ad-label-table-scroll {
  max-height: none;
  flex: 1 1 0% !important;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/*
 * Etiket Atama — geniş ekranda (xl+) flex zinciri yetersiz kalsa bile tablo alanına görünür tavan:
 * max-height:none burada ezilir; dikey scroll kesin çıkar.
 */
@media (min-width: 1200px) {
  body.ad-template-body.ad-admin-shell.ad-page--label-assign
    .ad-label-workflow--fill
    .ad-label-card--api-stream
    .ad-label-table-shell {
    min-height: 0;
    max-height: min(calc(100dvh - 18rem), calc(100svh - 18rem), 78vh);
  }

  body.ad-template-body.ad-admin-shell.ad-page--label-assign
    .ad-label-workflow--fill
    .ad-label-card--api-stream
    .ad-label-table-scroll {
    max-height: min(calc(100dvh - 18rem), calc(100svh - 18rem), 78vh) !important;
    overflow-y: auto !important;
    overflow-x: auto;
  }
}

/*
 * Anasayfa kampanyası — Etiket Arama ile aynı .ad-label-workflow--fill iskeleti; kartlar .ad-hc-panel.
 * Üst satır flex-shrink-0, alt .ad-label-split satırı flex-grow-1 + min-h-0 ile alta kadar uzar.
 */
.ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page {
  align-items: stretch;
}

.ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page > .row {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-label-split > [class*="col-"],
.ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-hc-split > [class*="col-"] {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-label-split > [class*="col-"] > .ad-hc-panel,
.ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-hc-split > [class*="col-"] > .ad-hc-panel {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-hc-panel__head {
  flex-shrink: 0;
}

.ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-hc-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

.ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-hc-panel__body--slots {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-hc-panel__body--slots .ad-hc-slots-intro {
  flex-shrink: 0;
}

.ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-hc-panel__body--slots .ad-hc-slots-row {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-hc-panel__body--slots .ad-hc-slots-row {
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-hc-panel__body--slots .ad-hc-slots-row {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
}

/* Alt breakpoint: kampanya ızgarası + Etiket Arama tabloları — sınırlı yükseklik + iç scroll */
@media (max-width: 1199.98px) {
  .ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-hc-panel__body--slots .ad-hc-slots-row {
    max-height: min(56vh, 520px);
  }

  .ad-template-body .ad-label-workflow--fill .ad-label-table-scroll {
    max-height: min(56vh, 520px);
  }
}

/* Kampanya görselleri: dış panel kartı footer’dan ayrılsın (dar ekran / alt alta) */
@media (max-width: 991.98px) {
  .ad-template-body .ad-label-workflow--fill.ad-hc-campaign-page .ad-hc-panel:has(.ad-hc-panel__body--slots) {
    margin-bottom: max(2.5rem, calc(env(safe-area-inset-bottom, 0px) + 1.5rem));
  }
}

.ad-label-assign-card .card-body {
  min-height: 280px;
}

.ad-template-body .ad-label-workflow--fill .ad-label-assign-card .card-body {
  min-height: 0;
}

@media (min-width: 1200px) {
  .ad-label-assign-card {
    position: sticky;
    top: 0.5rem;
    align-self: flex-start;
  }

  .ad-template-body .ad-label-workflow--fill .ad-label-assign-card {
    position: static;
    align-self: stretch;
  }
}

.ad-label-table-scroll {
  max-height: min(52vh, 520px);
  overflow-y: auto;
}

.ad-label-summary-table-wrap {
  max-height: min(42vh, 400px);
  overflow-y: auto;
}

.ad-label-table thead.position-sticky th {
  background: rgba(15, 23, 42, 0.97);
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.2);
}

.ad-label-hero {
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.72) 100%);
}

.ad-label-hero-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.28);
}

.ad-label-hero-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ad-label-hero-list li {
  position: relative;
  padding-left: 0;
  line-height: 1.55;
}

.ad-label-hero-kicker {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.9);
  margin-right: 0.35rem;
}

.ad-label-card {
  position: relative;
  overflow: hidden;
}

.ad-label-card--step {
  padding-top: 0.25rem;
}

.ad-label-step-pill {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #e0f2fe;
  background: rgba(14, 165, 233, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.35);
  z-index: 1;
}

.ad-label-import-ta {
  min-height: 110px;
  font-size: 0.9rem;
}

.ad-label-code-hint {
  font-size: 0.78rem;
  color: rgba(125, 211, 252, 0.95);
  background: rgba(0, 0, 0, 0.2);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

.ad-label-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.ad-label-table-shell {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(0, 0, 0, 0.18);
}

.ad-label-table {
  --bs-table-color: #f1f5f9;
  --bs-table-bg: transparent;
  color: #f1f5f9;
}

.ad-label-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  white-space: nowrap;
}

.ad-label-th-check {
  width: 2.5rem;
}

.ad-label-table tbody td {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  vertical-align: middle;
}

.ad-label-table .tabular-nums {
  font-variant-numeric: tabular-nums;
}

.ad-label-table tbody tr:last-child td {
  border-bottom: 0;
}

.ad-label-card--api-stream .ad-label-api-icon {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(34, 211, 238, 0.35);
}

.ad-label-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.ad-label-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.35);
  animation: ad-label-live-pulse 1.6s ease-in-out infinite;
}

@keyframes ad-label-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.92);
  }
}

.ad-label-api-toolbar {
  flex-shrink: 0;
}

.ad-label-row--pool {
  box-shadow: inset 3px 0 0 0 rgba(34, 211, 238, 0.55);
}

.ad-label-row--assigned {
  box-shadow: inset 3px 0 0 0 rgba(100, 116, 139, 0.45);
}

.ad-label-type-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.ad-label-type-badge--pool {
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.28);
}

.ad-label-type-badge--assigned {
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.ad-label-type-badge--ghost {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.ad-label-row--ghost {
  box-shadow: inset 3px 0 0 0 rgba(245, 158, 11, 0.45);
}

.ad-label-mini-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.ad-label-btn-assign {
  border-radius: 12px;
}

.ad-label-assign-hint {
  background: rgba(14, 165, 233, 0.12) !important;
  color: #bae6fd !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

.ad-label-search-result {
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.ad-label-eyebrow {
  letter-spacing: 0.12em;
  font-size: 0.65rem;
}

.ad-label-tx-list .list-group-item {
  border-color: rgba(148, 163, 184, 0.12);
}

@media (max-width: 576px) {
  .ad-label-step-pill {
    display: none;
  }
}

/* ----- Ana sayfa galeri (carousel, 4 sütun) ----- */
.et-section-gallery {
  position: relative;
  overflow: hidden;
}

.et-section-gallery .et-section-head {
  max-width: 100%;
  width: 100%;
  padding-inline: 0.25rem;
  box-sizing: border-box;
}

.et-section-gallery .et-section-label {
  display: inline-block;
  font-size: clamp(2.95rem, 1.6vw, 1.2rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(125, 211, 252, 0.95);
  margin-bottom: 0.65rem;
}

@media (min-width: 992px) {
  .et-section-gallery .et-section-desc {
    white-space: nowrap;
    font-size: clamp(0.88rem, 0.95vw, 1rem);
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .et-section-gallery .et-section-desc {
    font-size: 0.86rem;
    letter-spacing: -0.015em;
  }
}

.et-gallery-carousel {
  position: relative;
  padding: 0 2.75rem 2.5rem;
}

.et-gallery-carousel .carousel-inner {
  overflow: visible;
}

.et-gallery-frame {
  position: relative;
  height: 100%;
  perspective: 760px;
  perspective-origin: 50% 35%;
  padding: 0.4rem 0.3rem 1.35rem;
  transform-style: preserve-3d;
}

/* Zemin temas gölgesi — kutunun altında “duruyor” hissi */
.et-gallery-frame::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0.15rem;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 50% 35% at 50% 50%,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    transparent 72%
  );
  transform: scaleY(0.28);
  transform-origin: 50% 100%;
  z-index: 0;
  pointer-events: none;
  filter: blur(1px);
  opacity: 0.92;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.et-gallery-frame:hover::after {
  opacity: 0.75;
  transform: scaleY(0.22) scaleX(0.92);
}

.et-gallery-img-wrap {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(820px) rotateX(10deg) rotateY(-7deg) translateZ(4px);
  padding: 11px 11px 14px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, transparent 38%),
    linear-gradient(
      210deg,
      rgba(100, 116, 139, 0.55) 0%,
      rgba(30, 41, 59, 0.92) 35%,
      rgba(15, 23, 42, 0.98) 55%,
      rgba(2, 6, 23, 0.99) 100%
    );
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.28),
    inset 0 -3px 8px rgba(0, 0, 0, 0.45),
    inset 2px 2px 0 rgba(255, 255, 255, 0.06),
    0 2px 0 rgba(0, 0, 0, 0.35),
    0 5px 0 rgba(0, 0, 0, 0.22),
    0 9px 0 rgba(0, 0, 0, 0.14),
    0 14px 0 rgba(0, 0, 0, 0.08),
    0 22px 28px rgba(0, 0, 0, 0.55),
    0 40px 56px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease, border-color 0.45s ease;
}

/* Cam / parlak yüzey — 3D okunurluğu artırır */
.et-gallery-img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 22%,
    transparent 42%,
    transparent 58%,
    rgba(0, 0, 0, 0.18) 100%
  );
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.95;
  transition: opacity 0.45s ease;
}

.et-gallery-frame:hover .et-gallery-img-wrap::before {
  opacity: 0.75;
}

.et-gallery-carousel .row > .col:nth-child(odd) .et-gallery-img-wrap {
  transform: perspective(820px) rotateX(10deg) rotateY(7deg) translateZ(4px);
}

.et-gallery-carousel .row > .col:nth-child(even) .et-gallery-img-wrap {
  transform: perspective(820px) rotateX(10deg) rotateY(-7deg) translateZ(4px);
}

.et-gallery-frame:hover .et-gallery-img-wrap {
  transform: perspective(820px) rotateX(4deg) rotateY(0deg) translateY(-14px) translateZ(32px);
  border-color: rgba(125, 211, 252, 0.28);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.32),
    inset 0 -2px 10px rgba(0, 0, 0, 0.35),
    0 3px 0 rgba(0, 0, 0, 0.28),
    0 8px 0 rgba(0, 0, 0, 0.16),
    0 14px 0 rgba(0, 0, 0, 0.09),
    0 26px 36px rgba(0, 198, 255, 0.14),
    0 48px 72px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(56, 189, 248, 0.12);
}

.et-gallery-carousel .row > .col:nth-child(odd) .et-gallery-frame:hover .et-gallery-img-wrap {
  transform: perspective(820px) rotateX(4deg) rotateY(5deg) translateY(-14px) translateZ(32px);
}

.et-gallery-carousel .row > .col:nth-child(even) .et-gallery-frame:hover .et-gallery-img-wrap {
  transform: perspective(820px) rotateX(4deg) rotateY(-5deg) translateY(-14px) translateZ(32px);
}

.et-gallery-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 3px 22px rgba(0, 0, 0, 0.35),
    inset 0 -2px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  transform: translateZ(2px);
}

.et-gallery-frame:hover .et-gallery-img {
  transform: scale(1.04) translateZ(10px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 2px 18px rgba(0, 0, 0, 0.28),
    inset 0 -1px 8px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .et-gallery-img-wrap,
  .et-gallery-img,
  .et-gallery-frame::after {
    transition: none !important;
  }

  .et-gallery-img-wrap {
    transform: none !important;
    padding: 8px !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45) !important;
  }

  .et-gallery-img-wrap::before {
    opacity: 0.35 !important;
  }

  .et-gallery-frame::after {
    opacity: 0.5 !important;
    transform: scaleY(0.28) !important;
  }

  .et-gallery-carousel .row > .col:nth-child(odd) .et-gallery-img-wrap,
  .et-gallery-carousel .row > .col:nth-child(even) .et-gallery-img-wrap {
    transform: none !important;
  }

  .et-gallery-frame:hover .et-gallery-img-wrap,
  .et-gallery-carousel .row > .col:nth-child(odd) .et-gallery-frame:hover .et-gallery-img-wrap,
  .et-gallery-carousel .row > .col:nth-child(even) .et-gallery-frame:hover .et-gallery-img-wrap {
    transform: none !important;
  }

  .et-gallery-frame:hover .et-gallery-img {
    transform: none !important;
  }
}

.et-gallery-indicators {
  position: static;
  margin: 1.25rem 0 0;
  justify-content: center;
  gap: 0.5rem;
}

.et-gallery-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.28);
  opacity: 1;
}

.et-gallery-indicators [data-bs-target].active {
  background: linear-gradient(135deg, #0d6efd, #00c6ff);
  transform: scale(1.15);
}

.et-gallery-control {
  width: 3rem;
  height: 3rem;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.et-gallery-control:hover {
  background: rgba(30, 41, 59, 0.9);
}

.et-gallery-carousel .carousel-control-prev {
  left: 0;
}

.et-gallery-carousel .carousel-control-next {
  right: 0;
}

.et-gallery-carousel .carousel-control-prev-icon,
.et-gallery-carousel .carousel-control-next-icon {
  filter: brightness(0) invert(1);
  width: 1.35rem;
  height: 1.35rem;
}

@media (max-width: 991.98px) {
  .et-gallery-carousel {
    padding-inline: 2.25rem;
  }
}

@media (max-width: 575.98px) {
  .et-gallery-carousel {
    padding-inline: 0;
    padding-bottom: 2rem;
  }

  .et-gallery-control {
    display: none;
  }
}