/* Price-drop alerts (js/price-alerts.js), shared by the price pages, the deal network (/) and /find.
   Self-contained colours so it looks the same on all three stylesheets. The buttons and tips stay hidden
   until the script has confirmed alerts are switched on (<html data-alerts="on">), and a button also needs
   a price (data-price) to compare against. */
.alert-btn, .alert-tip { display: none; }
html[data-alerts="on"] .alert-btn[data-price] { display: inline-flex; }
html[data-alerts="on"] .alert-tip { display: block; }

.alert-btn {
  align-items: center; gap: 4px; margin: 6px 0 0; padding: 3px 10px; cursor: pointer;
  font: 600 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #36e3ff; background: rgba(54, 227, 255, .08); border: 1px solid rgba(54, 227, 255, .3); border-radius: 999px;
}
.alert-btn:hover, .alert-btn:focus-visible { background: rgba(54, 227, 255, .18); }
.alert-tip { margin: 10px 0; padding: 8px 12px; font-size: 13.5px; color: #c9cff0; background: rgba(54, 227, 255, .06); border: 1px solid rgba(54, 227, 255, .22); border-radius: 10px; }
.alert-tip strong { color: #36e3ff; }

.alert-dialog { max-width: 420px; width: calc(100% - 32px); padding: 22px; color: #eef0ff; background: #0b0e22; border: 1px solid rgba(150, 165, 255, .28); border-radius: 14px; font-family: inherit; }
.alert-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.alert-dialog h2 { margin: 0 0 6px; font-size: 20px; }
.alert-form label { display: block; margin: 12px 0 0; font-size: 14px; color: #8d95bf; }
.alert-form input { display: block; box-sizing: border-box; width: 100%; margin-top: 4px; padding: 9px 10px; font: inherit; color: #eef0ff; background: #04050d; border: 1px solid rgba(150, 165, 255, .28); border-radius: 8px; }
.alert-money { display: flex; align-items: center; gap: 6px; color: #eef0ff; }
.alert-money input { margin-top: 0; }
.alert-hp { position: absolute; left: -9999px; }
.alert-small { font-size: 12px; color: #8d95bf; }
.alert-small a { color: #36e3ff; }
.alert-msg { min-height: 1.2em; font-size: 14px; color: #2effa2; }
.alert-actions { display: flex; gap: 10px; }
.alert-actions button { padding: 9px 16px; font-family: inherit; font-weight: 600; font-size: 14px; border-radius: 8px; cursor: pointer; border: 1px solid rgba(150, 165, 255, .28); color: #eef0ff; background: transparent; }
.alert-actions .alert-send { background: #8a6bff; border-color: #8a6bff; color: #fff; }
.alert-actions .alert-send:disabled { opacity: .5; cursor: default; }
