/* style.css - Modernes Dark-/Glas-Design */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Grundlegende Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Schrift & Hintergrundverlauf */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #2C5364, #203A43, #0F2027);
  color: #fff;
  min-height: 100vh;
}

/* Overlay für zentriertes Layout beim Login */
.overlay {
  background-color: rgba(0, 0, 0, 0.4);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Halbtransparente "Glas"-Card fürs Login */
.login-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.login-card h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Form-Felder in dunklem Stil */
.form-control {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  border-radius: 8px;
  transition: background 0.3s;
}
.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

/* Button-Farben */
.btn-primary {
  background-color: #ff5c5c;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: #ff3b3b;
}

/* Fehlermeldung (alert) */
.alert {
  background-color: #ff5c5c;
  border: none;
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
  border-radius: 8px;
}

/* ---------- Dashboard-Stile ---------- */

/* Eigener Body-Hintergrund fürs Dashboard */
.dashboard-body {
  background: linear-gradient(135deg, #2C5364, #203A43, #0F2027);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: #fff;
}

/* --- NAVBAR REFINEMENTS --- */
.navbar {
  background-color: rgba(0, 0, 0, 0.3) !important; /* halbtransparentes Schwarz */
  backdrop-filter: blur(10px);                    /* Glas-Effekt */
  border-bottom: 1px solid rgba(255,255,255,0.2); /* dezenter unterer Rand */
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);         /* leichte Schattenkante */
}

.navbar-brand {
  color: #fff !important;
  font-weight: 600;
  font-size: 1.2rem;       /* optional: etwas größere Schrift */
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin-left: 1rem;       /* optional: etwas Abstand zwischen Links */
}


/* Dunkle "Glas"-Card im Dashboard */
.card-dark {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.card-dark .card-body {
  color: #fff;
}
