:root {
  --bg: #081224;
  --card: #101b31;
  --text: #e8f0ff;
  --muted: #9db2d1;
  --primary: #1ea7fd;
  --danger: #ff5f5f;
  --border: rgba(129, 160, 210, 0.28);
  --shadow: 0 10px 30px rgba(2, 12, 31, 0.35);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--text);
  line-height: 1.45;
}

body,
body * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

input,
textarea,
select,
option,
[contenteditable="true"],
[contenteditable="plaintext-only"] {
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
}

h1,
h2,
h3 {
  letter-spacing: 0.2px;
}

a,
button,
input,
select,
textarea {
  font-family: inherit;
}

button,
.btn,
.small-btn,
.nav-btn,
input[type="submit"],
input[type="button"],
a.btn,
a.nav-btn,
a.small-btn {
  min-height: 44px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

button:hover,
.btn:hover,
.small-btn:hover,
.nav-btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
a.btn:hover,
a.nav-btn:hover,
a.small-btn:hover {
  transform: translateY(-1px);
}

button:active,
.btn:active,
.small-btn:active,
.nav-btn:active,
input[type="submit"]:active,
input[type="button"]:active,
a.btn:active,
a.nav-btn:active,
a.small-btn:active {
  transform: translateY(0);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-link:focus-visible,
.category-tab:focus-visible,
.masa-card:focus-visible,
.product-card:focus-visible {
  outline: 2px solid #8fe6ff;
  outline-offset: 2px;
}

button[disabled],
input[disabled],
.btn[disabled],
button.disabled,
.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.1);
}

button.is-loading,
input.is-loading {
  position: relative;
}

button.is-loading::after,
input.is-loading::after {
  content: " Yukleniyor...";
  font-size: 0.82em;
  opacity: 0.92;
}

.card,
.siparis-satir,
.product-card,
.masa-card,
.summary-card,
.welcome-card,
.modal-content,
.sa-card {
  box-shadow: var(--shadow);
  border-radius: 12px;
}

.top-section {
  position: sticky;
  top: 0;
}

.header,
.header-bar,
.cart-header,
.page-header,
.sa-header {
  backdrop-filter: blur(8px);
}

.category-tabs-wrapper {
  scroll-snap-type: x proximity;
}

.category-tab {
  min-height: 44px;
  padding-inline: 14px;
  scroll-snap-align: start;
}

.products-grid {
  gap: 12px;
}

.product-card {
  min-height: 132px;
  padding: 14px;
}

.product-name {
  line-height: 1.3;
}

.sticky-cart {
  border-top: 1px solid var(--border);
}

.cart-actions {
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(8, 18, 36, 0), rgba(8, 18, 36, 0.96) 28%);
  padding-top: 10px;
}

.cart-actions .btn {
  min-height: 46px;
  font-weight: 700;
}

.masa-card {
  min-height: 110px;
}

.masa-ad {
  font-weight: 700;
}

.table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(15, 23, 42, 0.95);
}

table tbody tr:nth-child(odd) td,
.table tbody tr:nth-child(odd) td {
  background: rgba(148, 163, 184, 0.05);
}

table tbody tr:nth-child(even) td,
.table tbody tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.2);
}

.error,
.alert-danger,
.danger,
.hata {
  border-radius: 10px;
}

@media (max-width: 960px) {
  .container,
  #raporlarPage {
    padding-inline: 12px;
  }

  .nav-link,
  .btn,
  .small-btn,
  .category-tab,
  .masa-card,
  .product-card {
    font-size: 0.96rem;
  }
}

@media (max-width: 640px) {
  .nav-buttons,
  .header-actions,
  .row-actions,
  .cart-actions {
    gap: 10px;
  }

  .btn,
  button,
  input[type="submit"] {
    min-height: 46px;
    font-weight: 700;
  }
}
