:root {
  --gradient-primary: linear-gradient(to right, #8a2be2, #4a00e0);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #191c24;
}

.sidebar {
  background-color: #191c24;
  padding: 1.5rem 1rem;
  height: 100vh;
  position: sticky;
  top: 0;
  border-right: 1px solid #2c2e33;
}

.sidebar .nav-link {
  color: #a9a9a9;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
}

.sidebar .nav-link:hover {
  background-color: #2c2e33;
  color: #fff;
}

.sidebar .nav-link.active {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar .nav-link .bi {
  margin-right: 0.8rem;
}

.card {
  background-color: #2a3038;
  border: none;
  border-radius: 0.5rem;
}

/* CSS BARU UNTUK IKON BERWARNA */
.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.icon-circle .bi {
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
}

/* Pilihan Warna untuk Ikon */
.icon-purple {
  background-color: #6f42c1;
}
.icon-blue {
  background-color: #0d6efd;
}
.icon-green {
  background-color: #198754;
}
.icon-red {
  background-color: #dc3545;
}
.icon-orange {
  background-color: #fd7e14;
}

/* Styling baru untuk link di dalam kartu */
.card-body a {
  color: #e9ecef;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0.75rem 0.5rem;
  border-radius: 0.3rem;
  transition: background-color 0.2s ease-in-out;
}

.card-body a:hover {
  background-color: #3c424a;
}

/* CSS untuk logo mitra agar tidak terlalu mencolok */
.logo-item {
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100px;
  height: 80px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.logo-item:hover {
  transform: translateY(-5px);
}
