/* 烧烤摊记账系统 · 蓝白主题 */
:root {
  --bbq-blue: #0d6efd;
  --bbq-light: #eef4ff;
}

.bbq-body {
  background: var(--bbq-light);
  min-height: 100vh;
}

.bbq-nav {
  box-shadow: 0 2px 8px rgba(13, 110, 253, .25);
}

/* 卡片统一样式 */
.bbq-card {
  border: none;
  border-radius: .75rem;
  box-shadow: 0 1px 6px rgba(13, 110, 253, .12);
}

.bbq-card .card-header {
  background: #fff;
  border-bottom: 1px solid #e7eefb;
  border-radius: .75rem .75rem 0 0 !important;
  font-weight: 600;
}

.login-card {
  border: none;
  border-radius: 1rem;
}

/* 点餐大按钮 */
.dish-btn {
  position: relative;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe7fb;
  border-radius: .75rem;
  background: #fff;
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}

/* 已选数量角标 */
.dish-qty {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: .72rem;
}

/* 分类大标题 */
.category-title {
  font-size: 1.08rem;
  letter-spacing: .03em;
}

.dish-btn:active {
  transform: scale(.96);
}

.dish-btn .dish-name {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1f2d3d;
}

.dish-btn .dish-price {
  font-size: .85rem;
  color: #e67e22;
}

/* 售罄置灰 */
.dish-btn.dish-out {
  opacity: .55;
  filter: grayscale(.7);
  cursor: not-allowed;
}

/* 购物车 */
.cart-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 0;
}

.qty-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* 首页订单卡片 */
.order-card {
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
  border: 1px solid #e2ebfb;
}

.order-card:active {
  transform: scale(.97);
}

.order-card.order-active {
  border: 2px solid var(--bbq-blue);
}

/* 表格微调 */
.table th {
  white-space: nowrap;
}

.table td {
  vertical-align: middle;
}

.badge-orders {
  font-size: .78rem;
}

/* 首页统计卡 */
.stat-card .stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bbq-blue);
}

.stat-card .stat-label {
  color: #6c757d;
  font-size: .85rem;
}
