/* Saved-search alerts, company follows, share (2026-11-05).
   Its own file so dashboard.css — whose version token is pinned in gated
   templates — does not change. Uses only tokens defined in dashboard.css. */

.alert-offer { margin: var(--space-md) 0; padding: var(--space-md); border: 1px solid var(--border-light); border-radius: 8px; background: var(--bg-elevated); }
.alert-offer__form { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); }
.alert-offer__text { display: flex; flex-direction: column; flex: 1 1 16rem; min-width: 0; }
.alert-offer__title { font-family: var(--font-heading); font-size: 1rem; color: var(--text-primary); }
.alert-offer__label { color: var(--text-secondary); overflow-wrap: anywhere; }
.alert-offer__fields { display: flex; flex-wrap: wrap; gap: var(--space-sm); flex: 1 1 18rem; min-width: 0; }
.alert-offer__email { flex: 1 1 12rem; min-width: 0; min-height: 44px; padding: 0 var(--space-sm); border: 1px solid var(--border-medium); border-radius: 6px; font: inherit; }
.alert-offer__btn { min-height: 44px; white-space: normal; }
.alert-offer__note { flex-basis: 100%; font-size: 0.85rem; color: var(--text-tertiary); }
.alert-offer__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert-offer--done { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); align-items: center; }
.alert-offer--company { margin-top: 0; }
.alert-page__message { margin: var(--space-md) 0; }
.alert-page__hint { color: var(--text-secondary); font-size: 0.9rem; }

.alerts-list__items { list-style: none; padding: 0; margin: var(--space-sm) 0 0; }
.alerts-list__item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm) 0; border-bottom: 1px solid var(--border-light); }
.alerts-list__item--paused .alerts-list__what { color: var(--text-tertiary); }
.alerts-list__what { min-width: 0; overflow-wrap: anywhere; }
.alerts-list__kind { display: inline-block; margin-right: var(--space-xs); font-size: 0.75rem; text-transform: uppercase; color: var(--text-tertiary); }
.alerts-list__paused { margin-left: var(--space-xs); font-size: 0.8rem; color: var(--text-tertiary); }
.alerts-list__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; }
.alerts-list__actions select { min-height: 36px; }
.alerts-list__btn { min-height: 36px; padding: 0 var(--space-sm); border: 1px solid var(--border-medium); border-radius: 6px; background: var(--bg-elevated); font: inherit; cursor: pointer; }
.alerts-list__btn--delete { color: var(--negative); }

.share-action { position: relative; display: inline-flex; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--text-secondary); font: inherit; font-size: 1.05rem; cursor: pointer; }
.share-btn:hover, .share-btn:focus-visible { color: var(--accent-dark); }
.share-menu { position: absolute; right: 0; top: 100%; z-index: 30; display: flex; flex-direction: column; min-width: 11rem; padding: var(--space-xs) 0; border: 1px solid var(--border-medium); border-radius: 8px; background: var(--bg-elevated); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }
.share-menu a, .share-menu button { display: block; min-height: 40px; padding: var(--space-sm) var(--space-md); border: 0; background: none; color: var(--text-primary); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover, .share-menu a:focus-visible, .share-menu button:focus-visible { background: var(--bg-secondary); }
.share-menu__done { padding: var(--space-sm) var(--space-md); color: var(--positive); }
.listing-save { display: inline-flex; align-items: center; gap: 0; }
/* In a table's save column the share button sits under the save link, so the
   column keeps its width (company listings table panned 21 px at 1280). */
td.col-save .share-action { display: flex; }
