.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
}

.auth-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-form h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.form-description {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #7000FF;
    box-shadow: 0 0 0 2px rgba(112, 0, 255, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.auth-form button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #FF3366 0%, #7000FF 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(112, 0, 255, 0.3);
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.auth-link a {
    color: #7000FF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link a:hover {
    color: #FF3366;
}

.social-login {
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.social-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-btn img {
    width: 20px;
    height: 20px;
}

.error-message {
    background: rgba(255, 51, 102, 0.1);
    color: #FF3366;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.form-footer {
    margin-top: 2rem;
    text-align: center;
}

.form-footer p {
    margin: 0.5rem 0;
}

.form-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.form-footer a:hover {
    color: #7000FF;
    text-decoration: underline;
}

.success-message {
    background: rgba(0, 255, 128, 0.1);
    color: #00ff80;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    border: 1px solid rgba(0, 255, 128, 0.2);
}

.success-message h2 {
    color: #00ff80;
    margin-bottom: 1rem;
}

.success-message p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
} 

.success-box {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 1em;
  font-size: 0.95rem;
}

.error-box {
  display: none;
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  margin-bottom: 1em;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #b00020; /* rot für Fehler */
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 9999;
}

.toast-notification.success {
  background-color: #2e7d32; /* grün für Erfolg */
}

.toast-notification.hide {
  opacity: 0;
  transform: translateX(100%);
}

