.sidebar {
  width: 240px;
  min-height: 100vh;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  color: #fff;
  box-shadow: 2px 0 15px rgba(0,0,0,0.1);
}
/* Toggle sidebar */
#wrapper.toggled #sidebar-wrapper {
  margin-left: -240px;
}

#sidebar-wrapper {
  width: 240px;
  min-height: 100vh;
  transition: all 0.3s ease;
}
/* Title */
.sidebar h5 {
  color: #e2e8f0;
  font-weight: 600;
}

/* Menu */
.sidebar .nav-link {
  color: #94a3b8;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 6px;
  transition: all 0.25s ease;
}

/* Hover effect */
.sidebar .nav-link:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
  transform: translateX(3px);
}

/* Active */
.sidebar .nav-link.active {
  background: #0d6efd;
  color: #fff;
  box-shadow: 0 4px 10px rgba(13,110,253,0.3);
}
.sidebar i {
  opacity: 0.8;
}
.sidebar .nav-link:hover i {
  opacity: 1;
}

/* Background */
.login-body {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* Card */
.login-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 0.6s forwards;
}

/* Input focus */
.form-control:focus {
  box-shadow: none;
  border-color: #0d6efd;
}

/* Button toggle password */
.input-group button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Animasi fade in */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Navbar shadow + rounded */
.navbar {
  border-radius: 0 0 15px 15px;
}

/* Toggle button modern style */
#menu-toggle {
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

#menu-toggle:hover {
  background-color: #e2e8f0;
  transform: scale(1.05);
}

/* User avatar */
.navbar img {
  object-fit: cover;
  transition: all 0.3s ease;
}

.navbar img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(13,110,253,0.3);
}
/* Buat button show/hide tetap tinggi sama dengan input */
.input-group button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
/* Tombol gradient modern */
.btn-gradient {
  background: linear-gradient(90deg, #0d6efd, #6610f2);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  padding: 10px 20px;
}

.btn-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(13,110,253,0.4);
  background: linear-gradient(90deg, #6610f2, #0d6efd);
}