:root {
  --st-bg: #f6f7fb;
  --st-sidebar: #151923;
  --st-accent: #0d6efd;
}

body {
  min-height: 100vh;
  background: var(--st-bg);
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.12);
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  background: var(--st-sidebar);
  color: #fff;
  min-height: 100vh;
}

.sidebar a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
}

.sidebar a:hover,
.sidebar a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.content-wrap {
  padding: 24px;
}

.stat-card,
.panel-card,
.food-card {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.food-card {
  cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease;
}

.food-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.food-img {
  height: 116px;
  object-fit: cover;
  background: #e9ecef;
  border-radius: 16px 16px 0 0;
}

.cart-sticky {
  position: sticky;
  top: 16px;
}

.table td,
.table th {
  vertical-align: middle;
}

@media (max-width: 767px) {
  .sidebar {
    min-height: auto;
  }
  .content-wrap {
    padding: 14px;
  }
  .cart-sticky {
    position: static;
  }
}
.object-fit-cover { object-fit: cover; }
.sidebar a { display:block; }
.table td, .table th { vertical-align: middle; }

/* Stolovka toast notifications */
.stolovka-toast {
  min-width: 320px;
  max-width: min(420px, calc(100vw - 24px));
  border: 0;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}
.stolovka-toast .toast-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.stolovka-toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}
.stolovka-toast-success .stolovka-toast-icon { background: #d1e7dd; color: #0f5132; }
.stolovka-toast-danger .stolovka-toast-icon { background: #f8d7da; color: #842029; }
.stolovka-toast-warning .stolovka-toast-icon { background: #fff3cd; color: #664d03; }
.stolovka-toast-info .stolovka-toast-icon { background: #cff4fc; color: #055160; }
