/* ==================================================
   CSS ADMIN — DEERΛ DIGITAL CREATIVE STUDIO
   ================================================== */

/* ----- SIDEBAR ----- */
.sidebar {
  width: 250px !important;
  min-width: 250px;
  max-width: 250px;
  min-height: 100vh;
  background-color: #0d2c54 !important;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.sidebar-brand {
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.sidebar-menu {
  list-style: none;
  padding: 15px 10px;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.sidebar-menu a {
  display: block;
  color: #cfd8e3;
  text-decoration: none;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 5px;
}
.sidebar-menu a:hover {
  background-color: rgba(255, 255, 255, .1);
  color: #ffffff;
}
.sidebar-menu a.aktif {
  background-color: #f39c12;
  color: #0d2c54;
  font-weight: 600;
}
.btn-logout {
  width: 100%;
  background: none;
  border: none;
  color: #cfd8e3;
  text-align: left;
  padding: 12px 15px;
  border-radius: 8px;
}
.btn-logout:hover {
  background-color: rgba(255, 0, 0, .2);
  color: #ffffff;
}

/* ----- KONTEN ----- */
.konten {
  flex-grow: 1;
  background-color: #f4f6f9;
  min-height: 100vh;
}
.topbar {
  background-color: #ffffff;
  padding: 15px 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
}

/* ----- KARTU STATISTIK ----- */
.stat-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

/* ----- BANNER SELAMAT DATANG ----- */
.welcome-banner {
  background: linear-gradient(135deg, #0d2c54, #164a8a);
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
}

/* ----- IKON STATISTIK ----- */
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.icon-biru   { background: #e8f0fe; color: #0d6efd; }
.icon-oranye { background: #fff3e0; color: #f39c12; }
.icon-hijau  { background: #e8f5e9; color: #2e7d32; }

/* ----- TABEL ----- */
.tbl-gambar {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}
.kol-aksi { width: 140px; }

/* ----- LOGIN PAGE ----- */
.login-body {
  background: linear-gradient(135deg, #0d2c54 0%, #164a8a 60%, #1e60b4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.login-box { width: 420px; padding: 20px; }
.login-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 35px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.login-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 20px;
  background: #0d2c54;
  padding: 6px;
}
.login-ikon {
  background-color: #eef3fa;
  color: #0d2c54;
  border: 1px solid #dee4ec;
}
.btn-masuk {
  background: linear-gradient(135deg, #0d2c54, #1e60b4);
  color: #ffffff;
  font-weight: 600;
  padding: 10px;
  border: none;
  border-radius: 8px;
  transition: transform .15s, box-shadow .15s;
}
.btn-masuk:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(13, 44, 84, .35);
  color: #ffffff;
}

/* ----- TOMBOL KEMBALI KE WEBSITE ----- */
.btn-kembali {
  position: fixed;
  top: 20px;
  left: 20px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: .9rem;
  transition: background .2s;
}
.btn-kembali:hover {
  background: rgba(255, 255, 255, .25);
  color: #ffffff;
}