/* 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; }

/* Compact offer on phones (ruling 2026-11-06). Above 480 px the toggle does not
   exist and every rule above applies unchanged. */
.alert-offer__toggle, .alert-offer__toggle-input, .alert-offer__bell { display: none; }
@media (max-width: 480px) {
  .alert-offer { margin: var(--space-xs) 0; padding: 2px var(--space-sm); }
  .alert-offer__toggle-input { display: block; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .alert-offer__toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 44px; cursor: pointer; }
  .alert-offer__toggle-text { min-width: 0; font-size: 0.875rem; line-height: 1.25; color: var(--text-primary); }
  .alert-offer__toggle-btn { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-sm); border-radius: 6px; }
  .alert-offer__toggle-input:focus-visible + .alert-offer__toggle { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
  .alert-offer__toggle-input:not(:checked) ~ .alert-offer__form { display: none; }
  .alert-offer__toggle-input:checked + .alert-offer__toggle { display: none; }
  .alert-offer__toggle-input:checked ~ .alert-offer__form { padding: var(--space-xs) 0; }
  .alert-offer--one-click .alert-offer__form { flex-wrap: nowrap; justify-content: space-between; }
  .alert-offer--one-click .alert-offer__label { display: none; }
  .alert-offer--one-click .alert-offer__bell { display: inline; }
  .alert-offer--one-click .alert-offer__title { font-size: 0.95rem; }
  .alert-offer--one-click .alert-offer__btn { flex: 0 0 auto; }
}
.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; }

/* „Ar vis dar ieškote darbo?" on the matches page (2026-11-10). */
.search-pulse { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-sm); align-items: center; margin: 0 0 var(--space-md); padding: var(--space-sm) var(--space-md); border: 1px solid var(--border-light); border-radius: 8px; background: var(--bg-elevated); }
.search-pulse__q { flex: 1 1 100%; font-weight: 600; }
.search-pulse .btn { min-height: 44px; }
.search-pulse--done { display: block; color: var(--text-secondary); }

/* Day-one value (2026-11-10): the registration start offer and the empty-matches form. */
.signup-start { margin: 0 0 var(--space-md); padding: var(--space-sm) var(--space-md); border: 1px solid var(--border-light); border-radius: 8px; background: var(--bg-elevated); display: flex; flex-direction: column; gap: var(--space-xs); overflow-wrap: anywhere; }
.quick-start { display: flex; flex-direction: column; gap: var(--space-sm); margin: 0 0 var(--space-md); }
.quick-start__fields { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.quick-start__field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 14rem; min-width: 0; font-weight: 600; }
.quick-start__field .form-input { width: 100%; min-height: 44px; font-weight: 400; }
.quick-start .btn-accent { align-self: flex-start; min-height: 44px; }
.quick-start__cv, .quick-start__missing { margin-top: var(--space-md); }

/* Jobs-search fallback notice (2026-11-10). */
.search-fallback-note { margin: 0 0 var(--space-md); padding: var(--space-sm) var(--space-md); border-left: 3px solid var(--accent); background: var(--bg-elevated); color: var(--text-secondary); font-size: 0.9375rem; overflow-wrap: anywhere; }

/* Closed-ad next step (2026-11-16). jobs.html shows its empty state only when no closed-ad block
   is rendered (template condition since 2026-11-18). */
.closed-ad-next { margin: 0 0 1.25rem; padding: 0.875rem 1rem; border: 1px solid var(--border-light);
    border-radius: 2px; background: var(--bg-elevated); }
.closed-ad-next__notice { margin: 0 0 0.5rem; font-size: 1.0625rem; }
.closed-ad-next__heading { margin: 0.75rem 0 0.25rem; font-size: 0.9375rem; }
.closed-ad-next__list { list-style: none; margin: 0; padding: 0; }
.closed-ad-next__list li { padding: 0.4rem 0; border-top: 1px solid var(--border-light); overflow-wrap: anywhere; }
.closed-ad-next__meta { font-size: 0.8125rem; color: var(--text-secondary); }
.closed-ad-next__more { margin: 0.5rem 0 0; font-size: 0.875rem; }
