/* Darkmode Styles */
body.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}

body.darkmode,
body.darkmode .d-flex {
  background: #0b1220 !important;
  color: #e7eaf0;
}
body.darkmode .form-control{
  background:#0f1a2e !important;
  color:#e7eaf0 !important;
  border-color: rgba(255,255,255,.15) !important;
}

body.darkmode .modal-content{
  background:#0f1a2e !important;
  color:#e7eaf0 !important;
}
body.dark-mode .login-box,
body.dark-mode .card,
body.dark-mode .modal-content {
  background: #121212;
  /*box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);*/
}

body.dark-mode .form-control {
  background-color: #121212;
  color: #f0f0f0;
  border-color: #444;
}

body.dark-mode .form-control::placeholder {
  color: #bbb;
}

body.dark-mode .btn-primary {
  background-color: #3a3a3a;
  border-color: #444;
}

body.dark-mode .btn-primary:hover {
  background-color: #555;
}

body.dark-mode .alert-danger {
  background-color: #660000;
  color: #fff;
}

body.dark-mode footer {
  color: #ccc;
}

body.dark-mode a {
  color: #9ecbff;
}

body.dark-mode .text-muted {
  color: #aaa !important;
}

body.dark-mode img.invert-darkmode {
  filter: invert(1) hue-rotate(180deg);
}

/* Button-Position */
.darkmode-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 999;
}


.darkmode-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 999;
}

.darkmode-toggle button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: #ddd;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark-mode .darkmode-toggle button {
  background-color: #444;
  color: #eee;
}

/* ===== Darkmode Login Fullscreen ===== */
body.darkmode{
  background:#0b1220 !important;
  color:#e7eaf0;
}

body.darkmode .login-left{
  background:#0b1220 !important;
}

body.darkmode .login-box{
  background:#0f1a2e !important;
  color:#e7eaf0 !important;
  border:1px solid rgba(255,255,255,.10);
}

body.darkmode .form-control{
  background:#0b1220 !important;
  color:#e7eaf0 !important;
  border-color: rgba(255,255,255,.15) !important;
}

body.darkmode .form-control::placeholder{
  color: rgba(231,234,240,.55) !important;
}

body.darkmode a{ color:#9ec5ff !important; }

body.darkmode .text-muted{ color: rgba(231,234,240,.65) !important; }

/* Modal */
body.darkmode .modal-content{
  background:#0f1a2e !important;
  color:#e7eaf0 !important;
  border-color: rgba(255,255,255,.12) !important;
}

body.darkmode .btn-close{ filter: invert(1); }

/* optional: Logo invert nur im Darkmode */
body.darkmode .invert-darkmode{ filter: invert(1) hue-rotate(180deg); }
