@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* Windows (Chrome/Edge) bayrak emojisi göstermediği için yalnızca bayrak karakterlerini
   kapsayan yazı tipi. unicode-range sayesinde sadece sayfada bayrak varsa indirilir. */
@font-face {
  font-family: 'Twemoji Country Flags';
  src: url('https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2') format('woff2');
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
  font-display: swap;
}

:root {
  /* v3 — yeşil tema (modern, açık zemin) */
  --primary: #16A34A;
  --primary-hover: #15803D;
  --primary-light: rgba(22, 163, 74, 0.12);
  --primary-dim: rgba(22, 163, 74, 0.06);
  --primary-deep: #062B1C;
  --accent-lime: #B7F04A;

  --bg-body: #F3F7F4;
  --bg-surface: #FFFFFF;
  --bg-surface-hover: #F1F7F3;

  --text-main: #0F1F17;
  --text-muted: #5B6B62;
  --text-light: #93A399;

  --border-color: #E1EAE4;
  --border-light: #EBF2ED;

  --success: #10b981;
  --success-bg: #d1fae5;
  --danger: #ef4444;
  --danger-bg: #fee2e2;
  --warning: #f59e0b;
  --warning-bg: #fef3c7;
  --info: #3b82f6;
  --info-bg: #dbeafe;

  --font-family: 'Twemoji Country Flags', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(6, 43, 28, 0.05);
  --shadow-md: 0 6px 18px rgba(6, 43, 28, 0.07);
  --shadow-lg: 0 16px 32px -8px rgba(6, 43, 28, 0.12);

  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --sidebar-width: 272px;
  --topbar-height: 60px;
}

/* ──────────────────────────────────────────────────────────
   TEMEL SIFIRLAMA (RESET) VE GENEL AYARLAR
────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--primary-hover);
}

img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ──────────────────────────────────────────────────────────
   LAYOUT (SIDEBAR + MAIN + TOPBAR)
────────────────────────────────────────────────────────── */
.layout {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR — soft rail */
.sidebar {
  width: var(--sidebar-width);
  background: #f5f9f6;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 50;
  transition: transform 0.3s ease;
}

.sidebar-brand {
  padding: 0.95rem 0.95rem 0.85rem;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9f6 100%);
}

.sidebar-logo {
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-bottom: none;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.sidebar-logo-link {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.sidebar-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.sidebar-logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.sidebar-logo img {
  display: block;
  height: auto;
  width: auto;
  max-height: 42px;
  max-width: 168px;
  object-fit: contain;
  flex-shrink: 0;
}

.sidebar-logo .site-logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.sidebar-balance-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.sidebar-balance-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: inherit;
}
.sidebar-balance-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.sidebar-balance-card-top span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #14532d;
}
.sidebar-balance-card-top i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #f0fdf4;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.sidebar-balance-card-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.sidebar-admin-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 800;
}
.sidebar-admin-chip i { font-size: 0.9rem; }

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.95rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ca3af;
  margin: 0.95rem 0 0.4rem 0.7rem;
}
.nav-section-title:first-child { margin-top: 0.15rem; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.nav-item i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  color: #9ca3af;
  transition: color 0.15s ease;
}

.nav-item:hover {
  background-color: rgba(22, 163, 74, 0.06);
  color: var(--primary);
  border-left-color: #86efac;
}
.nav-item:hover i { color: var(--primary); }

.nav-item.active {
  background-color: #f0fdf4;
  color: var(--primary);
  font-weight: 800;
  border-color: transparent;
  border-left: 3px solid var(--primary);
  box-shadow: none;
}
.nav-item.active i { color: var(--primary); }

.nav-item .badge {
  margin-left: auto;
}

.sidebar-footer {
  padding: 0.85rem 0.85rem 1rem;
  border-top: 1px solid var(--border-color);
  background: #fff;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
  min-width: 0;
}
.sidebar-user-link {
  text-decoration: none;
  color: inherit;
  padding: 0.45rem;
  margin: -0.45rem -0.45rem 0.7rem;
  border-radius: 12px;
  transition: background 0.15s;
}
.sidebar-user-link:hover {
  background: #f0fdf4;
  color: inherit;
}

.sidebar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.sidebar-user-meta { min-width: 0; flex: 1; }

.sidebar-username {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user-role,
.sidebar-balance {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 0.1rem;
}

.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--danger);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.sidebar-logout:hover {
  background: var(--danger-bg);
  border-color: #fecaca;
  color: var(--danger);
}

/* Profile page */
.profile-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  background: #fafbfc;
}
.profile-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.profile-info-row:last-child { border-bottom: none; }
.profile-info-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}
.profile-info-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: right;
}
.profile-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.25rem 0.55rem;
  color: var(--primary);
}
.profile-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0.85rem 1rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
}

/* API docs page spacing */

/* MAIN CONTENT */
.main {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

/* TOPBAR */
.topbar {
  height: var(--topbar-height);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.35rem;
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.topbar-breadcrumb .current {
  color: var(--text-main);
  font-weight: 800;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.balance-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background-color: #f0fdf4;
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.88rem;
  border: 1px solid #bbf7d0;
  transition: background 0.15s ease, color 0.15s ease;
}
.balance-chip:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}
/* PAGE HEADER CARD */
.page-header {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem !important;
  margin-bottom: 1.25rem !important;
  box-shadow: var(--shadow-sm) !important;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
}
.page-header h1 {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: var(--text-main) !important;
  margin: 0 0 0.35rem 0 !important;
  letter-spacing: -0.035em;
  line-height: 1.2 !important;
}
.page-header p {
  font-size: 1rem !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  max-width: 52rem;
}

.page-content {
  padding: 1.35rem 1.6rem 2rem;
  flex: 1;
}

/* Panel duyuru bandı — panel diliyle sade */
.panel-announcement {
  position: relative;
  margin: 0 0 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.panel-announcement::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
}
.panel-announcement-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.05rem 1.15rem 1.05rem 1.25rem;
}
.panel-announcement-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--primary);
}
.panel-announcement-body {
  flex: 1;
  min-width: 0;
}
.panel-announcement-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.panel-announcement-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d1d5db;
}
.panel-announcement-body strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.panel-announcement-body p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.5;
}
.panel-announcement-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.15s ease;
}
.panel-announcement-close:hover {
  color: var(--text-main);
  background: #f3f7f4;
}
.panel-announcement-link {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.panel-announcement-link:hover {
  text-decoration: underline;
}

/* tip renkleri sadece sol şerit + ikon */
.panel-announcement-info::before { background: #2563eb; }
.panel-announcement-info .panel-announcement-icon {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
}
.panel-announcement-warning::before { background: var(--primary); }
.panel-announcement-warning .panel-announcement-icon {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: var(--primary);
}
.panel-announcement-success::before { background: #059669; }
.panel-announcement-success .panel-announcement-icon {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #059669;
}
.panel-announcement-danger::before { background: #dc2626; }
.panel-announcement-danger .panel-announcement-icon {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

/* Duyuru arşivi */
.ann-archive-current { margin-bottom: 1rem; }
.ann-archive-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ann-card {
  position: relative;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.1rem;
  overflow: hidden;
}
.ann-card-rail {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #94a3b8;
}
.ann-card-info .ann-card-rail { background: #3b82f6; }
.ann-card-warning .ann-card-rail { background: #16a34a; }
.ann-card-success .ann-card-rail { background: #10b981; }
.ann-card-danger .ann-card-rail { background: #ef4444; }
.ann-card.is-current {
  border-color: #86efac;
  background: linear-gradient(180deg, #f7fdf9 0%, #fff 65%);
}
.ann-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #f3f7f4;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ann-card-info .ann-card-icon { background: #dbeafe; border-color: #bfdbfe; color: #2563eb; }
.ann-card-warning .ann-card-icon { background: #dcfce7; border-color: #bbf7d0; color: #15803d; }
.ann-card-success .ann-card-icon { background: #d1fae5; border-color: #a7f3d0; color: #059669; }
.ann-card-danger .ann-card-icon { background: #fee2e2; border-color: #fecaca; color: #dc2626; }
.ann-card-body { flex: 1; min-width: 0; }
.ann-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.ann-card-type {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ann-card-top time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}
.ann-card-body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}
.ann-card-body p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.5;
}
.ann-card-badge {
  display: inline-flex;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

/* ──────────────────────────────────────────────────────────
   BİLEŞENLER (COMPONENTS)
────────────────────────────────────────────────────────── */

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn i { font-size: 1.1em; }

.btn-primary {
  background-color: var(--primary);
  color: white;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary-light);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  background-color: var(--bg-surface-hover);
  color: var(--text-main);
}

.btn-danger {
  background-color: var(--danger-bg);
  color: var(--danger);
}
.btn-danger:hover {
  background-color: var(--danger);
  color: white;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Kartlar */
.card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-bottom: 1rem;
}
.card-header {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}
.card-body {
  padding: 1.1rem;
}

/* Formlar */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Tablolar */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th, .table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.table th {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--bg-surface-hover);
}
.table tbody tr:hover {
  background-color: var(--bg-surface-hover);
}
.table tbody tr:last-child td {
  border-bottom: none;
}

/* Badgeler */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger  { background: var(--danger-bg); color: var(--danger); }
.badge-info    { background: var(--info-bg); color: var(--info); }
.badge-primary { background: var(--primary-light); color: var(--primary); }

/* Alertler */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert-success { background: var(--success-bg); color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: var(--danger-bg); color: #991b1b; border: 1px solid #fecaca; }
.alert-warn, .alert-warning { background: var(--warning-bg); color: #92400e; border: 1px solid #fde68a; }

/* Grid Utilities */
.grid { display: grid; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ──────────────────────────────────────────────────────────
   DASHBOARD ÖZEL
────────────────────────────────────────────────────────── */
.hero-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hero-banner::after { display: none; }
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}
.hero-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
}
.hero-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-balance-box {
  background: #f0fdf4;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid #bbf7d0;
  text-align: right;
  min-width: 160px;
}
.hero-balance-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #14532d;
  margin-bottom: 0.25rem;
  font-weight: 800;
}
.hero-balance-value {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-family);
  color: var(--primary);
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.stat-card:hover {
  border-color: #bbf7d0;
  box-shadow: var(--shadow-md);
  transform: none;
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.stat-icon.primary { background: #f0fdf4; color: var(--primary); border: 1px solid #bbf7d0; }
.stat-icon.success { background: var(--success-bg); color: var(--success); }
.stat-icon.warning { background: var(--warning-bg); color: var(--warning); }
.stat-icon.danger  { background: var(--danger-bg); color: var(--danger); }

.stat-info { flex: 1; min-width: 0; }
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* Dashboard / panel scale */
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.65rem;
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.dash-head::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--primary);
}
.dash-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.dash-head h1 {
  margin: 0 0 0.4rem;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-main);
  line-height: 1.15;
}
.dash-head p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 36rem;
}
.dash-head-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.dash-head-actions .btn {
  padding: 0.75rem 1.35rem;
  font-size: 1rem;
  font-weight: 800;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}
.dash-stats.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.dash-stat {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  min-height: 96px;
}
.dash-stat .stat-icon { width: 52px; height: 52px; font-size: 1.25rem; border-radius: 14px; }
.dash-stat .stat-info { display: flex; flex-direction: column; }
.dash-stat .stat-value { font-size: 1.65rem; order: 1; }
.dash-stat .stat-label { margin: 0.3rem 0 0; font-size: 0.9rem; order: 2; }
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1.15rem;
  margin-bottom: 1.15rem;
  align-items: start;
}
.dash-section-title {
  margin: 0 0 0.95rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.dash-empty {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f7fdf9 0%, #fff 70%);
}
.dash-empty > i {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--primary);
  font-size: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-empty h2,
.dash-empty h3 {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: var(--text-main) !important;
  margin: 0 0 0.45rem !important;
}
.dash-empty p {
  margin: 0 auto 1.1rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 28rem;
}
.dash-empty .btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.98rem;
  font-weight: 800;
}
.dash-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.dash-quick a {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.05rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: #f5f9f6;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  min-height: 88px;
}
.dash-quick a:hover {
  border-color: #bbf7d0;
  background: #f0fdf4;
  transform: translateY(-1px);
}
.dash-quick a > i {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #bbf7d0;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.dash-quick strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}
.dash-quick a > span > span {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}

.panel-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}
.panel-tip {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem;
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  min-height: 108px;
}
.panel-tip-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}
.panel-tip strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.3rem;
  line-height: 1.25;
}
.panel-tip span {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}
.panel-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.panel-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-sm);
  min-height: 0;
}
.panel-step-num {
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--primary);
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.panel-step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.panel-step strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.panel-step span {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}

.panel-fill {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.15rem;
  align-items: start;
  margin-top: 1.15rem;
}
.panel-help {
  background: linear-gradient(145deg, #f0fdf4 0%, #fff 55%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.15rem;
  margin-bottom: 1.35rem;
}
.panel-help strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}
.panel-help p {
  margin: 0;
  font-size: 1rem;
  color: #14532d;
  line-height: 1.5;
  max-width: 460px;
  font-weight: 500;
}
.panel-help .btn {
  padding: 0.75rem 1.25rem;
  font-weight: 800;
  font-size: 0.98rem;
}
.panel-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-sm);
}
.panel-block > .dash-section-title { margin-bottom: 1rem; }
@media (max-width: 1100px) {
  
  .panel-steps { grid-template-columns: repeat(2, 1fr); }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-stats,
  .dash-stats.cols-3 { grid-template-columns: 1fr 1fr; }
  .dash-head h1 { font-size: 1.55rem; }
  .panel-tips { grid-template-columns: 1fr; }
  .panel-fill { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dash-stats,
  .dash-stats.cols-3 { grid-template-columns: 1fr; }
  .panel-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    margin-bottom: 0.85rem;
  }
  .panel-step {
    padding: 0.65rem 0.7rem;
  }
  .panel-step-num {
    width: 28px; height: 28px; font-size: 0.85rem;
  }
  .panel-step strong { font-size: 0.82rem; }
  .panel-step span { font-size: 0.72rem; line-height: 1.25; }
  
  .dash-quick { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────
   ORDER KARTLARI (Aktif Numaralar)
────────────────────────────────────────────────────────── */

/* Toast */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  animation: toastIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
.toast.success { border-color: var(--success); }
.toast.error   { border-color: var(--danger); }
.toast.info    { border-color: var(--info); }

@keyframes toastIn {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* Animasyonlar */
.animate-in {
  animation: fadeInUp 0.5s ease backwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sidebar Toggle & Close Buttons */
.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  margin-right: 0.5rem;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.sidebar-toggle:hover {
  background: var(--border-light);
}

.sidebar-close {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.sidebar-close:hover {
  background: var(--border-light);
  color: var(--danger);
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transform: translate3d(0, 0, 0);
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Mobile Settings / User Detail Tabs Scrollability */
.tabs-nav {
  overflow-x: auto !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch;
}
.tabs-nav::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}
.tabs-nav {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.tab-btn {
  flex-shrink: 0 !important;
}

@media (max-width: 992px) {
  :root { --sidebar-width: 0px; }
  .sidebar { width: min(272px, 88vw); transform: translateX(-100%); }
  .sidebar.show { transform: translateX(0); }
  .main { margin-left: 0; }
  .page-content { padding: 1rem 0.9rem 1.5rem; }
  .page-header { padding: 0.95rem 1rem !important; margin-bottom: 0.85rem !important; }
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-2 { grid-template-columns: 1fr; }
  .hero-content { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .hero-balance-box { width: 100%; text-align: left; }
  
  .sidebar-toggle { display: inline-flex; }
  .sidebar-close { display: inline-flex; }
  
  .topbar {
    padding: 0 1rem;
  }
  .topbar-breadcrumb {
    display: none;
  }
}
@media (max-width: 576px) {
  .grid-cols-4 { grid-template-columns: 1fr; }
  .grid-cols-2 { grid-template-columns: 1fr; }

  .hero-banner { padding: 1.5rem; }
  .hero-title { font-size: 1.5rem; }
  .hero-balance-value { font-size: 2rem; }
}

/* ──────────────────────────────────────────────────────────
   ADMIN DASHBOARD GRID & STAT CARDS
   ────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Stat card modifier styles inside admin */
.stat-card .stat-icon.red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}
.stat-card .stat-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}
.stat-card .stat-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}
.stat-card .stat-icon.yellow {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}
.stat-card .stat-icon.purple {
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary);
}

@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ──────────────────────────────────────────────────────────
   EMPTY STATES
   ────────────────────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}
.empty-state i {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: block;
}
.empty-state p {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}
.empty-state p small {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ──────────────────────────────────────────────────────────
   CODE EDITOR BOX (SYNTAX HIGHLIGHTING)
   ────────────────────────────────────────────────────────── */

/* Renk Kodları */

/* ──────────────────────────────────────────────────────────
   ENHANCED ANIMATIONS & MICRO-INTERACTIONS
   ────────────────────────────────────────────────────────── */

/* ── Global Enhanced Transitions ── */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Button Enhancements ── */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transition: left 0.5s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.btn:active {
  transform: translateY(0);
  transition: all 0.1s ease;
}

/* ── Card Enhancements ── */
.card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* ── Form Input Enhancements ── */
.form-control, .search-input {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.form-control:focus, .search-input:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15), 0 4px 15px rgba(22, 163, 74, 0.1);
}

/* ── Loading Animations ── */
@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}
.loading-shimmer {
  background: linear-gradient(90deg, var(--bg-surface) 25%, var(--border-light) 50%, var(--bg-surface) 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite linear;
}

/* ── Pulse Animation ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}
.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ── Bounce Animation ── */
@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
  40%, 43% { transform: translateY(-20px); }
  70% { transform: translateY(-10px); }
  90% { transform: translateY(-4px); }
}
.bounce {
  animation: bounce 2s infinite;
}

/* ── Floating Animation ── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
.float {
  animation: float 3s ease-in-out infinite;
}

/* ── Slide In Animations ── */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-slide-left {
  animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-slide-right {
  animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-slide-up {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-fade-scale {
  animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Stagger Animation Delays ── */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* ── Hover Effects ── */
.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.05);
}

.hover-glow {
  transition: all 0.3s ease;
}
.hover-glow:hover {
  box-shadow: 0 0 20px rgba(22, 163, 74, 0.3);
}

/* ── Interactive Elements ── */
.clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}
.clickable:hover {
  transform: translateY(-1px);
}
.clickable:active {
  transform: translateY(0);
  transition: all 0.1s ease;
}

/* ── Success Animations ── */
@keyframes checkmark {
  0% { stroke-dashoffset: 50px; }
  100% { stroke-dashoffset: 0; }
}
@keyframes checkmark-circle {
  0% { stroke-dashoffset: 157px; }
  100% { stroke-dashoffset: 0; }
}

.success-checkmark {
  stroke-dasharray: 50px;
  stroke-dashoffset: 50px;
  animation: checkmark 0.6s ease-in-out 0.3s forwards;
}
.success-circle {
  stroke-dasharray: 157px;
  stroke-dashoffset: 157px;
  animation: checkmark-circle 0.6s ease-in-out forwards;
}

/* ── Loading Spinner ── */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spinner {
  animation: spin 1s linear infinite;
}

/* ── Notification Slide ── */
@keyframes slideInNotification {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.notification-slide {
  animation: slideInNotification 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── History filter bar ── */

.history-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}
.history-pagination-info {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ── PREMIUM MOBILE UX IMPROVEMENTS ── */
@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on input focus */
  input,
  select,
  textarea,
  .form-control,
  .search-input {
    font-size: 16px !important;
  }

  /* Fluid touch scroll for responsive tables */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
  }

  /* Reduce animations on mobile for performance */
  .btn:hover {
    transform: none;
  }
  .card:hover {
    transform: translateY(-2px);
  }
  
  /* Enhanced touch targets */
  .btn, .clickable {
    min-height: 44px;
    min-width: 44px;
  }
}

/* 5sim operatör listesi (sipariş özeti) */

/* Açılır listelerde de bayraklar görünsün */
select, option { font-family: var(--font-family); }

/* ===== LISANS MAGAZASI / ONAYSMS TASARIM DILI ===== */
.lic-panel{margin-top:1rem;border:1px solid #dfeae2;background:#f7fbf8;border-radius:18px;padding:1.15rem}
.lic-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;padding:.15rem .15rem 1rem}
.lic-head h2{font-size:1.35rem;margin:.2rem 0;color:#102218}.lic-head p{margin:0;color:#6b7b71;font-size:.88rem}.lic-head-badges{display:flex;gap:.5rem;flex-wrap:wrap}.lic-head-badges span{background:#eaf8ef;color:#14813a;border:1px solid #d4efdd;border-radius:999px;padding:.48rem .7rem;font-size:.76rem;font-weight:800}
.lic-shop-grid{display:grid;grid-template-columns:230px minmax(0,1fr) 250px;gap:.85rem;align-items:stretch}.lic-categories,.lic-products-col,.lic-cart-box{background:#fff;border:1px solid #e1e9e4;border-radius:14px;padding:.85rem;min-width:0}.lic-col-title{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.75rem}.lic-col-title strong{font-size:.9rem;color:#14261b}.lic-col-title span,.lic-col-title a{font-size:.7rem;color:#73907d;font-weight:700}.lic-category-list{display:flex;flex-direction:column;gap:.38rem}.lic-category{width:100%;display:grid;grid-template-columns:34px 1fr 12px;align-items:center;gap:.5rem;border:1px solid transparent;background:#f5f8f6;border-radius:10px;padding:.55rem;text-align:left;color:#3c4d42;cursor:pointer}.lic-category>span{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#fff;color:#16a34a;border:1px solid #e3ece6}.lic-category b{font-size:.75rem}.lic-category>i{font-size:.6rem;color:#a4b0a8}.lic-category:hover,.lic-category.active{border-color:#9fddb3;background:#effaf2;color:#137b36}
.lic-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.lic-product-card{position:relative;border:1px solid #e3ebe6;border-radius:12px;padding:.72rem;background:#fff;transition:.18s}.lic-product-card:hover{border-color:#b7dec3;box-shadow:0 7px 20px rgba(17,75,38,.07);transform:translateY(-2px)}.lic-product-top{display:flex;align-items:center;gap:.35rem;margin-bottom:.6rem}.lic-product-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#eff9f2;color:#16a34a;font-size:1.05rem}.lic-discount{font-size:.62rem;font-weight:900;background:#e9f9ee;color:#118038;padding:.24rem .35rem;border-radius:6px}.lic-heart{margin-left:auto;border:0;background:#f6f8f7;width:30px;height:30px;border-radius:50%;color:#66776c;cursor:pointer}.lic-cat-name{font-size:.62rem;color:#7a8b80;font-weight:700}.lic-product-card h3{font-size:.78rem;line-height:1.3;min-height:2.1em;margin:.18rem 0 .45rem;color:#18291f}.lic-stock{font-size:.61rem;color:#169447;margin-bottom:.55rem}.lic-price-row{display:flex;align-items:baseline;gap:.4rem;margin-bottom:.55rem}.lic-price-row strong{font-size:1rem;color:#102218}.lic-price-row del{font-size:.62rem;color:#9aa69e}.lic-add{width:100%;border:0;border-radius:9px;background:#16a34a;color:#fff;font-weight:800;font-size:.7rem;padding:.58rem;cursor:pointer}.lic-add:hover{background:#12873d}
.lic-cart-box{display:flex;flex-direction:column}.lic-cart-empty{text-align:center;padding:1.1rem .25rem}.lic-cart-empty>span{width:52px;height:52px;margin:0 auto .6rem;display:grid;place-items:center;border-radius:50%;background:#eff9f2;color:#16a34a}.lic-cart-empty h3{font-size:.82rem;margin:0 0 .3rem}.lic-cart-empty p{font-size:.67rem;line-height:1.45;color:#7a8a80;margin:0}.lic-cart-trust{border-top:1px solid #edf2ee;margin-top:auto;padding-top:.7rem;display:grid;gap:.6rem}.lic-cart-trust>div{display:flex;align-items:center;gap:.55rem}.lic-cart-trust>div>i{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#eff9f2;color:#16a34a;font-size:.72rem}.lic-cart-trust span{display:flex;flex-direction:column}.lic-cart-trust b{font-size:.66rem}.lic-cart-trust small{font-size:.57rem;color:#87968c}.lic-checkout{margin-top:.75rem;border:0;border-radius:9px;padding:.65rem;background:#dfe7e2;color:#849188;font-size:.7rem;font-weight:800}
.lic-pop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem}.lic-pop-tile{display:grid;grid-template-columns:34px 1fr auto 26px;align-items:center;gap:.45rem;padding:.58rem;border:1px solid #e4ebe6;background:#fff;border-radius:10px}.lic-pop-logo{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#eff9f2;color:#16a34a}.lic-pop-meta{display:flex;flex-direction:column;min-width:0}.lic-pop-meta b{font-size:.67rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lic-pop-meta small{font-size:.56rem;color:#87958c}.lic-pop-tile>strong{font-size:.67rem;color:#16813b}.lic-pop-tile>button{width:25px;height:25px;border:0;border-radius:7px;background:#16a34a;color:#fff;cursor:pointer}
@media(max-width:1100px){.lic-shop-grid{grid-template-columns:200px 1fr}.lic-cart-box{grid-column:1/-1}.lic-products-grid{grid-template-columns:repeat(3,1fr)}.lic-pop-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.lic-head{align-items:flex-start;flex-direction:column}.lic-shop-grid{grid-template-columns:1fr}.lic-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lic-pop-grid{grid-template-columns:1fr}.lic-categories{order:1}.lic-products-col{order:2}.lic-cart-box{order:3}.lic-head h2{font-size:1.1rem}}
@media(max-width:430px){.lic-panel{padding:.7rem}.lic-products-grid{grid-template-columns:1fr 1fr;gap:.45rem}.lic-product-card{padding:.58rem}.lic-product-card h3{font-size:.72rem}.lic-add{font-size:.64rem}.lic-head-badges span{font-size:.66rem}}

/* ===== LISANS MAGAZASI FAZ 2 / CACHE FIX ===== */
.lic-panel button,.lic-panel input{font:inherit}
.lic-panel .lic-category,.lic-panel .lic-heart,.lic-panel .lic-add,.lic-panel .lic-checkout{appearance:none;-webkit-appearance:none}
.lic-panel .np-search{margin-bottom:.75rem}
.lic-panel .np-search input{width:100%;height:42px;border:1px solid #dfe8e2;border-radius:10px;background:#f7faf8;padding:0 12px 0 36px;outline:0;color:#26372c}
.lic-panel .np-search{position:relative;display:block}.lic-panel .np-search>i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#819188;z-index:2}.lic-panel .np-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.lic-products-col{overflow:hidden}
.lic-product-card{overflow:hidden}
@media(max-width:760px){.lic-panel{border-radius:14px}.lic-head-badges{width:100%}.lic-head-badges span{flex:1;text-align:center}.lic-categories,.lic-products-col,.lic-cart-box{border-radius:12px}}

/* ===== LISANSMATIK SEPET ===== */
.lic-cart-items{display:flex;flex-direction:column;gap:10px;margin:14px 0}.lic-cart-item{padding:11px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.lic-cart-item-main{display:flex;align-items:center;gap:9px}.lic-cart-item-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#ecfdf3;color:#16a34a}.lic-cart-item-main strong{display:block;font-size:13px}.lic-cart-item-main small{display:block;margin-top:2px;color:#64748b}.lic-cart-item-actions{display:flex;align-items:center;gap:7px;margin-top:9px}.lic-cart-item-actions button{width:27px;height:27px;border:1px solid #e5e7eb;background:#fff;border-radius:7px;cursor:pointer}.lic-cart-item-actions .lic-cart-remove{margin-left:auto;color:#dc2626}.lic-cart-total{display:flex;justify-content:space-between;align-items:center;padding-top:12px;margin-top:12px;border-top:1px solid #e5e7eb}.lic-cart-total strong{color:#16a34a;font-size:18px}.lic-heart.active{color:#ef4444}

/* ===== LISANSMATIK FEATURED CAROUSEL ===== */
.lic-carousel-wrap{position:relative;min-width:0;padding:0 34px}
.lic-products-grid{display:flex!important;grid-template-columns:none!important;gap:.65rem;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 1px 8px}
.lic-products-grid::-webkit-scrollbar{display:none}
.lic-products-grid .lic-product-card{flex:0 0 calc((100% - 1.3rem)/3);min-width:0;scroll-snap-align:start}
.lic-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:30px;height:44px;border:1px solid #dbe8df;border-radius:10px;background:#fff;color:#16a34a;display:grid;place-items:center;cursor:pointer;box-shadow:0 5px 16px rgba(17,75,38,.10)}
.lic-carousel-arrow:hover{background:#16a34a;color:#fff;border-color:#16a34a}
.lic-carousel-prev{left:0}
.lic-carousel-next{right:0}
@media(max-width:760px){.lic-carousel-wrap{padding:0 30px}.lic-products-grid .lic-product-card{flex-basis:calc((100% - .65rem)/2)}}
@media(max-width:430px){.lic-products-grid .lic-product-card{flex-basis:100%}.lic-carousel-arrow{width:26px;height:40px}}

/* ===== LISANSMATIK MODERN PRODUCT CARDS V3 ===== */
.lic-products-col{background:linear-gradient(180deg,#fff 0%,#fbfefc 100%)}
.lic-carousel-wrap{padding:4px 38px 10px}
.lic-products-grid{align-items:stretch;gap:14px!important;padding:6px 3px 16px!important}
.lic-products-grid .lic-product-card{flex:0 0 calc((100% - 28px)/3);padding:0!important;border:1px solid #e3ece6;border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(17,75,38,.055);display:flex;flex-direction:column;min-height:430px;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.lic-products-grid .lic-product-card:hover{transform:translateY(-5px);border-color:#b8dfc4;box-shadow:0 16px 38px rgba(17,75,38,.12)}
.lic-product-media{height:210px;position:relative;overflow:hidden;background:linear-gradient(145deg,#f0fbf4,#e6f6ec);border-bottom:1px solid #edf3ef}
.lic-product-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.lic-product-card:hover .lic-product-media img{transform:scale(1.045)}
.lic-product-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#159447;background:radial-gradient(circle at 50% 25%,#fff 0,#effaf3 45%,#e6f5eb 100%)}
.lic-product-placeholder i{font-size:3.25rem;filter:drop-shadow(0 8px 15px rgba(22,163,74,.15))}.lic-product-placeholder span{font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6c8a76}
.lic-product-media .lic-discount{position:absolute;left:12px;top:12px;border-radius:999px;padding:7px 10px;background:#16a34a;color:#fff;box-shadow:0 5px 14px rgba(22,163,74,.25)}
.lic-product-media .lic-heart{position:absolute;right:12px;top:12px;margin:0;width:38px;height:38px;background:rgba(255,255,255,.88);backdrop-filter:blur(8px);box-shadow:0 5px 15px rgba(20,55,32,.09);display:grid;place-items:center}
.lic-product-body{padding:16px;display:flex;flex-direction:column;flex:1}
.lic-product-body .lic-cat-name{display:inline-flex;align-self:flex-start;background:#f0f8f3;color:#5e7967;border-radius:999px;padding:5px 8px;font-size:.61rem;text-transform:uppercase;letter-spacing:.04em}
.lic-product-body h3{font-size:.92rem;min-height:auto;margin:9px 0 10px;color:#12251a}.lic-product-body .lic-stock{font-size:.64rem;margin-bottom:12px}.lic-product-body .lic-price-row{margin-top:auto;margin-bottom:12px}.lic-product-body .lic-price-row strong{font-size:1.2rem}.lic-product-body .lic-price-row del{font-size:.7rem}
.lic-product-body .lic-add{border-radius:12px;padding:12px 10px;font-size:.78rem;box-shadow:0 7px 15px rgba(22,163,74,.16);transition:.2s}.lic-product-body .lic-add:hover{transform:translateY(-1px);box-shadow:0 9px 19px rgba(22,163,74,.25)}
.lic-carousel-arrow{width:38px;height:38px;border-radius:50%;top:48%;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);box-shadow:0 7px 20px rgba(17,75,38,.14)}
@media(max-width:760px){.lic-products-grid .lic-product-card{flex-basis:calc((100% - 14px)/2);min-height:400px}.lic-product-media{height:180px}}
@media(max-width:430px){.lic-products-grid .lic-product-card{flex-basis:100%;min-height:420px}.lic-product-media{height:215px}}

/* ===== LISANSMATIK MODERN SEPET V2 ===== */
.lic-cart-box{background:linear-gradient(180deg,#fff 0%,#fbfffc 100%);border:1px solid #dfe9e2!important;border-radius:20px!important;padding:16px!important;box-shadow:0 14px 35px rgba(15,31,23,.07);position:relative;overflow:hidden}
.lic-cart-box:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#16a34a,#22c55e,#86efac)}
.lic-cart-box .lic-col-title{padding:4px 2px 13px;border-bottom:1px solid #edf2ee;margin-bottom:12px}
.lic-cart-box .lic-col-title strong{font-size:16px;letter-spacing:-.02em;color:#102117}.lic-cart-box .lic-col-title span{background:#ecfdf3;color:#15803d;padding:5px 9px;border-radius:999px;font-weight:800;font-size:11px}
.lic-cart-items{gap:10px!important;margin:10px 0 14px!important}.lic-cart-item{border:1px solid #e3ebe5!important;border-radius:15px!important;padding:11px!important;background:#fff!important;box-shadow:0 5px 16px rgba(15,31,23,.04);transition:.2s ease}.lic-cart-item:hover{border-color:#bbdfc5!important;box-shadow:0 8px 22px rgba(22,163,74,.08)}
.lic-cart-item-main{gap:10px!important}.lic-cart-item-icon{width:42px!important;height:42px!important;border-radius:12px!important;background:linear-gradient(135deg,#ecfdf3,#dcfce7)!important;color:#16a34a!important;font-size:17px}.lic-cart-item-main strong{font-size:13px!important;color:#17251c}.lic-cart-item-main small{font-size:12px!important;color:#718096!important;margin-top:3px!important}
.lic-cart-item-actions{margin-top:10px!important;padding-top:9px;border-top:1px dashed #e8eee9;gap:6px!important}.lic-cart-item-actions button{width:29px!important;height:29px!important;border-radius:9px!important;border:1px solid #dfe7e1!important;transition:.18s ease}.lic-cart-item-actions button:hover{background:#ecfdf3!important;border-color:#a7d9b4!important;color:#15803d}.lic-cart-item-actions .lic-cart-remove{background:#fff5f5!important;color:#dc2626!important;border-color:#fee2e2!important}.lic-cart-item-actions b{min-width:20px;text-align:center;font-size:13px}
.lic-cart-total{margin-top:15px!important;padding:15px 2px 4px!important;border-top:1px solid #e6ece7!important}.lic-cart-total span{font-size:14px;color:#425047}.lic-cart-total strong{font-size:21px!important;letter-spacing:-.03em;color:#16a34a!important}
.lic-cart-trust{margin-top:16px!important;padding:12px!important;border-radius:15px;background:#f7fbf8;border:1px solid #e8f0ea;gap:10px!important}.lic-cart-trust>div{padding:0!important}.lic-cart-trust>div>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eafaf0;color:#16a34a}.lic-cart-trust b{font-size:11.5px!important;color:#1c2c22}.lic-cart-trust small{font-size:9.5px!important;color:#829087}
.lic-checkout{min-height:52px!important;border-radius:14px!important;margin-top:12px!important;font-weight:800!important;letter-spacing:-.01em!important;background:linear-gradient(135deg,#16a34a,#15803d)!important;color:#fff!important;border:0!important;box-shadow:0 9px 22px rgba(22,163,74,.22);transition:.2s ease!important}.lic-checkout:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(22,163,74,.3)}.lic-checkout:disabled{background:#e8eeea!important;color:#94a098!important;box-shadow:none!important}
.lic-cart-empty{padding:28px 8px!important}.lic-cart-empty>span{width:58px!important;height:58px!important;border-radius:18px!important;background:linear-gradient(135deg,#ecfdf3,#dcfce7)!important;color:#16a34a!important}.lic-cart-empty h3{font-size:14px!important;margin-top:12px!important}.lic-cart-empty p{font-size:11px!important;line-height:1.5!important;color:#7b8980!important}

/* ===== LISANSMATIK CART CTA V3 - tek satir modern ===== */
.lic-checkout:not(:disabled){display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;padding:0 14px!important;white-space:nowrap!important;overflow:hidden!important}
.lic-checkout:not(:disabled) span{font-size:13px!important;font-weight:800!important;white-space:nowrap!important}
.lic-checkout:not(:disabled) strong{font-size:14px!important;font-weight:900!important;white-space:nowrap!important;padding-left:8px!important;margin-left:2px!important;border-left:1px solid rgba(255,255,255,.3)}
.lic-checkout:not(:disabled) i{font-size:11px!important;flex:0 0 auto!important}
@media(max-width:1180px){.lic-checkout:not(:disabled){gap:6px!important;padding:0 9px!important}.lic-checkout:not(:disabled) span{font-size:11.5px!important}.lic-checkout:not(:disabled) strong{font-size:12.5px!important;padding-left:6px!important}}

/* Lisansmatik kompakt sepet + promosyon */
.lic-promo{margin-top:12px;padding:11px;border:1px solid #dff0e4;border-radius:13px;background:linear-gradient(135deg,#f5fff8,#eefbf3)}
.lic-promo-title{display:flex;align-items:center;gap:8px;margin-bottom:8px}.lic-promo-title>i{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#e4f8eb;color:#16a34a}.lic-promo-title span{display:flex;flex-direction:column}.lic-promo-title b{font-size:11px;color:#1d2d23}.lic-promo-title small{font-size:9px;color:#819087;margin-top:1px}
.lic-promo-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.lic-promo-input-wrap{position:relative;min-width:0;overflow:hidden;border-radius:9px}.lic-promo-input{position:relative;z-index:2;width:100%;min-width:0;height:34px;border:1px solid #d9e5dc;border-radius:9px;background:#fff;padding:0 10px;font-size:10.5px;outline:none}.lic-promo-input:focus{border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.08)}.lic-promo-apply{height:34px;border:0;border-radius:9px;padding:0 12px;background:#16a34a;color:#fff;font-size:10px;font-weight:800;cursor:pointer}.lic-promo-apply:disabled{opacity:.6}.lic-promo-msg{font-size:9px;margin-top:6px;min-height:0}.lic-promo-msg.success{color:#15803d}.lic-promo-msg.error{color:#dc2626}
.lic-cart-discount{display:flex;align-items:center;justify-content:space-between;padding:8px 0 2px;font-size:10px;color:#15803d}.lic-cart-discount strong{font-size:11px}
.lic-mini-trust{margin-top:9px!important;padding:0 2px;align-items:center;justify-content:space-between;gap:5px;color:#75857b;font-size:8.5px;white-space:nowrap}.lic-mini-trust span{display:flex;align-items:center;gap:3px}.lic-mini-trust i{color:#16a34a;font-size:8px}
.lic-checkout{margin-top:9px!important;min-height:46px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:8px!important;padding:0 12px!important;border-radius:12px!important;white-space:nowrap!important}.lic-checkout span{text-align:left;min-width:0}.lic-checkout strong{font-size:12px!important;padding-left:8px;border-left:1px solid rgba(255,255,255,.35)}

/* Promo input: compact scrolling hint */
.lic-promo-placeholder{position:absolute;z-index:3;left:10px;right:8px;top:0;height:34px;display:flex;align-items:center;overflow:hidden;pointer-events:none;color:#7b8880;font-size:10.5px;white-space:nowrap;transition:opacity .15s ease}
.lic-promo-placeholder span{display:inline-block;min-width:max-content;padding-left:100%;animation:licPromoMarquee 8s linear infinite}
.lic-promo-placeholder.is-hidden{opacity:0}
.lic-promo-input:focus + .lic-promo-placeholder{opacity:0}
@keyframes licPromoMarquee{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){.lic-promo-placeholder span{animation:none;padding-left:0}}
\n\n/* ===== LISANSMATIK MAGAZA BOSLUK FIX - GERCEK YAPI ===== */
.lic-shop-grid{align-items:start!important}
.lic-categories,.lic-products-col,.lic-cart-box{align-self:start!important;height:auto!important;min-height:0!important}
.lic-panel{min-height:0!important;height:auto!important}
/* Sepet uzayip magazayi boslukla doldurmasin: ilk 3 urun kompakt, kalani tek satir */
.lic-cart-items{display:flex;flex-direction:column}
.lic-cart-more{width:100%;height:34px;border:1px dashed #bfe3ca;border-radius:10px;background:#f3fbf6;color:#15803d;font-size:10px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}
.lic-cart-more:hover{background:#eaf8ef;border-color:#8fd1a3}
/* Sepet satirlarini daha kompakt tut */
.lic-cart-item{padding:8px!important;border-radius:12px!important}
.lic-cart-item-icon{width:34px!important;height:34px!important;border-radius:9px!important;font-size:14px!important}
.lic-cart-item-main strong{font-size:11px!important;line-height:1.2;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lic-cart-item-main small{font-size:10px!important}
.lic-cart-item-actions{margin-top:6px!important;padding-top:6px!important}
.lic-cart-item-actions button{width:25px!important;height:25px!important;border-radius:7px!important}
.lic-cart-total{margin-top:8px!important;padding-top:9px!important}
.lic-promo{margin-top:8px!important;padding:9px!important}
.lic-mini-trust{margin-top:6px!important}
.lic-checkout{margin-top:6px!important;min-height:42px!important}

/* ===== KATEGORI ARAMA ORAN FIX ===== */
/* Eski dis + ic cift kart gorunumunu kaldir; arama tek kart ve tam genislik olsun. */
.lic-panel .lic-categories .np-search{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:42px!important;
  margin:0 0 .65rem!important;
  padding:0!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  box-sizing:border-box!important;
}
.lic-panel .lic-categories .np-search input{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:42px!important;
  margin:0!important;
  padding:0 12px 0 36px!important;
  box-sizing:border-box!important;
  border:1px solid #dfe8e2!important;
  border-radius:10px!important;
  background:#f7faf8!important;
  color:#26372c!important;
  outline:0!important;
}
.lic-panel .lic-categories .np-search:focus-within{background:transparent!important;border:0!important}
.lic-panel .lic-categories .np-search input:focus{border-color:#22c55e!important;box-shadow:0 0 0 3px rgba(34,197,94,.08)!important;background:#fff!important}
.lic-panel .lic-categories .np-search>i{left:12px!important;top:50%!important;transform:translateY(-50%)!important}

/* Popüler Lisanslar — onaylanan mockup yerleşimi */
#popular-products.gz-pop-card{background:linear-gradient(180deg,#f8fcf9 0%,#f5faf7 100%);border:1px solid #e2ece5;border-radius:15px;overflow:visible;box-shadow:0 6px 20px rgba(6,43,28,.035)}
#popular-products .lic-pop-head{padding:.78rem .9rem .55rem;align-items:center}
#popular-products .lic-pop-heading{display:flex;align-items:center;gap:.58rem;min-width:0}
#popular-products .lic-pop-heading-icon{width:34px;height:34px;border-radius:9px;background:#dff7e6;color:var(--primary);display:grid;place-items:center;flex:0 0 34px;font-size:1rem}
#popular-products .lic-pop-heading h2{font-family:inherit;font-size:.9rem;font-weight:700;line-height:1.15;letter-spacing:0;color:var(--text-main,#17231c);margin:0}
#popular-products .lic-pop-subtitle{font-family:inherit;font-size:.62rem;font-weight:400;color:#7c8c82;margin-top:2px;line-height:1.2}
#popular-products .lic-pop-all{font-family:inherit;font-size:.67rem;font-weight:600;padding:.48rem .72rem;border:1px solid #dcebe0;border-radius:999px;background:#eef8f1;color:var(--primary);text-decoration:none}
#popular-products .gz-card-body{padding:0 .82rem .72rem}
#popular-products .lic-pop-carousel{position:relative;display:flex;align-items:center;gap:.42rem}
#popular-products .lic-pop-viewport{overflow:hidden;min-width:0;flex:1;padding:.18rem .08rem .28rem}
#popular-products .lic-pop-track{display:flex;gap:.58rem;transition:transform .28s ease}
#popular-products .lic-pop-track .lic-pop-tile{position:relative;flex:0 0 calc((100% - 1.74rem)/4);min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:.55rem;row-gap:.12rem;align-items:center;padding:.58rem .62rem;background:#fff;border:1px solid #e1eae4;border-radius:10px;min-height:66px;box-shadow:0 2px 7px rgba(6,43,28,.035);transition:.15s ease}
#popular-products .lic-pop-track .lic-pop-tile:hover{border-color:#a7e7b9;box-shadow:0 6px 15px rgba(6,43,28,.08);transform:translateY(-1px)}
#popular-products .lic-pop-logo{grid-column:1;grid-row:1/3;width:38px;height:38px;border-radius:9px;background:#edf9f1;color:var(--primary);display:grid;place-items:center;font-size:1rem}
#popular-products .lic-pop-meta{grid-column:2;grid-row:1;display:flex;flex-direction:column;min-width:0;align-self:end}
#popular-products .lic-pop-meta b{font-family:inherit;font-size:.67rem;font-weight:650;line-height:1.15;color:var(--text-main,#17231c);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#popular-products .lic-pop-meta small{font-family:inherit;font-size:.55rem;font-weight:400;color:#85938a;line-height:1.2;margin-top:2px}
#popular-products .lic-pop-tile>strong{grid-column:2;grid-row:2;align-self:start;font-family:inherit;font-size:.72rem;font-weight:700;color:var(--primary);white-space:nowrap}
#popular-products .lic-pop-add{grid-column:3;grid-row:1/3;align-self:end;width:27px;height:27px;border:0;border-radius:7px;background:var(--primary);color:#fff;display:grid;place-items:center;cursor:pointer;font-size:.72rem;padding:0}
#popular-products .lic-pop-arrow{width:28px;height:28px;flex:0 0 28px;border:1px solid #dce9df;border-radius:50%;background:#fff;color:var(--primary);display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 8px rgba(6,43,28,.07);font-size:.66rem;z-index:2}
#popular-products .lic-pop-prev{margin-left:-.25rem}#popular-products .lic-pop-next{margin-right:-.25rem}
#popular-products .lic-pop-arrow:disabled{opacity:.38}
#popular-products .lic-pop-dots{display:flex;justify-content:center;gap:5px;margin-top:.34rem}
#popular-products .lic-pop-dots span{width:5px;height:5px;border-radius:50%;background:#ccd8d0}#popular-products .lic-pop-dots span.active{background:var(--primary)}
#popular-products .lic-product-badge{position:absolute;right:-1px;top:-8px;padding:3px 7px;border-radius:999px;font-family:inherit;font-size:.55rem;font-weight:600;line-height:1.1;background:#e6f8eb;color:#16803b;border:1px solid #c8efd4;z-index:3}
#popular-products .badge-bestseller{background:#fff5df;color:#9a6500;border-color:#f4dfad}#popular-products .badge-new{background:#eaf4ff;color:#1769aa;border-color:#cfe5fb}#popular-products .badge-sale{background:#fff0f0;color:#c0392b;border-color:#ffd4d4}#popular-products .badge-featured{background:#f1edff;color:#6741c2;border-color:#ddd3ff}
@media(max-width:900px){#popular-products .lic-pop-track .lic-pop-tile{flex-basis:calc((100% - .58rem)/2)}}
@media(max-width:560px){#popular-products .lic-pop-track .lic-pop-tile{flex-basis:100%}#popular-products .lic-pop-all{padding:.4rem .55rem}#popular-products .lic-pop-heading-icon{width:30px;height:30px;flex-basis:30px}}

/* Popüler kartları — kullanıcı referansındaki sabit en/boy */
#popular-products .lic-pop-viewport{padding:.18rem .08rem .32rem;}
#popular-products .lic-pop-track{gap:10px;}
#popular-products .lic-pop-track .lic-pop-tile{
  flex:0 0 168px!important;
  width:168px!important;
  height:68px!important;
  min-height:68px!important;
  max-height:68px!important;
  box-sizing:border-box!important;
  grid-template-columns:38px minmax(0,1fr) 25px!important;
  grid-template-rows:1fr 1fr!important;
  column-gap:8px!important;
  row-gap:0!important;
  padding:8px 7px!important;
  border-radius:10px!important;
}
#popular-products .lic-pop-logo{width:38px!important;height:38px!important;border-radius:8px!important;font-size:.95rem!important;}
#popular-products .lic-pop-meta b{font-size:.61rem!important;line-height:1.1!important;max-width:88px!important;}
#popular-products .lic-pop-meta small{font-size:.51rem!important;line-height:1.1!important;margin-top:2px!important;}
#popular-products .lic-pop-tile>strong{font-size:.68rem!important;line-height:1!important;}
#popular-products .lic-pop-add{width:25px!important;height:25px!important;border-radius:7px!important;font-size:.68rem!important;align-self:end!important;}
#popular-products .lic-product-badge{right:-2px!important;top:-8px!important;padding:3px 6px!important;font-size:.50rem!important;white-space:nowrap!important;}
@media(max-width:900px){#popular-products .lic-pop-track .lic-pop-tile{flex-basis:168px!important;width:168px!important}}
@media(max-width:560px){#popular-products .lic-pop-track .lic-pop-tile{flex-basis:168px!important;width:168px!important}}

/* Popüler kartları — 190x76 kompakt büyük sürüm */
#popular-products .lic-pop-track{gap:11px!important;}
#popular-products .lic-pop-track .lic-pop-tile{
  flex:0 0 190px!important;
  width:190px!important;
  height:76px!important;
  min-height:76px!important;
  max-height:76px!important;
  grid-template-columns:42px minmax(0,1fr) 28px!important;
  column-gap:9px!important;
  padding:9px 8px!important;
  border-radius:11px!important;
}
#popular-products .lic-pop-logo{width:42px!important;height:42px!important;border-radius:9px!important;font-size:1.04rem!important;}
#popular-products .lic-pop-meta b{font-size:.68rem!important;line-height:1.12!important;max-width:102px!important;}
#popular-products .lic-pop-meta small{font-size:.56rem!important;line-height:1.12!important;margin-top:2px!important;}
#popular-products .lic-pop-tile>strong{font-size:.76rem!important;line-height:1!important;}
#popular-products .lic-pop-add{width:28px!important;height:28px!important;border-radius:8px!important;font-size:.76rem!important;}
#popular-products .lic-product-badge{right:-2px!important;top:-8px!important;padding:3px 7px!important;font-size:.54rem!important;}
@media(max-width:900px){#popular-products .lic-pop-track .lic-pop-tile{flex-basis:190px!important;width:190px!important}}
@media(max-width:560px){#popular-products .lic-pop-track .lic-pop-tile{flex-basis:190px!important;width:190px!important}}

/* Popüler kartları — bir tık daha büyük 205x82 */
#popular-products .lic-pop-track{gap:12px!important;}
#popular-products .lic-pop-track .lic-pop-tile{
  flex:0 0 205px!important;
  width:205px!important;
  height:82px!important;
  min-height:82px!important;
  max-height:82px!important;
  grid-template-columns:45px minmax(0,1fr) 30px!important;
  column-gap:10px!important;
  padding:10px 9px!important;
  border-radius:12px!important;
}
#popular-products .lic-pop-logo{width:45px!important;height:45px!important;border-radius:9px!important;font-size:1.10rem!important;}
#popular-products .lic-pop-meta b{font-size:.72rem!important;line-height:1.12!important;max-width:112px!important;}
#popular-products .lic-pop-meta small{font-size:.59rem!important;line-height:1.12!important;margin-top:2px!important;}
#popular-products .lic-pop-tile>strong{font-size:.80rem!important;line-height:1!important;}
#popular-products .lic-pop-add{width:30px!important;height:30px!important;border-radius:8px!important;font-size:.80rem!important;}
#popular-products .lic-product-badge{right:-2px!important;top:-8px!important;padding:3px 7px!important;font-size:.56rem!important;}
@media(max-width:900px){#popular-products .lic-pop-track .lic-pop-tile{flex-basis:205px!important;width:205px!important}}
@media(max-width:560px){#popular-products .lic-pop-track .lic-pop-tile{flex-basis:205px!important;width:205px!important}}

/* Boş sepet: kompakt Neden Lisansmatik alanı */
.lic-cart-box.is-empty{align-self:stretch;display:flex;flex-direction:column}
.lic-cart-box.is-empty .lic-checkout{margin-top:auto}
.lic-empty-benefits{
  margin-top:14px;
  padding:12px;
  border:1px solid #e1ece5;
  border-radius:14px;
  background:#f8fcf9;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.lic-empty-benefits-title{
  margin:0 0 2px;
  font-size:.68rem;
  line-height:1.2;
  font-weight:700;
  color:#25352b;
}
.lic-empty-benefit{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:9px;
  min-width:0;
  padding:8px;
  border:1px solid #e7efe9;
  border-radius:11px;
  background:#fff;
}
.lic-empty-benefit>i{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#e9f9ee;
  color:#16a34a;
  font-size:.78rem;
}
.lic-empty-benefit>span{display:flex;min-width:0;flex-direction:column;gap:2px}
.lic-empty-benefit b{display:block;font-size:.62rem;line-height:1.25;font-weight:700;color:#26372c;white-space:normal}
.lic-empty-benefit small{display:block;font-size:.52rem;line-height:1.3;color:#84928a;white-space:normal}
@media(max-width:900px){.lic-cart-box.is-empty{align-self:auto}.lic-cart-box.is-empty .lic-checkout{margin-top:12px}}
