/* Eigene Ergänzungen zu Tailwind */

.experience-track::before
{
  background-color: #c6c6cd;
  position: absolute;
  content: '';
  width: 1px;
  bottom: 0;
  left: 0;
  top: 0;
}

.experience-dot
{
  background-color: #000000;
  border-radius: 50%;
  left: -4.5px;
  height: 10px;
  width: 10px;
}

.carousel-item
{
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0;
  left: 0;
  top: 0;
}

.carousel-item.active
{
  position: relative;
  opacity: 1;
  z-index: 10;
}

/* Sichtbarer Tastatur-Fokus */
:focus-visible
{
  outline: 2px solid #0058be;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce)
{
  *,
  *::before,
  *::after
  {
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .carousel-item
  {
    transition: none;
  }
}

/* Popup der Stellen-Karte im Backend */
.map-popup
{
  font-family: 'Work Sans', sans-serif;
  line-height: 20px;
  font-size: 14px;
  color: #45464d;
}

.map-popup strong
{
  margin-bottom: 2px;
  color: #191c1e;
  display: block;
  font-size: 15px;
}

.map-actions
{
  display: flex;
  margin-top: 10px;
  gap: 8px;
}

.map-actions a
{
  border: 1px solid #c6c6cd;
  text-decoration: none;
  border-radius: 4px;
  padding: 6px 12px;
  color: #191c1e;
  font-size: 12px;
  font-weight: 600;
}

.map-actions a.primary
{
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

/* Kartenmarker im Backend */
.job-marker-wrap
{
  background: transparent;
  height: auto !important;
  width: auto !important;
  border: 0;
}

.job-marker
{
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-family: 'Work Sans', sans-serif;
  transform: translate(-50%, -100%);
  background-color: #0058be;
  align-items: center;
  display: inline-flex;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  position: absolute;
  line-height: 16px;
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
  left: 0;
  top: 0;
}

.job-marker::after
{
  transform: translateX(-50%) rotate(45deg);
  background-color: inherit;
  border-radius: 1px;
  position: absolute;
  content: '';
  bottom: -4px;
  height: 9px;
  width: 9px;
  left: 50%;
}

.job-marker--beworben
{
  background-color: #12894a;
}

.job-marker--uninteressant
{
  background-color: #5a5c60;
}

.job-marker-wrap:hover
{
  z-index: 1000 !important;
}

.leaflet-popup-content-wrapper
{
  border-radius: 8px;
}

.leaflet-container
{
  font-family: 'Work Sans', sans-serif;
}

/* Ortsfilter: kein blauer Rahmen beim Öffnen */
#city-select:focus,
#city-select:focus-visible
{
  border-color: #76777d;
  box-shadow: none;
  outline: none;
}

/* Cluster der Stellen-Karte */
.job-cluster-wrap
{
  background: transparent;
  height: auto !important;
  width: auto !important;
  border: 0;
}

.job-cluster
{
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-family: 'Work Sans', sans-serif;
  transform: translate(-50%, -50%);
  border: 2px solid #ffffff;
  background-color: #191c1e;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  position: absolute;
  display: inline-flex;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  height: 36px;
  min-width: 36px;
  padding: 0 6px;
  left: 0;
  top: 0;
}

.job-cluster--mittel
{
  min-width: 42px;
  font-size: 14px;
  height: 42px;
}

.job-cluster--gross
{
  min-width: 50px;
  font-size: 15px;
  height: 50px;
}

.job-cluster-wrap:hover .job-cluster
{
  background-color: #0058be;
}
