* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial Black', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: #f4f3ef;
  color: #000000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
}

/* NAVBAR HEADER */
.header {
  max-width: 1200px;
  width: 95%;
  margin: 20px auto 10px;
  padding: 15px 25px;
  background-color: #ffffff;
  border: 4px solid #000000;
  box-shadow: 4px 4px 0px 0px #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand {
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000;
}

.brand-icon {
  background-color: #facc15;
  border: 2px solid #000000;
  padding: 4px 8px;
}

.hamburger-btn {
  background-color: #facc15;
  border: 3px solid #000000;
  box-shadow: 3px 3px 0px 0px #000000;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}

.hamburger-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px 0px #000000;
}

/* SIDEBAR DRAWER MENU */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

.sidebar-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background-color: #ffffff;
  border-right: 5px solid #000000;
  z-index: 999;
  padding: 25px 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-menu.active {
  left: 0;
}

.sidebar-overlay.active {
  display: block;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 4px solid #000;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.nav-list {
  list-style: none;
}

.nav-list li {
  margin-bottom: 12px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: #ffffff;
  border: 3px solid #000;
  box-shadow: 3px 3px 0px 0px #000;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
}

.nav-link:hover, .nav-link.active {
  background-color: #facc15;
}

/* CONTAINER & FORM */
.container {
  max-width: 1200px;
  width: 95%;
  margin: 10px auto 20px;
}

.form-container {
  max-width: 480px;
  width: 90%;
  margin: 40px auto;
  background-color: #ffffff;
  border: 4px solid #000000;
  box-shadow: 8px 8px 0px 0px #000000;
  padding: 30px;
}

.panel-section {
  background-color: #ffffff;
  border: 4px solid #000000;
  box-shadow: 6px 6px 0px 0px #000000;
  padding: 25px;
  margin-bottom: 25px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 3px solid #000;
  padding-bottom: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 900;
}

.input-box {
  width: 100%;
  padding: 10px;
  border: 3px solid #000;
  box-shadow: 3px 3px 0px 0px #000;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 13px;
  background-color: #fff;
  outline: none;
}

.btn {
  display: inline-block;
  padding: 10px 15px;
  font-weight: 900;
  font-size: 13px;
  color: #000;
  border: 3px solid #000;
  box-shadow: 3px 3px 0px 0px #000;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.btn-submit {
  background-color: #4ade80;
  width: 100%;
  margin-top: 10px;
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border: 2px solid #000;
  box-shadow: 2px 2px 0px 0px #000;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-success { background-color: #4ade80; }
.form-footer { margin-top: 20px; text-align: center; font-family: sans-serif; font-size: 13px; font-weight: bold; }
.form-footer a { color: #000; text-decoration: underline; }

/* GRID KARTU STATISTIK */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.stat-card {
  background-color: #ffffff;
  border: 3px solid #000000;
  padding: 15px;
  box-shadow: 4px 4px 0px 0px #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-label {
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: #666666;
  text-transform: uppercase;
}

.stat-value {
  font-family: sans-serif;
  font-size: 20px;
  font-weight: 900;
  margin-top: 5px;
  color: #000000;
}

.stat-icon {
  width: 45px;
  height: 45px;
  border: 3px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 2px 2px 0px 0px #000000;
}

.bg-green { background-color: #4ade80; }
.bg-yellow { background-color: #facc15; }
.bg-blue { background-color: #60a5fa; }

/* Efek Loading Tombol Neubrutalism */
.btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  box-shadow: 0px 0px 0px 0px #000000 !important; /* Hilangkan bayangan tebal saat loading */
  transform: translate(3px, 3px); /* Posisi tombol sedikit turun seolah tertekan */
}

    /* TOAST NOTIFICATION STYLING */
    .toast-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .toast {
      background: #ffffff;
      border: 3px solid #000000;
      padding: 12px 20px;
      box-shadow: 4px 4px 0px 0px #000000;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      animation: slideIn 0.2s ease-out forwards;
    }
    .toast-error { 
      background-color: #f87171; 
      color: #000000; 
    }
    .toast-success { 
      background-color: #4ade80; 
      color: #000000; 
    }
    .toast-info { 
      background-color: #facc15; 
      color: #000000; 
    }

    @keyframes slideIn {
      from { transform: translateX(100%); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }
