/* ==========================================
   FLOATING MODAL GRID MENU (VINZZ STYLE)
   ========================================== */

/* Overlay Dimmer Gelap dengan Efek Blur */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Popup Melayang di Bagian Bawah (Tepat di Atas Tombol Menu) */
.side-drawer {
  position: fixed;
  bottom: 70px;                       /* Menempel presisi di atas tombol menu */
  top: auto;                          /* Batalkan alignment tengah vertikal */
  left: 50%;
  transform: translateX(-50%) translateY(20px) scale(0.95);
  width: 90%;
  max-width: 360px;
  height: auto;
  max-height: 80vh;
  background: #11141a;
  border: 1px solid #232936;
  border-radius: 18px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 16px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.side-drawer.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Header Modal (Badge Status + Close Button Bulat) */
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-badge-modal {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

.dot-green {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

.drawer-close-btn {
  background: #1e2533;
  border: none;
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.drawer-close-btn:hover {
  background: #334155;
  color: #ffffff;
}

/* Grid Menu 2 Kolom */
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  overflow-y: auto;
}

.modal-card {
  background: #181d27;
  border: 1px solid #262d3d;
  border-radius: 12px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: #f1f5f9;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.modal-card:hover {
  border-color: #38bdf8;
  background: #1e2533;
  transform: translateY(-2px);
}

.modal-card .icon {
  font-size: 1.3rem;
}

/* Footer Text di Dalam Modal */
.modal-footer-text {
  text-align: center;
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 14px;
  padding-top: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tombol Trigger Fixed di Tengah Bawah Layar */
.drawer-trigger-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #11141a;
  color: #fbbf24;
  border: 1.5px solid #fbbf24;
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  z-index: 1001;                     /* Berada di atas overlay */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
  line-height: 1;
}

.drawer-trigger-btn:hover,
.drawer-trigger-btn.active {
  background: #fbbf24;
  color: #0f172a;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.8);
}

.drawer-trigger-btn:active {
  transform: translateX(-50%) scale(0.92);
   }
   
