/* ============================================================
   MAIN.CSS — Global Design System
   Modern Business Management UI
   ============================================================ */

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

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --primary:        #4f46e5;
  --primary-hover:  #4338ca;
  --primary-light:  #eef2ff;
  --secondary:      #06b6d4;
  --success:        #10b981;
  --success-light:  #d1fae5;
  --warning:        #f59e0b;
  --warning-light:  #fef3c7;
  --danger:         #ef4444;
  --danger-light:   #fee2e2;

  --bg:             #f1f5f9;
  --surface:        #ffffff;
  --surface-2:      #f8fafc;
  --border:         #e2e8f0;
  --border-focus:   #4f46e5;

  --text-primary:   #0f172a;
  --text-body:      #334155;
  --text-muted:     #64748b;
  --text-subtle:    #94a3b8;

  --header-bg:      #1e1b4b;
  --header-accent:  #4f46e5;
  --header-text:    #c7d2fe;
  --header-text-active: #ffffff;
  --header-height:  60px;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 50px;

  --shadow-xs:  0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.05);

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── Site Header ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--header-bg);
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 20px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  gap: 8px;
}

.header-logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  transition: background var(--transition);
  flex-shrink: 0;
}
.header-logo:hover { background: var(--primary-hover); }

/* ── Navigation ─────────────────────────────────────────────── */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--header-text);
  font-size: 13px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-item:hover > .nav-link {
  background: rgba(255,255,255,0.1);
  color: var(--header-text-active);
}
.nav-link-icon {
  display: inline-block;
  font-size: 10px;
  opacity: 0.6;
  transition: transform var(--transition);
}
.nav-item:hover > .nav-link .nav-link-icon {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 200;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 13px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  color: var(--header-text);
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.07);
}
.header-user-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.header-logout {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(239,68,68,0.25);
  transition: background var(--transition), color var(--transition);
}
.header-logout:hover {
  background: rgba(239,68,68,0.3);
  color: #fff;
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  margin-left: auto;
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.2); }

/* ── Page Wrapper (content below header) ────────────────────── */
.page-wrapper {
  padding-top: calc(var(--header-height) + 24px);
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 40px;
  min-height: 100vh;
  animation: fade-up 0.35s ease both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Card ────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.card-body { padding: 20px 24px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 3px rgba(79,70,229,0.3);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(79,70,229,0.35);
}

.btn-success {
  background: var(--success);
  color: #fff;
  box-shadow: 0 1px 3px rgba(16,185,129,0.3);
}
.btn-success:hover {
  background: #059669;
  box-shadow: 0 4px 12px rgba(16,185,129,0.35);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 1px 3px rgba(239,68,68,0.3);
}
.btn-danger:hover {
  background: #dc2626;
  box-shadow: 0 4px 12px rgba(239,68,68,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-body);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--surface-2);
  border-color: var(--text-muted);
}

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

.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: var(--radius-sm); }
.btn-lg { padding: 12px 28px; font-size: 16px; }
.btn-full { width: 100%; }

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ── Form Elements ───────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
}

.form-control {
  width: 100%;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.form-control::placeholder { color: var(--text-subtle); }

textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { cursor: pointer; }

/* Number input – hide spinners */
input[type="number"].form-control::-webkit-inner-spin-button,
input[type="number"].form-control::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"].form-control { -moz-appearance: textfield; }

/* ── Table ───────────────────────────────────────────────────── */
.table-wrap { width: 100%; overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 13px;
}
.data-table thead th {
  padding: 11px 14px;
  background: var(--surface-2);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  text-align: left;
}
.data-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr {
  cursor: pointer;
  transition: background var(--transition);
}
.data-table tbody tr:hover td { background: var(--primary-light); }

.data-table tfoot td {
  padding: 11px 14px;
  background: var(--surface-2);
  font-weight: 600;
  border-top: 2px solid var(--border);
  font-size: 13px;
}

/* ── Badge ───────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.badge-blue    { background: #dbeafe; color: #1d4ed8; }
.badge-green   { background: var(--success-light); color: #065f46; }
.badge-yellow  { background: var(--warning-light); color: #92400e; }
.badge-red     { background: var(--danger-light); color: #991b1b; }
.badge-gray    { background: #f1f5f9; color: var(--text-muted); }
.badge-indigo  { background: var(--primary-light); color: var(--primary); }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  border: 1px solid var(--border);
  color: var(--text-body);
  background: var(--surface);
  text-decoration: none;
}
.pagination a:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination span { color: var(--text-subtle); border-color: transparent; background: transparent; }

/* ── Alert / Toast ───────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  border-left: 3px solid;
}
.alert-success { background: var(--success-light); color: #065f46; border-color: var(--success); }
.alert-danger   { background: var(--danger-light);  color: #991b1b; border-color: var(--danger); }
.alert-warning  { background: var(--warning-light); color: #92400e; border-color: var(--warning); }
.alert-info     { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

/* ── Page Header (title row) ─────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.page-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ── Stat Cards (dashboard) ──────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
  animation: fade-up 0.4s ease both;
}
.stat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.stat-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.stat-card-body { min-width: 0; }
.stat-card-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 2px; }
.stat-card-value { font-size: 18px; font-weight: 700; color: var(--text-primary); }

/* Icon color variants */
.icon-indigo  { background: var(--primary-light); color: var(--primary); }
.icon-green   { background: var(--success-light); color: var(--success); }
.icon-yellow  { background: var(--warning-light); color: var(--warning); }
.icon-red     { background: var(--danger-light);  color: var(--danger); }
.icon-cyan    { background: #cffafe; color: #0891b2; }

/* Staggered card animation */
.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.10s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.20s; }
.stat-card:nth-child(5) { animation-delay: 0.25s; }
.stat-card:nth-child(6) { animation-delay: 0.30s; }
.stat-card:nth-child(7) { animation-delay: 0.35s; }
.stat-card:nth-child(8) { animation-delay: 0.40s; }
.stat-card:nth-child(9) { animation-delay: 0.45s; }
.stat-card:nth-child(10){ animation-delay: 0.50s; }

/* ── Search bar ──────────────────────────────────────────────── */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  max-width: 320px;
}
.search-bar:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.search-bar input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  width: 100%;
}
.search-bar input::placeholder { color: var(--text-subtle); }
.search-bar-icon { color: var(--text-subtle); font-size: 14px; flex-shrink: 0; }

/* ── Filter Pills ────────────────────────────────────────────── */
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Autocomplete ────────────────────────────────────────────── */
.autocomplete-container { position: relative; }
.autocomplete-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 220px;
  overflow-y: auto;
  z-index: 500;
}
.autocomplete-item {
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-body);
  transition: background var(--transition);
}
.autocomplete-item:hover,
.autocomplete-item.highlight,
.autocomplete-item.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* ── Product row (satis_ekle) ────────────────────────────────── */
.product-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
  animation: fade-up 0.25s ease both;
}
.product-row:hover { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(79,70,229,0.08); }

.product-row .form-control { margin-bottom: 0; }

.product-row .urun-input { flex: 1; min-width: 0; }
.product-row .miktar-input { width: 70px; text-align: center; }
.product-row .fiyat-input  { width: 90px; text-align: right; }
.product-row .item-total {
  min-width: 75px;
  text-align: right;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}
.product-row .remove-row {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--danger-light);
  color: var(--danger);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.product-row .remove-row:hover { background: var(--danger); color: #fff; transform: scale(1.1); }

/* ── Totals bar ──────────────────────────────────────────────── */
.totals-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 12px 0;
}
.totals-bar .total-item { font-size: 14px; color: var(--text-muted); }
.totals-bar .total-item strong { color: var(--text-primary); font-size: 16px; margin-left: 6px; }
.totals-bar .total-price strong { color: var(--primary); font-size: 18px; }

/* ── Focused input overlay (satis_ekle) ──────────────────────── */
.overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
}
.focused-input-container {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width: 90%;
  max-width: 460px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 20px;
  animation: pop-in 0.2s ease both;
  will-change: transform, opacity;
}
@keyframes pop-in {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.focused-input {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  color: var(--text-primary);
  background: var(--surface);
}

/* ── Back button ─────────────────────────────────────────────── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
}
.back-btn:hover { background: var(--surface-2); border-color: var(--text-muted); }

/* ── Date range form ─────────────────────────────────────────── */
.date-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.date-filter label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.date-filter input[type="date"] {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: inherit;
  background: var(--surface);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
}
.date-filter input[type="date"]:focus { border-color: var(--primary); }

/* ── Responsive: Mobile ──────────────────────────────────────── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--header-bg);
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg);
    animation: slide-down 0.2s ease;
    justify-content: flex-start;
    z-index: 999;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  @keyframes slide-down {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .header-nav.open .nav-list {
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }
  .header-nav.open .nav-item { width: 100%; }
  .header-nav.open .nav-link { width: 100%; padding: 10px 14px; font-size: 14px; }
  .header-nav.open .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    margin-top: 4px;
    padding: 4px;
  }
  .header-nav.open .nav-item:hover .nav-dropdown { display: block; }
  .header-nav.open .dropdown-item { color: var(--header-text); }
  .header-nav.open .dropdown-item:hover { background: rgba(255,255,255,0.1); color: #fff; }

  .mobile-menu-btn { display: flex; align-items: center; }
  .header-right { display: none; }
  .header-user { display: none; }

  .page-wrapper { padding: calc(var(--header-height) + 16px) 14px 32px; }

  .page-header { flex-direction: column; align-items: flex-start; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .product-row { flex-wrap: wrap; }
  .product-row .urun-input { width: 100%; }
  .product-row .miktar-input { width: 60px; }
  .product-row .fiyat-input  { width: 80px; }

  .totals-bar { flex-direction: column; align-items: flex-end; gap: 6px; }
  .data-table thead th, .data-table tbody td { font-size: 11px; padding: 8px 10px; }

  .date-filter { flex-direction: column; align-items: flex-start; }
  .filter-pills { gap: 4px; }
  .filter-pill { font-size: 11px; padding: 4px 10px; }
}

@media (max-width: 480px) {
  .search-bar { max-width: 100%; }
  .filter-pill { font-size: 10px; padding: 3px 8px; }
}
