    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Inter", sans-serif;
      background: linear-gradient(135deg, #e3f2fd, #fce4ec);
      background-attachment: fixed;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .login-box {
      background: white;
      border-radius: 16px;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
      padding: 2.5rem;
      width: 100%;
      max-width: 400px;
      border: 1px solid #ddd;
    }

    .login-box h1 {
      font-size: 1.6rem;
      color: #333;
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .form-group {
      margin-bottom: 1.2rem;
    }

    label {
      font-size: 0.95rem;
      weight: 700;
      color: #555;
      display: block;
      margin-bottom: 0.4rem;
    }

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  padding-right: 2.75rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #f5f5f5;
  color: #333;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
  border-color: #3f88ff;
  box-shadow: 0 0 0 3px rgba(63, 136, 255, 0.15);
  outline: none;
}

    .submit-btn {
      width: 100%;
      padding: 0.75rem;
      background: #007BFF;
      color: white;
      font-size: 1rem;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .submit-btn:hover {
      background: #005fcc;
    }

    .footer-link {
      margin-top: 1.2rem;
      text-align: center;
      font-size: 0.9rem;
      color: #555;
    }

    .footer-link a {
      color: #007BFF;
      text-decoration: none;
      font-weight: 500;
    }

    .footer-link a:hover {
      text-decoration: underline;
    }

    .logo {
      text-align: center;
      margin-bottom: 1rem;
      font-size: 1.4rem;
      font-weight: bold;
      color: #333;
    }

    @media (max-width: 500px) {
      .login-box {
        margin: 2rem;
        padding: 2rem;
      }
    }
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Eleganter Blur-Toast */
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(182, 182, 182, 0.15);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0;
  animation: slideIn 0.35s ease forwards;
  max-width: 340px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Icon */
.toast i {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Hover Effekt */
.toast:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Typ-Farben */
.toast.success i { color: #2ecc71; }
.toast.error   i { color: #e74c3c;}
.toast.info    i { color: #3498db; }

.toast.success { color: #2ecc71; }
.toast.error   { background-color: #e74d3c7e; }
.toast.info    { color: #3498db; }

/* Slide-in Animation */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.password-field {
  position: relative;
}

.password-field .toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #888;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.password-field .toggle-password:hover {
  color: #333;
}

.logo-fixed {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}
button.submit-btn {
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

button.submit-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  animation: ripple-animation 0.6s linear;
  transform: scale(0);
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

button.submit-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

button.submit-btn.loading span.label-text {
  display: none;
}

button.submit-btn .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}

button.submit-btn.loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


label[for]:has(+ input[required]),
label[for]:has(+ textarea[required]),
label[for]:has(+ select[required]) {
  position: relative;
}

label[for]:has(+ input[required])::after,
label[for]:has(+ textarea[required])::after,
label[for]:has(+ select[required])::after {
  content: '*';
  color: red;
  font-weight: bold;
  margin-left: 4px;
}