.sidebar-modern {
  background: linear-gradient(160deg, rgba(13, 30, 56, 0.95), rgba(10, 57, 84, 0.92));
  border-right: 1px solid rgba(138, 200, 255, 0.24);
  min-height: 100vh;
}
.modern-brand {
  background: rgba(8, 18, 35, 0.84);
  border-bottom: 1px solid rgba(123, 197, 255, 0.2);
  box-shadow: 0 4px 12px rgba(3, 10, 22, 0.28);
  padding: 1.1em 1em 1em 1em;
  display: flex;
  align-items: center;
  gap: 0.7em;
  overflow: hidden;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 2;
}

.modern-brand .brand-image {
  float: none !important;
  margin-top: 0 !important;
  margin: 0 !important;
  max-height: none !important;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  position: static !important;
  display: block !important;
}

.modern-brand .brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modern-user-panel {
  background: rgba(8, 18, 35, 0.84);
  border-radius: 16px;
  border: 1px solid rgba(123, 197, 255, 0.2);
  box-shadow: 0 10px 22px rgba(3, 10, 22, 0.28);
  padding: 1em 1em 1em 0.7em;
  margin-bottom: 1.2em;
}
.modern-sidebar-search {
  background: rgba(8, 18, 35, 0.74);
  border: 1px solid rgba(123, 197, 255, 0.2);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(123, 197, 255, 0.08);
}

.modern-quick-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-top: 0.9rem;
  margin-bottom: 0.45rem;
  clear: both;
  position: relative;
  z-index: 1;
}

.modern-quick-cards .quick-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 12px;
  padding: 0.55rem 0.62rem;
  text-decoration: none;
  color: #d4e9ff;
  background: linear-gradient(120deg, rgba(16, 43, 73, 0.8), rgba(22, 78, 118, 0.52));
  border: 1px solid rgba(126, 194, 255, 0.24);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.modern-quick-cards .quick-card:hover,
.modern-quick-cards .quick-card:focus {
  transform: translateY(-1px);
  border-color: rgba(148, 214, 255, 0.45);
  background: linear-gradient(120deg, rgba(30, 94, 150, 0.84), rgba(24, 162, 194, 0.58));
  color: #f3fbff;
}

.modern-quick-cards .quick-card .icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(116, 202, 255, 0.18);
  border: 1px solid rgba(148, 214, 255, 0.28);
}

.modern-quick-cards .quick-card .label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.modern-nav .nav-link {
  border-radius: 14px;
  margin-bottom: 0.25em;
  font-size: 1.08em;
  color: #d1e6ff;
  font-weight: 500;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  padding: 0.7em 1.1em;
  background: rgba(10, 31, 57, 0.46);
}
.modern-nav .nav-link.active, .modern-nav .nav-link:hover, .modern-nav .nav-link:focus {
  background: linear-gradient(90deg,#159ec1 0%,#2f75de 100%);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(24, 95, 176, 0.28);
}
.modern-nav .nav-icon {
  font-size: 1.25em;
  margin-right: 0.7em;
  color: #7acfff;
  opacity: 0.85;
  transition: color 0.18s;
}
.modern-nav .nav-link.active .nav-icon, .modern-nav .nav-link:hover .nav-icon {
  color: #fff;
}
.nav-header {
  color: #9ad6ff;
  font-weight: 700;
  font-size: 1.02em;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  letter-spacing: 0.03em;
}
.sidebar-footer {
  background: none;
  color: #9ad6ff;
  font-size: 0.98em;
  font-weight: 600;
  margin-bottom: 1.2em;
}
@media (max-width: 991px) {
  .sidebar-modern {
    /* Entfernt: width, max-width, position, left, top, z-index, height, overflow-y, box-shadow */
    min-width: 0;
  }
  .modern-user-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7em 0.7em 0.7em 0.7em;
    margin-bottom: 0.7em;
  }
  .modern-user-panel .info {
    margin-left: 0 !important;
    margin-top: 0.5em;
  }
  .modern-brand {
    padding: 0.7em 0.7em 0.7em 0.7em;
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
  }
  .modern-nav .nav-link {
    font-size: 1em;
    padding: 0.6em 0.7em;
    margin-bottom: 0.15em;
  }
  .nav-header {
    font-size: 0.98em;
    margin-top: 0.7em;
    margin-bottom: 0.3em;
  }
  .sidebar-footer {
    font-size: 0.93em;
    margin-bottom: 0.7em;
  }
}
@media (max-width: 575px) {
  .sidebar-modern {
    /* Entfernt: width, max-width, min-width, border-radius, left, top */
  }
  .modern-brand {
    font-size: 0.98rem;
    padding: 0.5em 0.5em 0.5em 0.5em;
    margin-bottom: 0.35rem;
  }
  .modern-brand .brand-image {
    width: 30px;
    height: 30px;
  }
  .modern-user-panel {
    padding: 0.5em 0.5em 0.5em 0.5em;
  }
}
