/* Vollflächiges Overlay */
#schul-preloader-cc {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #000000; /* wird per JS überschrieben */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

/* Fade-Out */
.schul-preloader-cc-hide {
  opacity: 0;
}

/* Inhalt innerhalb des Overlays */
.schul-preloader-cc-inner {
  text-align: center;
  padding: 1.5rem;
  max-width: 90%;
}

/* Logo – Breite wird per Inline-CSS gesetzt */
.schul-preloader-cc-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

/* Spruch-Text – Schriftgröße wird per Inline-CSS gesetzt */
.schul-preloader-cc-text {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* Container für den Button */
.schul-preloader-cc-controls {
  margin-top: 0.75rem;
}

/* Pause/Play-Button – immer kreisrund, standardmäßig ohne Schatten */
.schul-preloader-cc-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.6); /* wird per Inline-CSS überschrieben */
  color: #ffffff; /* theoretisch für Text-Symbol, bei PNG aber egal */
  transition: transform 0.15s ease;
}

.schul-preloader-cc-btn:hover {
  transform: scale(1.05);
}

.schul-preloader-cc-btn:active {
  transform: scale(0.97);
}

/* PNG-Icons im Button */
.schul-preloader-cc-icon {
  display: block;
  max-width: 60%;
  max-height: 60%;
}

/* Shortcode-Spruch – bei Bedarf weiter ausgestalten */
.schul-preloader-cc-shortcode-spruch {
  /* einfache Basisformatierung */
}

/* Scrollen verhindern, solange der Preloader aktiv ist */
html.schul-preloader-active,
body.schul-preloader-active {
  overflow: hidden !important;
}
