/* =========================================================
   Gaudau.lt – map seasonal empty-state CTA focus ring
   Visible keyboard focus style for the "Pridėti pirmąjį
   laimikį" CTA link inside the map seasonal calendar empty
   state.

   Matches the map toolbar focus treatment (bright green
   outline plus a soft halo) so every interactive control in
   the map section has a consistent, clearly distinguishable
   focus indicator on both themes.
   ========================================================= */

.map-seasonal-empty-cta:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-color: var(--green);
  background-color: var(--green);
  color: #0b1418;
  box-shadow: 0 0 0 4px var(--green-soft);
}

[data-theme="light"] .map-seasonal-empty-cta:focus-visible {
  outline-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

/* Fallback focus ring for browsers that do not support :focus-visible.
   Uses :focus so keyboard users on older engines still see a clear
   indicator on the seasonal empty-state CTA. The :focus-visible rule
   above takes precedence in modern browsers. */
.map-seasonal-empty-cta:focus {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-color: var(--green);
  background-color: var(--green);
  color: #0b1418;
  box-shadow: 0 0 0 4px var(--green-soft);
}

[data-theme="light"] .map-seasonal-empty-cta:focus {
  outline-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

/* Suppress the fallback ring for mouse users in browsers that support
   :focus-visible, so the ring only appears for keyboard navigation. */
.map-seasonal-empty-cta:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .map-seasonal-empty-cta:focus-visible,
  .map-seasonal-empty-cta:focus {
    transition: none;
  }
}
