@import "https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap";

:root {
  --light-brown: rgba(51, 22, 22, 0);
  --dark-brown: rgba(0, 173, 55, 0.45);
  --hover-brown: rgba(255, 255, 255, 0.61);
  --olive-green: rgba(140, 164, 123, 0.9);
  --batch-green: #c8e6c9;
  --dark-red: rgba(150, 17, 64, 0.89);
  --hover-red: #790d16;
  --hover-green: #a7df89;
  --pale-green: #e8f5e9;
  --transparent-beige: rgba(33, 33, 22, 0.55);
  --light-beige: #efebe9;
  --subtle-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  --creamy-ivory: #ffffff;
  --shadow-dark: 0 4px 8px rgba(0, 0, 0, 0.2);
  --muted-leather: #a98c8d;
  --soft-gold: #ffd54f;
  --rich-velvet: #6a1b9a;
  --harmonious-blue: rgb(154, 78, 78);
  --harmonious-purple: #ba68c8;
  --harmonious-green: #64a868;
  --harmonious-yellow: rgba(0, 74, 170, 0.84);
}

@keyframes gradientBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* --------------------------------------------------------------------------
   Loading Overlay  – NUR Blur-Zeilen hinzugefügt
   ------------------------------------------------------------------------*/
#loadingOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease, backdrop-filter 0.5s ease;
  z-index: 10;
  font-size: 1.5rem;

  /* ▼ einzig neue Zeilen für durchgängigen Blur ▼ */
  backdrop-filter: blur(8px);           /* Standard-Syntax          */
  -webkit-backdrop-filter: blur(8px);   /* Safari / iPadOS / iOS17  */
}

#progress-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: fixed;
  left: 50%;
  top: 40%;
  color: black;
  transform: translate(-50%, -50%);
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: linear-gradient(to right,
              rgba(18, 194, 233, 0.98), #c471ed, #f64f59);
  margin-bottom: 20px;
}

.progress-text-container {
  font-family: "Uncial Antiqua", cursive;
  font-size: 3rem;
  text-align: center;
  color: #333;
  line-height: 1.5;
}

#hiddenInput {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

#hiddenInput.visible {
  opacity: 1;
  pointer-events: auto;
  position: initial;
}
