/* css/wizard.css */
:root{
  --bg-overlay: rgba(8,10,12,0.72);
  --panel-bg: linear-gradient(180deg,#111111,#121212);
  --accent1: #ff8a00;
  --accent2: #ff3b3b;
}
html{color:#fff;}
body { background: #111; color:#fff; }
.swal2-container {
  position: fixed !important;
  z-index: 9999 !important;
}
.logo{height:60px;width: auto;}

/* overlay & center panel */
.wizard-overlay{
  position:fixed; inset:0; z-index:2000;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg-overlay);
  backdrop-filter: blur(6px);
}
.wizard-panel{
  width:92%; max-width:1100px; border-radius:12px;
  background:var(--panel-bg); color:#111;
  box-shadow:0 30px 80px rgba(2,6,23,0.6);
  overflow:hidden;
  transform-origin:center center;
  animation:panelEnter .36s cubic-bezier(.2,.9,.2,1) both;
}
@keyframes panelEnter{
  from{ opacity:0; transform: translateY(18px) scale(.99); }
  to{ opacity:1; transform:none; }
}

/* header */
.wz-header{ display:flex; gap:16px; align-items:center; padding:18px 22px; border-bottom:1px solid rgba(0,0,0,0.06); }
.wz-title{ font-weight:700; font-size:1.125rem; color:#eee }
.wz-step-indicators{ margin-left:auto; display:flex; gap:8px; align-items:center; }
/* progress */
.wz-progress{ height:8px; width:260px; background:#121212; border-radius:999px; overflow:hidden; }
.wz-progress-bar{ height:100%; width:0%; background:linear-gradient(90deg,var(--accent1),var(--accent2)); transition:width .42s cubic-bezier(.2,.9,.2,1); }

/* body */
.wz-body{ padding:20px; max-height:68vh; overflow:auto; }

/* steps */
.wz-step{ display:none; opacity:0; transform:translateX(28px); transition: all .42s cubic-bezier(.2,.9,.2,1); }
.wz-step.active{ display:block; opacity:1; transform:none; }

/* footer */
.wz-footer{ padding:14px 20px; background:linear-gradient(180deg, rgba(0,0,0,0.8), rgba(17,17,17,1)); border-top:1px solid #333; display:flex; justify-content:space-between; gap:12px; align-items:center; }

/* step card small */
.bahan-grid{ display:flex; gap:10px; flex-wrap:wrap; }
.bahan-card{ background:#fff; padding:10px; border-radius:10px; min-width:180px; max-width:260px; border:1px solid #eee; box-shadow:0 8px 30px rgba(3,6,20,0.04); }
.bahan-card label{ display:block; cursor:pointer; }

/* small text */
.small-muted{ color:#666; font-size:0.95rem; margin-top:6px; }

/* responsive */
@media(max-width:860px){
  .bahan-card{ min-width:140px; }
  .wz-progress{ display:none; }
}
.preview-box {
  width: 100%;
  height: 260px;
  background-color: #111111;
  border: 2px dashed #333;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .3s ease;
}
.preview-box:hover {
  background-color: #f0f0f0;
}
.preview-box img {
  transition: transform .3s ease;
}
.preview-box img:hover {
  transform: scale(1.05);
}
.btn {
  background-color: #2563eb;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: background-color .2s;
}
.btn:hover {
  background-color: #1d4ed8;
}
.input-field {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}
@keyframes fadeZoom {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.preview-box img {
  display: block;
  margin: auto;
}
/* ===============================
   BAHAN PILL STYLE
   =============================== */
.bahan-pill {
  cursor: pointer;
  padding: 0.1rem 0.5rem; /* py-2 px-4 */
  border-radius: 9999px; /* rounded-full */
  border: 1px solid #d1d5db; /* border-gray-300 */
  background-color: #ffffff;
  font-size: 0.675rem; /* text-sm */
  font-weight: 600; /* font-medium */
  transition: all 0.2s ease-in-out;
  display: inline-block;
  color: #374151; /* text-gray-700 */
}

.bahan-pill:hover {
  background-color: #fff7ed; /* hover:bg-orange-100 */
  border-color: #fb923c; /* hover:border-orange-400 */
}

.bahan-pill.active {
  background-color: #f97316; /* bg-orange-500 */
  border-color: #f97316; /* border-orange-500 */
  color: #ffffff; /* text-white */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); /* shadow-sm */
}

/* ===============================
   ANIMASI FADE SLIDE
   =============================== */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeSlide {
  animation: fadeSlide 0.3s ease-out;
}
