/* =====================================================
   SmsPy — Notion/Craft Minimal Light Design System
   Bootstrap FREE — Tamamen custom CSS
   Inter font + CSS Variables + Collapsible Sidebar
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ──────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --bg2:       #f8fafc;
  --bg3:       #f1f5f9;
  --bg4:       #e2e8f0;
  --border:    #e2e8f0;
  --border2:   #cbd5e1;
  --text:      #0f172a;
  --muted:     #64748b;
  --dim:       #f1f5f9;

  --accent:     #6366f1;
  --accent-dim: #eef2ff;
  --accent-brd: #c7d2fe;
  --accent-hov: #4f46e5;

  --green:     #22c55e;
  --green-dim: #f0fdf4;
  --green-brd: #bbf7d0;

  --red:       #ef4444;
  --red-dim:   #fef2f2;
  --red-brd:   #fecaca;

  --amber:     #f59e0b;
  --amber-dim: #fffbeb;
  --amber-brd: #fde68a;

  --sidebar-w:           260px;
  --sidebar-w-collapsed: 64px;
  --topbar-h:            64px;

  --radius:    8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08);

  --transition: 0.2s ease;
}

/* ── Reset & Base ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hov); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; font-size: inherit; }
input, select, textarea, button { font-family: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
p { color: var(--muted); line-height: 1.7; }
strong { font-weight: 600; color: var(--text); }

/* ── App Layout ─────────────────────────────────────── */
.app {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}

/* ── Sidebar ────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 300;
  transition: width var(--transition);
}

.sidebar.collapsed {
  width: var(--sidebar-w-collapsed);
}

/* Sidebar Brand */
.sidebar-brand {
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  height: var(--topbar-h);
  min-height: var(--topbar-h);
  overflow: hidden;
}
.sidebar-brand img {
  max-height: 28px;
  max-width: 140px;
  object-fit: contain;
  flex-shrink: 0;
}
.sidebar-brand-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: opacity var(--transition), width var(--transition);
}
.sidebar.collapsed .sidebar-brand-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
}
.sidebar-collapse-btn {
  margin-left: auto;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition);
}
.sidebar-collapse-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent-brd);
  color: var(--accent);
}
.sidebar.collapsed .sidebar-collapse-btn {
  margin-left: 0;
}

/* Sidebar Nav */
.sidebar-nav {
  padding: 0.75rem 0 1rem;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.nav-section {
  display: block;
  padding: 0.875rem 1.25rem 0.3rem;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  white-space: nowrap;
  opacity: 1;
  transition: opacity var(--transition);
}
.sidebar.collapsed .nav-section {
  opacity: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.nav-item { display: block; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  margin: 0.1rem 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}
.nav-link:hover {
  color: var(--text);
  background: var(--bg3);
}
.nav-item.active .nav-link,
.nav-link.active {
  color: var(--accent);
  background: var(--accent-dim);
  font-weight: 600;
}
.nav-link i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  flex-shrink: 0;
}
.nav-label {
  flex: 1;
  transition: opacity var(--transition), width var(--transition);
  overflow: hidden;
}
.sidebar.collapsed .nav-label {
  opacity: 0;
  width: 0;
}
.sidebar.collapsed .nav-link {
  justify-content: center;
  padding: 0.6rem;
  margin: 0.1rem 0.75rem;
}

/* Collapsed tooltip */
.sidebar.collapsed .nav-link[title]:hover::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--text);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
  white-space: nowrap;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

/* ── Main Area ──────────────────────────────────────── */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg);
  margin-left: 0;
  transition: margin-left var(--transition);
}

/* ── Topbar ─────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  flex-shrink: 0;
  gap: 1rem;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.topbar-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: none;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 15px;
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
}
.topbar-btn:hover {
  color: var(--text);
  background: var(--bg3);
  border-color: var(--border);
}
.sidebar-toggle { display: none; }

/* ── Page Content ───────────────────────────────────── */
.content {
  flex: 1;
  padding: 2rem;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-title i {
  color: var(--accent);
  font-size: 1rem;
}
.page-title small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

/* ── Footer ─────────────────────────────────────────── */
.footer {
  padding: 1rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg2);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

/* ── Cards ──────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 1rem; }
.card-header {
  padding: 1rem 1.25rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-title i { color: var(--accent); font-size: 0.875rem; }
.card-body { padding: 1.25rem; }
.card-footer {
  padding: 0.875rem 1.25rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* ── Stat Cards ─────────────────────────────────────── */
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.stat-card.indigo { border-top: 3px solid var(--accent); }
.stat-card.green  { border-top: 3px solid var(--green); }
.stat-card.red    { border-top: 3px solid var(--red); }
.stat-card.amber  { border-top: 3px solid var(--amber); }

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid var(--accent-brd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.stat-icon.green { background: var(--green-dim); border-color: var(--green-brd); color: var(--green); }
.stat-icon.red   { background: var(--red-dim);   border-color: var(--red-brd);   color: var(--red); }
.stat-icon.amber { background: var(--amber-dim); border-color: var(--amber-brd); color: var(--amber); }

.stat-info { flex: 1; min-width: 0; }
.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
  font-weight: 500;
}
.stat-trend {
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.stat-trend.up   { color: var(--green); }
.stat-trend.down { color: var(--red); }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.btn:disabled, .btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.btn i { font-size: 13px; }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--accent-hov);
  border-color: var(--accent-hov);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg);
  border-color: var(--border2);
  color: var(--muted);
}
.btn-secondary:hover {
  border-color: var(--accent-brd);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-success {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}
.btn-success:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.btn-danger {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}
.btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}
.btn-ghost:hover {
  background: var(--bg3);
  border-color: var(--border2);
  color: var(--text);
}

.btn-sm  { padding: 0.35rem 0.7rem; font-size: 0.78rem; border-radius: 6px; }
.btn-lg  { padding: 0.7rem 1.5rem; font-size: 0.95rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }
.btn-icon { width: 32px; height: 32px; padding: 0; border-radius: var(--radius); }
.btn-icon.btn-sm { width: 28px; height: 28px; }

/* ── Forms ──────────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: 0.6rem 0.875rem;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  background: var(--bg3);
  color: var(--muted);
  cursor: not-allowed;
}
.form-input[readonly],
.form-textarea[readonly] {
  background: var(--bg2);
  color: var(--muted);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }
.form-select option { background: var(--bg); color: var(--text); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint  { font-size: 0.75rem; color: var(--muted); margin-top: 0.3rem; }
.form-error { font-size: 0.75rem; color: var(--red); margin-top: 0.3rem; font-weight: 500; }

.input-group { position: relative; }
.input-group .form-input { padding-left: 2.5rem; }
.input-group-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 13px;
  pointer-events: none;
}

/* ── Tables (Custom — DataTables Yok) ──────────────── */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  gap: 0.75rem;
  flex-wrap: wrap;
  background: var(--bg2);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.table-search {
  position: relative;
  min-width: 220px;
}
.table-search input {
  width: 100%;
  padding: 0.45rem 0.875rem 0.45rem 2.25rem;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.82rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.table-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.table-search input::placeholder { color: var(--muted); }
.table-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 12px;
  pointer-events: none;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.data-table thead {
  background: var(--bg2);
}
.data-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
  font-size: 0.875rem;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr {
  transition: background var(--transition);
}
.data-table tbody tr:hover td {
  background: var(--bg2);
}
.data-table tbody tr:nth-child(even) td {
  background: var(--bg2);
}
.data-table tbody tr:nth-child(even):hover td {
  background: var(--bg3);
}
.table-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── Badges ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2em 0.55em;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge-primary   { background: var(--accent-dim); color: var(--accent);  border-color: var(--accent-brd); }
.badge-success   { background: var(--green-dim);  color: var(--green);   border-color: var(--green-brd); }
.badge-danger    { background: var(--red-dim);    color: var(--red);     border-color: var(--red-brd); }
.badge-warning   { background: var(--amber-dim);  color: var(--amber);   border-color: var(--amber-brd); }
.badge-secondary { background: var(--bg3);        color: var(--muted);   border-color: var(--border2); }
.badge-info      { background: #eff6ff; color: #3b82f6; border-color: #bfdbfe; }

/* ── Alerts ─────────────────────────────────────────── */
.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  border-left-width: 3px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.alert i { flex-shrink: 0; margin-top: 0.1rem; }
.alert-success { background: var(--green-dim); border-color: var(--green-brd); border-left-color: var(--green); color: #15803d; }
.alert-danger  { background: var(--red-dim);   border-color: var(--red-brd);   border-left-color: var(--red);   color: #dc2626; }
.alert-warning { background: var(--amber-dim); border-color: var(--amber-brd); border-left-color: var(--amber); color: #d97706; }
.alert-info    { background: #eff6ff;           border-color: #bfdbfe;          border-left-color: #3b82f6;       color: #2563eb; }

/* ── Modals ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

/* Legacy alias */
.modal-backdrop { }
.modal-backdrop.open .modal-dialog { transform: translateY(0) scale(1); }
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal-backdrop.open { opacity: 1; visibility: visible; }

.modal-box,
.modal-dialog {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.04);
  transform: translateY(8px) scale(0.98);
  transition: transform var(--transition);
}
.modal-overlay.open .modal-box,
.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}
.modal-box.modal-sm, .modal-dialog.modal-sm { max-width: 380px; }
.modal-box.modal-lg, .modal-dialog.modal-lg { max-width: 720px; }
.modal-box.modal-xl, .modal-dialog.modal-xl { max-width: 960px; }

.modal-header {
  padding: 1rem 1.25rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  flex-shrink: 0;
}
.modal-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.modal-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  transition: all var(--transition);
  flex-shrink: 0;
  cursor: pointer;
}
.modal-close:hover {
  color: var(--text);
  background: var(--bg3);
}
.modal-body { padding: 1.25rem; }
.modal-footer {
  padding: 0.875rem 1.25rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ── Dropdowns ──────────────────────────────────────── */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 200px;
  padding: 0.35rem 0;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,0,0,0.04);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.15s;
  pointer-events: none;
}
.dropdown-menu-lg { min-width: 280px; }
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  transition: all 0.12s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.dropdown-item:hover {
  color: var(--text);
  background: var(--bg2);
}
.dropdown-item i {
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  font-size: 13px;
}
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.3rem 0;
}
.dropdown-header {
  padding: 0.5rem 1rem 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ── Tabs ───────────────────────────────────────────── */
.tabs { display: flex; flex-direction: column; }
.tab-list {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.tab-btn:hover {
  color: var(--text);
  background: var(--bg2);
}
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.tab-content { padding-top: 1.25rem; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Avatar & Notification dot ─────────────────────── */
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--accent-dim);
  border: 1.5px solid var(--accent-brd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.notification-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  background: var(--red);
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--bg);
  line-height: 1;
}

/* ── Auth Pages ─────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e8edf5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

/* Legacy alias */
.auth-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-logo img { max-height: 40px; margin: 0 auto; }
.auth-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.auth-logo-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.auth-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.3rem;
}
.auth-subtitle {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}
.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.auth-footer a { color: var(--accent); font-weight: 500; }
.auth-footer a:hover { color: var(--accent-hov); }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

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

.flex         { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-end     { display: flex; align-items: center; justify-content: flex-end; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-col     { display: flex; flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.5rem; }
.gap-6 { gap: 2rem; }

.w-full  { width: 100%; }
.h-full  { height: 100%; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.p-0     { padding: 0 !important; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.5rem; }
.mt-6 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.5rem; }
.p-6 { padding: 2rem; }

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-left    { text-align: left; }
.text-accent  { color: var(--accent) !important; }
.text-success { color: var(--green) !important; }
.text-danger  { color: var(--red) !important; }
.text-warning { color: var(--amber) !important; }
.text-muted   { color: var(--muted) !important; }
.text-sm      { font-size: 0.82rem; }
.text-xs      { font-size: 0.72rem; }
.font-bold    { font-weight: 700; }
.font-medium  { font-weight: 500; }
.font-semibold { font-weight: 600; }

.hidden      { display: none !important; }
.invisible   { visibility: hidden; }
.truncate    { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.divider     { height: 1px; background: var(--border); margin: 1rem 0; }
.sr-only     { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.overflow-auto { overflow: auto; }
.rounded      { border-radius: var(--radius); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 9999px; }
.shadow       { box-shadow: var(--shadow); }
.border-box   { border: 1px solid var(--border); }

/* ── Sidebar Overlay (mobile/tablet) ─────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 299;
}

/* ── Social icons ───────────────────────────────────── */
.icon-whatsapp { color: #25D366; }
.icon-telegram { color: #0088cc; }

/* ── Misc Components ────────────────────────────────── */
.breaking-news {
  background: var(--accent-dim);
  border: 1px solid var(--accent-brd);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.sortable { cursor: grab; }
.sortable:active { cursor: grabbing; }
.hizmet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── Vue Transitions ────────────────────────────────── */
.fade-enter-active, .fade-leave-active { transition: opacity 0.3s; }
.fade-enter, .fade-leave-to { opacity: 0; }

/* ── SweetAlert2 Overrides ──────────────────────────── */
.swal2-popup {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  color: var(--text) !important;
  box-shadow: var(--shadow-lg) !important;
  font-family: 'Inter', sans-serif !important;
}
.swal2-title { color: var(--text) !important; font-size: 1.1rem !important; font-weight: 600 !important; }
.swal2-html-container { color: var(--muted) !important; }
.swal2-confirm {
  background-color: var(--accent) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: var(--radius) !important;
}
.swal2-confirm:hover { background-color: var(--accent-hov) !important; }
.swal2-cancel {
  background: var(--bg3) !important;
  border: 1px solid var(--border2) !important;
  color: var(--text) !important;
  border-radius: var(--radius) !important;
}
.swal2-icon.swal2-warning { border-color: var(--amber) !important; color: var(--amber) !important; }
.swal2-icon.swal2-error   { border-color: var(--red)   !important; color: var(--red)   !important; }
.swal2-icon.swal2-success  { border-color: var(--green) !important; color: var(--green) !important; }

/* ── iziToast Overrides ─────────────────────────────── */
.iziToast {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-family: 'Inter', sans-serif !important;
  box-shadow: var(--shadow-md) !important;
}
.iziToast-title   { color: var(--text) !important; font-weight: 600 !important; }
.iziToast-message { color: var(--muted) !important; }
.iziToast.iziToast-color-green { border-left: 3px solid var(--green) !important; }
.iziToast.iziToast-color-red   { border-left: 3px solid var(--red) !important; }

/* ── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar       { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-brd); }

/* ============================================================
   SMS.CSS — Numara seçim ve SMS sayfası stilleri (merged)
   ============================================================ */

/* ── Uygulama Dropdown ──────────────────────────────── */
.app-select-wrap { position: relative; }

.app-select-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text);
  min-height: 42px;
  user-select: none;
  transition: border-color var(--transition);
}
.app-select-box:hover { border-color: var(--accent-brd); }
.app-placeholder { color: var(--muted); font-size: 14px; }
.app-selected-text { font-weight: 600; font-size: 14px; color: var(--text); }
.app-arrow { color: var(--muted); font-size: 12px; }

.app-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  max-height: 280px;
  display: flex;
  flex-direction: column;
}
.app-dropdown-search {
  padding: 8px;
  border-bottom: 1px solid var(--border);
}
.app-search-input {
  background: var(--bg2) !important;
  border: 1px solid var(--border2) !important;
  color: var(--text) !important;
  border-radius: var(--radius) !important;
}
.app-search-input::placeholder { color: var(--muted) !important; }
.app-search-input:focus {
  border-color: var(--accent-brd) !important;
  box-shadow: none !important;
  outline: none !important;
}
.app-dropdown-list { overflow-y: auto; flex: 1; }
.app-dropdown-item {
  padding: 9px 12px;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.app-dropdown-item:last-child { border-bottom: none; }
.app-dropdown-item:hover { background: var(--accent-dim); color: var(--text); }
.app-item-active { background: var(--accent-dim) !important; color: var(--accent) !important; font-weight: 600; }
.app-dropdown-empty { padding: 16px 12px; color: var(--muted); text-align: center; font-size: 13px; }

/* ── Ülke Listesi ───────────────────────────────────── */
.country-list-compact {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  background: var(--bg);
}
.country-compact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 11px;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.country-compact-item:last-child { border-bottom: none; }
.country-compact-item:hover { background: var(--accent-dim); color: var(--text); }
.country-item-active { background: var(--accent-dim) !important; color: var(--accent) !important; font-weight: 600; }
.country-item-empty { opacity: 0.35; cursor: not-allowed; }
.country-item-name { flex: 1; }
.country-item-price { font-weight: 700; color: var(--green); font-size: 12px; white-space: nowrap; margin-left: 8px; }

/* ── Timer Badge ────────────────────────────────────── */
.timer-badge {
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 5px 10px;
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
}
.timer-expired {
  background: var(--red-dim);
  border-color: var(--red-brd);
  color: var(--red);
}

/* ── Numara Hücresi ─────────────────────────────────── */
.number-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.phone-number-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.phone-number {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--text);
}
.message-text {
  flex: 1;
  white-space: normal;
  font-size: 0.875rem;
  line-height: 1.3;
}

/* ── Kopyala ikonu ──────────────────────────────────── */
.small-copy {
  cursor: pointer;
  font-size: 13px;
  opacity: 0.5;
  color: var(--accent);
  transition: opacity var(--transition), transform var(--transition);
}
.small-copy:hover { opacity: 1; transform: scale(1.15); }

/* ── SMS Geçmişi Butonu ─────────────────────────────── */
button.sms-history-btn {
  background: var(--bg2);
  color: var(--muted);
  border: 1px solid var(--border2);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}
button.sms-history-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent-brd);
  color: var(--accent);
}

/* ── Satın Al Butonu ────────────────────────────────── */
.buy-number-btn {
  background: var(--green) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  transition: opacity var(--transition), transform var(--transition) !important;
}
.buy-number-btn:hover:not(:disabled) {
  opacity: 0.88;
  transform: translateY(-1px);
}
.buy-number-btn:disabled {
  background: var(--bg3) !important;
  color: var(--muted) !important;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Spinner ────────────────────────────────────────── */
.custom-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent-brd);
  border-radius: 50%;
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Bildirim Overlay ───────────────────────────────── */
.notification-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: var(--bg);
  border: 1px solid var(--green-brd);
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
  max-width: 380px;
}
.notification-overlay.show { transform: translateX(0); }
.notification-icon { font-size: 22px; color: var(--green); flex-shrink: 0; }
.notification-content { flex: 1; }
.notification-title { font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.notification-message { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* ── Kopyala Bildirimi ──────────────────────────────── */
.copy-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9998;
  background: var(--bg);
  border: 1px solid var(--accent-brd);
  border-left: 4px solid var(--accent);
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: translateX(120%);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}
.copy-notification.show { transform: translateX(0); }
.copy-notification .notification-icon { color: var(--accent); font-size: 18px; }

/* ── Animasyonlar ───────────────────────────────────── */
@keyframes flash {
  0%, 100% { background: var(--green-dim); }
  50%       { background: var(--accent-dim); }
}
.flash-animate { animation: flash 0.7s ease-in-out 5; }

@keyframes pulse {
  0%, 100% { background: transparent; }
  50%       { background: var(--accent-dim); }
}
.pulse-row td { animation: pulse 2s infinite; }

@keyframes highlight-flash {
  0%, 100% { background: transparent; }
  30%       { background: var(--green-dim); }
  60%       { background: var(--accent-dim); }
}
.highlight-row td { animation: highlight-flash 1.5s ease-in-out; }

/* ── Fiyat / Stok Inputları ─────────────────────────── */
.price-input, .stock-input {
  background: var(--bg2) !important;
  border-color: var(--border) !important;
  color: var(--muted) !important;
  cursor: default;
}

/* ── Mesaj Hücresi ──────────────────────────────────── */
.message-cell { max-width: 420px; }
.message-cell .badge { width: 100%; }

/* ── Responsive ─────────────────────────────────────── */

/* Tablet — 992px */
@media (max-width: 992px) {
  .sidebar {
    position: fixed;
    left: calc(-1 * var(--sidebar-w));
    top: 0;
    bottom: 0;
    z-index: 1000;
    transition: left var(--transition);
  }
  .sidebar.open { left: 0; }
  .sidebar.open ~ .sidebar-overlay,
  .sidebar-overlay.show { display: block; }
  .sidebar-toggle { display: flex !important; }
  .main { margin-left: 0 !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile — 768px */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .topbar { padding: 0 1rem; }
  .content { padding: 1rem; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .auth-card, .auth-box { padding: 1.75rem 1.25rem; }
  .modal-box, .modal-dialog { margin: 0.5rem; max-width: calc(100vw - 1rem); }
  .footer { flex-direction: column; text-align: center; gap: 0.5rem; }
}

/* Small Mobile — 480px */
@media (max-width: 480px) {
  .stat-card { flex-direction: column; }
  .btn-lg { padding: 0.65rem 1.25rem; font-size: 0.9rem; }
  .table-toolbar { flex-direction: column; align-items: stretch; }
  .table-search { min-width: 0; }
}

/* Servis Kataloğu — Panel Anasayfa */

/* Grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 750px)  { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .svc-grid { grid-template-columns: 1fr; } }

/* Kart */
.svc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .9rem 1.1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .85rem;
  cursor: pointer;
  transition: border-color .18s, box-shadow .2s, transform .18s;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  user-select: none;
  height: 100px;
  overflow: hidden;
}
.svc-card:hover {
  border-color: var(--accent-brd);
  box-shadow: inset 3px 0 0 var(--accent), 0 6px 20px rgba(99,102,241,.1);
  transform: translateY(-1px);
}
.svc-card:active {
  transform: scale(.985);
  box-shadow: inset 3px 0 0 var(--accent);
}

/* Kart ikonu */
.svc-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-dim) 0%, rgba(99,102,241,.06) 100%);
  border: 1px solid var(--accent-brd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
  transition: transform .18s;
}
.svc-card:hover .svc-card-icon { transform: scale(1.08); }
.svc-card-icon.letter {
  font-size: .95rem;
  font-weight: 800;
  color: var(--accent);
}

/* Kart sağ tarafı */
.svc-card-body {
  flex: 1;
  min-width: 0;
}

/* Kart adı */
.svc-card-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: .3rem;
}

/* Kart meta (fiyat + stok) */
.svc-card-meta {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.svc-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber, #f59e0b);
  letter-spacing: -.01em;
}
.svc-stock-badge {
  display: inline-flex;
  align-items: center;
  padding: .15rem .45rem;
  border-radius: 99px;
  font-size: .65rem;
  font-weight: 700;
  line-height: 1.4;
  border: 1px solid transparent;
  white-space: nowrap;
}
.svc-stock-badge.stock-high { background: rgba(34,197,94,.1);  color: #16a34a; border-color: rgba(34,197,94,.22); }
.svc-stock-badge.stock-mid  { background: rgba(245,158,11,.1); color: #d97706; border-color: rgba(245,158,11,.22); }
.svc-stock-badge.stock-low  { background: rgba(239,68,68,.1);  color: #dc2626; border-color: rgba(239,68,68,.22); }
.svc-stock-badge.stock-zero { background: var(--bg2); color: var(--muted); border-color: var(--border); }

/* Sağlayıcı chip */
.svc-provider-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .55rem;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg2);
  font-size: .69rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .12s;
  user-select: none;
  white-space: nowrap;
}
.svc-provider-chip:hover,
.svc-provider-chip.active {
  border-color: var(--accent-brd);
  background: var(--accent-dim);
  color: var(--accent);
}
.svc-provider-chip:hover { transform: translateY(-1px); }

/* Adet stepper */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: .5rem 0;
}
.qty-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  min-width: 2rem;
  text-align: center;
}

/* Fiyat breakdown */
.price-breakdown {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .75rem;
  font-size: .875rem;
  color: var(--muted);
}
.price-breakdown strong {
  font-size: 1.05rem;
  color: var(--amber);
  font-weight: 700;
}

/* Satın alma sonuç listesi */
.buy-result-list {
  margin-top: .75rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  max-height: 160px;
  overflow-y: auto;
}
.buy-result-item {
  padding: .5rem .75rem;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.buy-result-item.success {
  background: var(--green-dim);
  border: 1px solid var(--green-brd);
  color: #15803d;
}
.buy-result-item.error {
  background: var(--red-dim);
  border: 1px solid var(--red-brd);
  color: #dc2626;
}

/* Katalog arama */
.catalog-search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.catalog-search-wrap .form-input {
  padding-left: 2.25rem;
  font-size: .85rem;
}
.catalog-search-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: .75rem;
  pointer-events: none;
}

/* Skeleton shimmer */
.svc-skeleton {
  background: linear-gradient(90deg, var(--bg3) 25%, var(--bg2) 50%, var(--bg3) 75%);
  background-size: 200% 100%;
  animation: svc-shimmer 1.4s infinite;
  border-radius: var(--radius-lg);
  height: 110px;
}
@keyframes svc-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
