
:root {
    --bs-primary: #ffdd00; 
    --bs-primary-rgb: 255, 221, 0; /* RGB-Wert von #ffdd00 für Transparenz-Effekte */
    
    /* Optional: Für den Hover-Zustand, etwas dunkler (z.B. #e6c800) */
    --bs-primary-dark: #e6c800; 
  }
/* Zusätzliche Regel für Checkboxen/Radio-Buttons, da Bootstrap hier 
  teilweise harte Werte verwendet und der Fokus-Ring angepasst werden muss.
  */
  .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
  }

  /* Anpassen des blauen Rings (Fokus-Effekt) um Checkboxen/Radio-Buttons
  */
  .form-check-input:focus {
    border-color: var(--bs-primary-dark);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), .25);
  }

body {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
}


/* --- OVERLAY FÜR LADEZUSTAND --- */
#overlayCode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dunkelt den Screen ab */
    display: none; /* Standardmäßig versteckt */
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Über allen Bootstrap Modals */
    flex-direction: column;
    color: white;
    font-size: 1.2rem;
}


/* --- OVERLAY FÜR LADEZUSTAND --- */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dunkelt den Screen ab */
    display: none; /* Standardmäßig versteckt */
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Über allen Bootstrap Modals */
    flex-direction: column;
    color: white;
    font-size: 1.2rem;
}
.spinner-custom {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    border-color: #ffffff; /* Weisser Ring */
    border-right-color: var(--bs-primary); /* Gelber/Primary-Teil */
}


/* Optional: Ein bisschen Extra-Styling für einen ansprechenden Rahmen */
.form-container {
    max-width: 700px;
    margin: 50px auto;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #ffffff;
}
h2 {
    border-bottom: 2px solid #ffdd00; /* Bootstrap Primary Farbe */
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.alert-success {
	background-color:  #ffdd00;
	border: 1px solid #ffdd00;
}
.btn-primary {
	background-color: #000000;
	border: 2px solid #000000;
	color:#ffffff;
}
.btn-primary:hover {
	background-color:#ffffff;
	color:#000000;
	border:2px solid #000000;
}
h2.text-primary {
	color:#000000;
}


.btn-rollo-effect {
    /* Standard-Stile des Buttons */
    background-color: #000000;
    border: 2px solid #000000;
    color: #ffffff;
    padding: 15px 30px;
    font-size: 18px;
    text-decoration: none;

    position: relative; 
    overflow: hidden;    /* Versteckt den Teil des ::before-Elements, der 0% Höhe hat */
    z-index: 1;         

    /* Transition für die Textfarbe (läuft bei HOVER und MOUSE-OUT) */
    transition: color 0.4s ease-in-out; 
    border-radius: 5px; 
}

.btn-rollo-effect::before {
    content: '';
    position: absolute;
    top: 0; /* STARTPUNKT: Oben im Button */
    left: 0;
    width: 100%;
    height: 0%; /* ANFANGSHÖHE: Startet bei 0% */
    background-color: #ffffff; /* Füllfarbe: Weiss */

    /* Transition für die Füllhöhe (läuft bei HOVER und MOUSE-OUT) */
    transition: height 0.4s ease-in-out; 
    z-index: -1; 
}

/* ZUSTAND BEI MOUSE-OVER (Hover-Effekt) */
.btn-rollo-effect:hover {
    color: #000000; /* Textfarbe wechselt zu Schwarz */
    border-color: #000000;
}

.btn-rollo-effect:hover::before {
    height: 100%; /* Die Höhe wächst von 0% auf 100% aus der 'top: 0' Position */
    /* Ergebnis: Die weisse Farbe füllt den Button von oben nach unten (Rollo-Effekt) */
}

 /* Optional: Styles für den Formular-Container, damit er mittig ist */
.form-container, .code-container {
    max-width: 1024px;
    margin: 50px auto;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #ffffff;
}
.code-container {
    max-width: 500px;
    margin-top: 100px;
}