/* ULAK — Çağrı Sistemleri */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --brand-primary: #e85d04;
  --brand-primary-hover: #d15403;
  --brand-accent: #00b4e6;
  --brand-blue: #2563eb;
  --brand-secondary: #1e293b;
  --surface: #f2f4f7;
  --surface-dark: #0d1b2a;
  --card-dark: #141c28;
  --card-dark-elevated: #1e293b;
  --success: #2d6a4f;
  --warning: #e85d04;
  --danger: #ef4444;
  --text: #212529;
  --text-muted: #6c757d;
  --text-inverse: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

/* ——— Müşteri QR ——— */
.qr-body {
  background: #fff;
}

.qr-page {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 20px 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  position: relative;
}

.qr-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.qr-restaurant-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
}

.qr-restaurant-placeholder {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-accent));
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.qr-footer {
  margin-top: auto;
  padding: 20px 0 8px;
  text-align: center;
  border-top: 1px solid #e9ecef;
}

.qr-footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 6px;
}

.qr-footer-brand {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-secondary);
}

.qr-footer-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.call-ico-emoji {
  font-size: 1rem;
  line-height: 1;
  font-weight: normal;
}

.btn-panel-sm {
  padding: 6px 10px;
  font-size: 0.8rem;
}

.btn-panel-muted {
  background: #495057;
}

.qr-info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.qr-info-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #e9ecef;
  color: var(--brand-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.qr-survey {
  margin-top: 20px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: var(--radius);
  text-align: center;
}

.qr-survey-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.qr-survey-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.qr-star {
  font-size: 1.75rem;
  background: none;
  border: none;
  color: #dee2e6;
  cursor: pointer;
}

.qr-star:hover,
.qr-star:disabled {
  color: #f59e0b;
}

.qr-header {
  text-align: center;
  margin-bottom: 28px;
}

.qr-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.qr-logo {
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-accent));
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.qr-brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-accent);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.qr-header h1 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.qr-table-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.qr-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 20px;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  width: 100%;
}

.btn-call:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-call:not(:disabled):active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow);
}

.btn-primary:hover:not(:disabled) {
  background: var(--brand-primary-hover);
}

.btn-call-ico {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.btn-secondary {
  background: var(--brand-blue);
  color: var(--text-inverse);
}

.btn-secondary:hover:not(:disabled) {
  background: #1d4ed8;
}

.btn-outline {
  background: transparent;
  color: var(--brand-secondary);
  border: 2px solid var(--brand-secondary);
}

.qr-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.qr-extra .btn-call {
  min-height: 48px;
  font-size: 0.85rem;
  background: #e9ecef;
  color: var(--brand-secondary);
}

.qr-toast {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.qr-toast.show { display: block; }

.qr-toast.success {
  background: #d8f3dc;
  color: var(--success);
}

.qr-toast.error {
  background: #ffdad6;
  color: var(--danger);
}

.qr-toast.warning {
  background: #fff3cd;
  color: #856404;
}

.qr-success-banner {
  position: fixed;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  padding: 16px 20px;
  background: #d8f3dc;
  color: var(--success);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border-top: 1px solid #b7e4c7;
  box-shadow: 0 -4px 20px rgba(45, 106, 79, 0.12);
  z-index: 100;
}

.qr-success-banner[hidden] {
  display: none !important;
}

/* ——— Panel (ops / login) ——— */
.panel-dark {
  background: var(--surface-dark);
  min-height: 100vh;
  color: var(--text-inverse);
}

.panel-layout {
  display: flex;
  min-height: 100vh;
}

.panel-sidebar {
  width: 240px;
  background: var(--card-dark-elevated);
  padding: 24px 16px;
  flex-shrink: 0;
  border-right: 1px solid #2d3748;
}

.panel-sidebar .brand-wrap {
  margin-bottom: 28px;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.panel-brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 6px 20px rgba(0, 180, 230, 0.25);
}

.panel-sidebar .brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
}

.panel-sidebar .brand-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 4px;
}

.panel-nav a {
  display: block;
  padding: 12px 16px;
  color: #adb5bd;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 4px;
  font-weight: 500;
}

.panel-nav a:hover,
.panel-nav a.active {
  background: rgba(0, 180, 230, 0.15);
  color: var(--text-inverse);
  border-left: 4px solid var(--brand-primary);
  padding-left: 12px;
}

.panel-main {
  flex: 1;
  padding: 24px 28px;
  overflow: auto;
}

.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.panel-topbar h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45, 106, 79, 0.3);
  color: #95d5b2;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-live::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #52b788;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ops-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.ops-filter-sep {
  width: 1px;
  height: 24px;
  background: #495057;
  margin: 0 4px;
}

.chip {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #495057;
  background: transparent;
  color: #ced4da;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.chip.active,
.chip:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
}

.ops-table-wrap {
  background: var(--card-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ops-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.ops-table th,
.ops-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
  border: none;
}

.ops-table thead th {
  border-bottom: 1px solid #2d3748;
}

.ops-table tbody td {
  border-bottom: 1px solid #2d3748;
}

.ops-table tbody tr:last-child td {
  border-bottom: none;
}

.ops-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #adb5bd;
  font-weight: 600;
}

.ops-table tr.row-new {
  background: rgba(232, 93, 4, 0.12);
  animation: flash 2s ease;
}

@keyframes flash {
  0% { background: rgba(232, 93, 4, 0.35); }
  100% { background: rgba(232, 93, 4, 0.12); }
}

.ops-empty {
  color: #6c757d;
  text-align: center;
  padding: 32px !important;
}

.col-idx {
  color: #6c757d;
  font-size: 0.85rem;
  width: 40px;
}

.col-wait {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 0.95rem;
}

.col-table {
  font-weight: 600;
}

.col-action {
  width: 48px;
  text-align: right;
}

.wait-danger { color: #ff6b6b !important; }
.wait-warn { color: var(--warning) !important; }

/* Tip ikonları — turuncu kutu + harf (G=garson, H=hesap, A=araba…) */
.call-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 102, 0, 0.22);
  color: var(--brand-primary);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

.status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-live {
  background: rgba(45, 106, 79, 0.35);
  color: #95d5b2;
}

.status-ack {
  background: rgba(255, 102, 0, 0.25);
  color: #ffb366;
}

.ack-name {
  display: block;
  font-size: 0.75rem;
  color: #adb5bd;
  margin-top: 4px;
  font-weight: 400;
  text-transform: none;
}

.type-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 102, 0, 0.25);
  color: #ffb366;
}

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-dark) 0%, var(--card-dark) 100%);
  padding: 20px;
}

.login-card {
  background: var(--card-dark-elevated);
  color: var(--text-inverse);
  padding: 40px 36px;
  border-radius: var(--radius);
  border: 1px solid #2d3748;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 400px;
}

.login-logo-img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  box-shadow: 0 8px 24px rgba(0, 180, 230, 0.3);
}

.login-card h1,
.login-card .login-brand {
  text-align: center;
  color: var(--brand-accent);
  margin-bottom: 4px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.login-card .login-tagline {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.login-card .subtitle {
  text-align: center;
  color: #adb5bd;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.login-card label {
  color: #ced4da;
}

.login-card input {
  background: var(--surface-dark);
  border: 1px solid #2d3748;
  color: var(--text-inverse);
}

.login-card input:focus {
  border-color: var(--brand-primary);
  outline: none;
}

.panel-nav .nav-ico {
  margin-right: 8px;
  opacity: 0.9;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--brand-secondary);
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 0;
  border-color: transparent;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--brand-primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--brand-primary-hover);
}

.login-error {
  background: #ffdad6;
  color: var(--danger);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  display: none;
}

.login-error.show { display: block; }

/* Panel U2 — masalar, saatler */
.panel-card {
  background: var(--card-dark);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 16px;
}

.panel-card h2 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.panel-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.panel-form .form-group {
  margin-bottom: 14px;
}

.panel-form label {
  display: block;
  font-size: 0.85rem;
  color: #adb5bd;
  margin-bottom: 6px;
}

.panel-form input,
.panel-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #495057;
  background: #0d1b2a;
  color: #fff;
  font-family: inherit;
}

.btn-panel {
  padding: 10px 18px;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn-panel:hover {
  background: var(--brand-primary-hover);
}

.panel-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.panel-alert.ok {
  background: rgba(45, 106, 79, 0.35);
  color: #95d5b2;
}

.panel-alert.err {
  background: rgba(208, 0, 0, 0.25);
  color: #ffadad;
}

.muted {
  color: #adb5bd;
  font-size: 0.9rem;
}

.qr-cell {
  min-width: 200px;
}

.qr-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.qr-link-open {
  color: #74c0fc;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.qr-link-open:hover {
  text-decoration: underline;
}

.qr-preview-host {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  overflow: visible;
  line-height: 0;
}

.qr-preview-host img {
  display: block !important;
  width: 260px !important;
  height: 260px !important;
}

.qr-preview-host canvas {
  display: none !important;
}

.qr-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.qr-preview-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.qr-preview-modal[hidden] {
  display: none !important;
}

.qr-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.75);
  backdrop-filter: blur(4px);
}

.qr-preview-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px 22px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.qr-preview-title {
  font-size: 1.15rem;
  color: var(--brand-secondary);
  margin-bottom: 16px;
}

.qr-preview-img {
  width: 280px;
  height: 280px;
  max-width: 100%;
  margin: 0 auto 12px;
  display: block;
  border-radius: 8px;
}

.qr-preview-link {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  word-break: break-all;
  margin-bottom: 18px;
}

.qr-preview-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #868e96;
}

.qr-preview-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge-ok {
  color: #95d5b2;
  font-weight: 600;
}

.badge-off {
  color: #868e96;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}

.inline-form {
  display: inline-flex;
  margin: 0;
  vertical-align: middle;
}

.btn-chip {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #495057;
  background: transparent;
  color: #ced4da;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-chip:hover {
  border-color: var(--brand-primary);
  color: #fff;
}

.activation-box {
  margin-top: 20px;
  padding: 20px;
  background: #0d1b2a;
  border-radius: 12px;
  text-align: center;
  border: 2px dashed var(--brand-primary);
}

.activation-code {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
}

.install-steps {
  padding-left: 1.2rem;
  color: #ced4da;
}

.install-steps li {
  margin-bottom: 8px;
}

.btn-close-call {
  padding: 6px 12px;
  background: #495057;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-close-call:hover {
  background: var(--danger);
}

/* ——— Garson modal & toast ——— */
.garson-modal-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.garson-modal-root.is-open {
  pointer-events: auto;
  opacity: 1;
}

.garson-modal-root[hidden] {
  display: none !important;
}

body.garson-modal-open {
  overflow: hidden;
}

.garson-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.72);
  backdrop-filter: blur(4px);
}

.garson-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px 22px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}

.garson-modal-root.is-open .garson-modal {
  transform: translateY(0) scale(1);
}

.panel-dark .garson-modal {
  background: var(--card-dark);
  color: var(--text-inverse);
  border: 1px solid #2d3748;
}

.garson-modal-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.garson-modal-icon.is-success {
  background: rgba(45, 106, 79, 0.2);
  color: #2d6a4f;
}

.garson-modal-icon.is-error {
  background: rgba(208, 0, 0, 0.15);
  color: var(--danger);
}

.garson-modal-icon.is-warning {
  background: rgba(244, 162, 97, 0.25);
  color: #e85d04;
}

.garson-modal-icon.is-info {
  background: rgba(27, 38, 59, 0.12);
  color: var(--brand-secondary);
}

.panel-dark .garson-modal-icon.is-info {
  background: rgba(232, 93, 4, 0.2);
  color: var(--brand-primary);
}

.garson-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin-bottom: 10px;
}

.panel-dark .garson-modal-title {
  color: var(--text-inverse);
}

.garson-modal-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 22px;
}

.panel-dark .garson-modal-body {
  color: #adb5bd;
}

.garson-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.garson-modal-btn {
  min-width: 110px;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.garson-modal-btn:active {
  transform: scale(0.98);
}

.garson-modal-btn-primary {
  background: var(--brand-primary);
  color: #fff;
}

.garson-modal-btn-primary:hover {
  background: var(--brand-primary-hover);
}

.garson-modal-btn-secondary {
  background: #e9ecef;
  color: var(--brand-secondary);
}

.panel-dark .garson-modal-btn-secondary {
  background: #2d3748;
  color: #ced4da;
}

.panel-dark .garson-modal-btn-secondary:hover {
  background: #495057;
}

.garson-toast-stack {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.garson-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  border-left: 4px solid var(--brand-secondary);
}

.garson-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.garson-toast.is-success {
  border-left-color: var(--success);
}

.garson-toast.is-error {
  border-left-color: var(--danger);
}

.garson-toast.is-warning {
  border-left-color: var(--warning);
}

.garson-toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.garson-toast.is-success .garson-toast-icon {
  background: rgba(45, 106, 79, 0.15);
  color: var(--success);
}

.garson-toast.is-error .garson-toast-icon {
  background: rgba(208, 0, 0, 0.12);
  color: var(--danger);
}

.garson-toast.is-warning .garson-toast-icon {
  background: rgba(244, 162, 97, 0.3);
  color: #b45309;
}

.garson-toast-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brand-secondary);
  line-height: 1.4;
}

/* ——— PC ekranı (ULAK Notify web) ——— */
.desk-screen {
  margin: 0;
  min-height: 100vh;
  background: #0d1b2a;
  color: #f8f9fa;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.desk-header {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: #1b263b;
  border-bottom: 1px solid #2d3748;
}

.desk-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desk-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.desk-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}

.desk-screen {
  background: var(--surface-dark);
}

.desk-restaurant {
  color: #adb5bd;
  font-size: 1rem;
}

.desk-clock {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-size: 1.1rem;
  color: #ced4da;
}

.desk-link {
  color: #f4a261;
  text-decoration: none;
  font-size: 0.9rem;
}

.desk-link:hover {
  text-decoration: underline;
}

.desk-main {
  padding: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

.desk-empty {
  text-align: center;
  color: #6c757d;
  font-size: 1.25rem;
  padding: 80px 20px;
}

.desk-empty[hidden],
.desk-grid[hidden] {
  display: none !important;
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.desk-card {
  background: #1b263b;
  border: 2px solid #2d3748;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.desk-card-new {
  animation: desk-flash 2s ease;
  border-color: var(--brand-primary);
}

.desk-card-warn {
  border-color: #f4a261;
}

.desk-card-danger {
  border-color: #e63946;
  background: rgba(230, 57, 70, 0.08);
}

@keyframes desk-flash {
  0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
  50% { box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.45); }
}

.desk-card-wait {
  font-size: 2.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #95d5b2;
  line-height: 1;
}

.desk-card-danger .desk-card-wait {
  color: #ff6b6b;
}

.desk-card-table {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.desk-card-type {
  font-size: 1.15rem;
  color: var(--brand-primary);
  margin: 0;
  font-weight: 600;
}

.desk-card-meta {
  margin: 0;
  color: #adb5bd;
  font-size: 0.95rem;
}

.desk-card-ack {
  margin: 0;
  color: #95d5b2;
  font-size: 0.9rem;
}

.desk-card-close {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.desk-card-close:hover {
  filter: brightness(1.08);
}

.desk-card-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.desk-notify-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--brand-primary);
  background: rgba(255, 102, 0, 0.15);
  color: var(--brand-primary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.desk-notify-btn:hover:not(:disabled) {
  background: var(--brand-primary);
  color: #fff;
}

/* ——— Günlük rapor ——— */
.report-date {
  margin: -12px 0 20px;
  font-size: 0.95rem;
}

.report-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.report-stat-card {
  background: var(--card-dark-elevated);
  border: 1px solid #2d3748;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-stat-highlight .report-stat-value {
  color: var(--brand-primary);
}

.report-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #adb5bd;
}

.report-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.report-chart-card h2 {
  margin-bottom: 20px;
  font-size: 1rem;
}

.report-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 160px;
  padding-top: 8px;
}

.report-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-width: 0;
}

.report-bar {
  width: 100%;
  max-width: 28px;
  margin-top: auto;
  background: linear-gradient(180deg, var(--brand-primary), #cc5200);
  border-radius: 4px 4px 0 0;
  min-height: 2px;
}

.report-bar-label {
  font-size: 0.65rem;
  color: #6c757d;
  margin-top: 6px;
}

.floor-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.floor-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}

.floor-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-accent);
}
