/* 固定ヘッダー: 来店カウンター左のベル＋バッジ */
.site-header-alert-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  color: #495057;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-header-alert-bell ion-icon {
  font-size: 22px;
  pointer-events: none;
}

.site-header-alert-bell:hover,
.site-header-alert-bell:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: #212529;
}

.site-header-alert-bell__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

/* ダッシュボード: アラート一覧 */
.site-store-alerts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.site-store-alert {
  display: block;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  word-break: break-word;
}

.site-store-alert--warning {
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
}

.site-store-alert--danger {
  background: #fee2e2;
  border: 1px solid #ef4444;
  color: #b91c1c;
}

.site-store-alert:hover,
.site-store-alert:focus-visible {
  filter: brightness(0.97);
}

.site-store-alerts__heading {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #343a40;
}

/* スマホ: 統計 dl は非表示のまま、ベルだけヘッダーに出す */
@media (max-width: 1800px) {
  #site-main #site-header #site-header-stats.site-header-stats-bar:has(.site-header-alert-bell) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
  }

  #site-main #site-header #site-header-stats.site-header-stats-bar:has(.site-header-alert-bell) > .string-icon {
    display: none !important;
  }
}
