body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  /* background: linear-gradient(135deg, #1f1f1f, #2c2c2c); */
  background: url("/img/background/auth_background.png");
		background-attachment: fixed; /* ← DAS ist der Held */
	background-position: center;  /* optional für zentriertes Bild */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
}

.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
}

.back-button a {
  text-decoration: none;
  color: #ffffff;
  background-color: transparent;
  border: 1px solid white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: 0.3s;
}

.back-button a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.auth-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  padding: 2rem 2.5rem;
  width: 100%;
  max-width: 350px;
  text-align: center;
}


.switch {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.5rem;
}

.switch button {
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: 0.3s;
  border-bottom: 2px solid transparent;
}

.switch button.active {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid white;
}

.form {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.form.active {
  display: flex;
  flex-direction: column;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"] {
  padding: 0.9rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
}


.form input::placeholder {
  color: #888;
}

.options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #ccc;
}

.options-row .remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 100%;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  transition: 0.2s ease-in-out;
}

.custom-checkbox:checked {
  background-color: white;
}

.custom-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 9px;
  height: 9px;
  background-color: black;
  border-radius: 50%;
}


.options-row .forgot {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.options-row .forgot:hover {
  color: white;
  text-decoration: underline;
}



.form button {
  padding: 0.9rem;
  background: white;
  color: black;
  border: none;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}


.form button:hover {
  background-color: #ddd;
}


#google-btn{
  height: 50px;
  width: 50px;
  border-radius: 100%;
  align-self: center;
}

 /* ─────────────────────────────────────────────────────────────
   1. Basis-Styles für die Toast-Nachricht
──────────────────────────────────────────────────────────────── */
        .toast-container {
            position: fixed;
            top: 1rem;
            right: 1rem;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        /* Gemeinsame Eigenschaften aller Toast-Nachrichten */
        .toast {
            min-width: 200px;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            color: #fff;
            font-size: 0.9rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            opacity: 0;
            transform: translateX(100%);
            animation: slideIn 0.4s forwards;
            /* Animation: nach 4s automatisch ausblenden */
            animation-delay: 0s, 4s;
            animation-duration: 0.4s, 0.4s;
            animation-fill-mode: forwards;
            animation-name: slideIn, fadeOut;
            animation-timing-function: ease-out, ease-in;
        }

        /* Hintergrundfarben je Meldetyp */
        .toast--success {
            background-color: #28a745;
            /* Grün */
        }

        .toast--error {
            background-color: #dc3545;
            /* Rot */
        }

        .toast--process {
            background-color: #2563EB;
            /* Blau */
        }

        /* ─────────────────────────────────────────────────────────────
   2. Keyframes für Ein-/Ausblenden
──────────────────────────────────────────────────────────────── */
        /* Slide-In von rechts nach links */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(100%);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Fade-Out und leichte Verschiebung nach rechts */
        @keyframes fadeOut {
            to {
                opacity: 0;
                transform: translateX(100%);
            }
        }
