/* ==== INDICATORS COMPONENT ==== */
/* Video, link, exam, and course indicators on modules */

/* Container for top-right icon indicators */
.indicators-container {
  position: absolute;
  top: 2px;
  right: 2px;
  display: flex;
  flex-direction: row-reverse;
  gap: 2px;
  z-index: var(--z-indicator);
}

/* ==== BOTTOM BUTTON BAR (Prüfung + Spick) ==== */
.module-btns {
  display: flex;
  gap: 4px;
  width: 100%;
  padding: 0 4px 4px;
  box-sizing: border-box;
}

.exam-btn,
.zsf-btn {
  flex: 1;
  min-height: 20px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s;
  padding: 2px 3px;
}

.exam-btn:hover,
.zsf-btn:hover {
  background: rgba(255, 255, 255, 0.38);
}

/* Base Indicator Style */
.video-indicator,
.link-indicator,
.exam-indicator,
.zsf-indicator,
.script-indicator,
.kurslink-indicator {
  width: var(--indicator-size);
  height: var(--indicator-size);
  background-color: var(--indicator-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: help;
  opacity: 0.8;
  border: 1px solid var(--color-border);
}

/* Clickable link indicators */
a.exam-indicator,
a.zsf-indicator,
a.video-indicator,
a.script-indicator,
a.link-indicator,
a.kurslink-indicator {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

/* Hover Effects */
.video-indicator:hover,
.link-indicator:hover,
.exam-indicator:hover,
.zsf-indicator:hover,
.script-indicator:hover,
.kurslink-indicator:hover {
  opacity: 1;
}

/* ==== SMALL MODULE INDICATORS ==== */

.modul.small-module .indicators-container {
  gap: 1px;
}

.modul.small-module .video-indicator,
.modul.small-module .link-indicator,
.modul.small-module .exam-indicator,
.modul.small-module .zsf-indicator,
.modul.small-module .script-indicator,
.modul.small-module .kurslink-indicator {
  width: var(--indicator-size-small);
  height: var(--indicator-size-small);
  font-size: 9px;
}
