#stockAlertsPanel { display: grid; gap: 20px; }
.alert-card, .alert-notice { background: #fff; border: 1px solid #d5e3e8; border-radius: 12px; padding: 24px; }
.alert-card h3 { margin-top: 0; }
.alert-card p, .alert-notice p { line-height: 1.6; }
.alert-notice { background: #edf7f5; border-left: 5px solid #087f78; }
.alert-notice.warning { background: #fff8e6; border-left-color: #bc7810; }
.alert-notice.error { background: #fff0f0; border-left-color: #bb3434; }
.alert-sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 20px 0; }
.alert-sites fieldset { min-width: 0; border: 1px solid #ccdce4; border-radius: 8px; padding: 18px; }
.alert-sites legend { padding: 0 8px; font-weight: 700; }
.alert-sites label { display: grid; gap: 8px; margin-bottom: 16px; }
.alert-sites .alert-switch { display: flex; align-items: center; gap: 10px; }
.alert-switch input { width: 20px; height: 20px; }
.alert-sites textarea { width: 100%; box-sizing: border-box; resize: vertical; }
.alert-help, .alert-sites fieldset p { color: #536d7a; font-size: 13px; }
.alert-filters { display: flex; gap: 16px; margin: 18px 0; flex-wrap: wrap; }
.alert-filters label { display: grid; gap: 8px; min-width: 200px; flex: 1; }
.alerts-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.alerts-table th, .alerts-table td { padding: 13px 10px; text-align: left; border-bottom: 1px solid #dce7ec; }
.alerts-table th { background: #edf4f7; color: #183047; white-space: nowrap; }
.alerts-table small { display: block; color: #617380; margin-top: 5px; }
.alert-stock { color: #ae411e; }
.alert-queue { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.alert-queue span { background: #edf4f7; border-radius: 20px; padding: 8px 12px; font-size: 13px; }
.alert-result { display: inline-block; border-radius: 5px; padding: 4px 8px; background: #edf4f7; }
.alert-result.sent { background: #e1f4e9; color: #185b38; }
.alert-result.uncertain, .alert-result.failed { background: #fff0df; color: #8c4813; }
.alert-card details { margin-top: 18px; }
@media (max-width: 760px) { .alert-sites { grid-template-columns: 1fr; } .alert-card, .alert-notice { padding: 16px; } }
