/* ===== PAGES (DAFTAR / STEP) ===== */
.pageWrap{ width:100%; max-width:980px; margin:0 auto; }

/* ===== TOPBAR ===== */
.topBar{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
}

.backBtn{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,138,0,.25);
  background:rgba(0,0,0,.35);
  text-decoration:none;
  color:rgba(255,255,255,.88);
}
.backBtn:hover{ border-color: rgba(255,138,0,.55); }

.headerMid{
  justify-self:center;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(255,210,120,.9);
  text-shadow: 0 0 18px rgba(255,138,0,.18);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,138,0,.18);
  background: rgba(0,0,0,.25);
  max-width: 60vw;
  text-align:center;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.badgeStatic{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(255,138,0,.45);
  background:rgba(0,0,0,.35);
  color: rgba(255,210,120,.92);
  letter-spacing:1px;
  font-size:12px;
  box-shadow:0 0 18px rgba(255,138,0,.12);
}

/* ===== Stepper (kotak 1-4) ===== */
.stepper{
  position: relative;
  margin: 10px 0 18px;
  padding: 10px 6px;
  border-radius: 18px;
  border: 1px solid rgba(255,138,0,.16);
  background: rgba(0,0,0,.25);
  box-shadow: 0 12px 34px rgba(0,0,0,.55);
}

.stepLine{
  position:absolute;
  left: 30px;
  right: 30px;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(255,255,255,.10);
  border-radius: 999px;
}

.stepLineFill{
  position:absolute;
  left: 30px;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  width: 0%;
  background: linear-gradient(90deg, rgba(255,138,0,.85), rgba(255,210,120,.85));
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(255,138,0,.18);
}

.stepRow{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.stepBox{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  font-weight: 800;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  user-select:none;
}

.stepBox.active{
  color: #111;
  border-color: rgba(255,210,120,.75);
  background: linear-gradient(180deg, #fff2c7 0%, #f6d98b 22%, #d9a441 55%, #b07a1b 90%);
  box-shadow: 0 0 26px rgba(255,180,60,.22);
}

/* ===== Panel ===== */
.panel{
  border-radius: 18px;
  border: 1px solid rgba(255,138,0,.18);
  background:
    radial-gradient(900px 320px at 20% 10%, rgba(255,138,0,.14), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.30));
  box-shadow: 0 14px 44px rgba(0,0,0,.65);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

/* ===== GOLD SHIMMER BORDER ===== */
.panel::before{
  content:"";
  position:absolute;
  inset:0;
  padding: 1.5px;
  border-radius: 18px;
  background: linear-gradient(
    120deg,
    rgba(255,242,199,.22),
    rgba(255,217,143,.92),
    rgba(217,164,65,.70),
    rgba(255,217,143,.92),
    rgba(255,242,199,.22)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .95;
  filter: drop-shadow(0 0 14px rgba(255,170,60,.14));
  pointer-events:none;
}

.panel::after{
  content:"";
  position:absolute;
  inset:-40% -60%;
  border-radius: 30px;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255,255,255,.08) 45%,
    rgba(255,210,120,.22) 50%,
    rgba(255,255,255,.10) 55%,
    transparent 65%
  );
  transform: translateX(-60%) rotate(10deg);
  animation: goldSweep 3.8s linear infinite;
  opacity: .9;
  pointer-events:none;
  mix-blend-mode: screen;
}

@keyframes goldSweep{
  0%   { transform: translateX(-65%) rotate(10deg); }
  100% { transform: translateX(65%)  rotate(10deg); }
}

/* WELCOME besar + center + heartbeat */
.panelTitle{
  margin: 8px 0 10px;
  text-align: center;
  font-size: 34px;
  font-weight: 1000;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(180deg,#fff2c7 0%,#f6d98b 18%,#d9a441 55%,#b07a1b 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  animation: heartbeat 2.1s ease-in-out infinite;
  transform-origin: center;
  text-shadow: 0 0 22px rgba(255,170,60,.10);
}
@keyframes heartbeat{
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,138,0,0)); }
  10% { transform: scale(1.03); filter: drop-shadow(0 0 12px rgba(255,138,0,.18)); }
  20% { transform: scale(1); }
  30% { transform: scale(1.02); filter: drop-shadow(0 0 10px rgba(255,210,120,.14)); }
  40% { transform: scale(1); }
}

.panelText{
  margin: 0 0 14px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  font-size: 13px;
  text-align: center;
}

.divider{
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 14px 0;
}

/* Disclaimer box */
.disclaimer{
  border-radius: 14px;
  border: 1px solid rgba(255,138,0,.18);
  background: rgba(0,0,0,.35);
  padding: 12px 12px;
}
.disclaimer h3{
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,210,120,.88);
}
.disclaimer ol{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.55;
}
.disclaimer li{ margin: 6px 0; }

/* Checkbox agree */
.agree{
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,138,0,.18);
  background: rgba(0,0,0,.30);
  padding: 12px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.agree input{
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: rgba(255,138,0,.95);
}
.agree label{
  cursor:pointer;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  line-height: 1.5;
}
.agree small{
  display:block;
  color: rgba(255,255,255,.60);
  margin-top: 4px;
  font-size: 12px;
}

/* Actions */
.actions{
  display:flex;
  gap: 10px;
  justify-content:flex-end;
  margin-top: 14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,138,0,.25);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.9);
  text-decoration:none;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  transition: opacity .15s ease, transform .08s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover{ border-color: rgba(255,138,0,.55); }
.btn:active{ transform: translateY(1px); }

.btnPrimary{
  border-color: rgba(255,210,120,.55);
  background: linear-gradient(180deg, rgba(255,210,120,.22), rgba(0,0,0,.35));
  box-shadow: 0 0 24px rgba(255,180,60,.14);
}
.btnPrimary:hover{
  border-color: rgba(255,210,120,.85);
  box-shadow: 0 0 30px rgba(255,180,60,.18);
}

.btn.isDisabled{
  opacity: .45;
  pointer-events: none;
  filter: grayscale(.25);
}

.errorBox{
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,138,0,.22);
  background: rgba(0,0,0,.30);
  padding: 12px;
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.errorBox b{ color: rgba(255,210,120,.95); }

/* ===== STEP 2 FORM ===== */
.formGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.field{ display:flex; flex-direction:column; gap: 8px; }
.field.full{ grid-column: 1 / -1; }

.label{
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,210,120,.85);
}

.input, .select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,138,0,.22);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.90);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.input::placeholder{ color: rgba(255,255,255,.40); }

.input:focus, .select:focus{
  border-color: rgba(255,210,120,.75);
  box-shadow: 0 0 0 3px rgba(255,138,0,.10), 0 0 22px rgba(255,170,60,.12);
}

/* Custom date picker */
.dateWrap{ position: relative; }
.dateInput{ padding-right: 58px; cursor: pointer; }

.dateBtn{
  position:absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,138,0,.22);
  background: rgba(0,0,0,.35);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.dateBtn svg{
  width: 20px;
  height: 20px;
  display:block;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: rgba(255,210,120,.95);
  filter: drop-shadow(0 0 10px rgba(255,170,60,.14));
}
.dateBtn:hover{
  border-color: rgba(255,210,120,.80);
  box-shadow: 0 0 18px rgba(255,170,60,.12);
}

.dp{
  position:absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 300px;
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,138,0,.22);
  background: rgba(0,0,0,.78);
  box-shadow: 0 18px 60px rgba(0,0,0,.65);
  z-index: 50;
  padding: 12px;
  display:none;
}
.dp.show{ display:block; }

.dpHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.dpTitle{
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,210,120,.9);
}
.dpNav{ display:flex; gap: 8px; }
.dpBtn{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,138,0,.22);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.85);
  cursor:pointer;
}
.dpBtn:hover{ border-color: rgba(255,210,120,.8); }

.dpGrid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.dpDow{
  font-size: 11px;
  text-align:center;
  color: rgba(255,255,255,.55);
  padding: 6px 0;
}
.dpDay{
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.85);
  cursor:pointer;
}
.dpDay:hover{
  border-color: rgba(255,210,120,.65);
  box-shadow: 0 0 16px rgba(255,170,60,.10);
}
.dpDay.muted{ opacity: .35; }
.dpDay.sel{
  color:#111;
  border-color: rgba(255,210,120,.85);
  background: linear-gradient(180deg, #fff2c7 0%, #f6d98b 22%, #d9a441 55%, #b07a1b 90%);
}

/* ===== STEP 3 PHOTO ===== */
.photoWrap{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  margin-top: 12px;
}

.dropBox{
  border-radius: 18px;
  border: 1px dashed rgba(255,210,120,.35);
  background: rgba(0,0,0,.28);
  padding: 14px;
  min-height: 240px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 12px;
}

.previewBox{
  border-radius: 18px;
  border: 1px solid rgba(255,138,0,.18);
  background: rgba(0,0,0,.28);
  padding: 12px;
}

.previewSquare{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px solid rgba(255,210,120,.22);
  background: radial-gradient(260px 180px at 30% 20%, rgba(255,138,0,.10), transparent 60%),
              rgba(0,0,0,.35);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.previewSquare img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.uploadBtns{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 6px;
}

.btnGhost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,138,0,.25);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.9);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.btnGhost:hover{
  border-color: rgba(255,210,120,.75);
  box-shadow: 0 0 22px rgba(255,170,60,.12);
}

.note{
  color: rgba(255,255,255,.60);
  font-size: 12px;
  line-height: 1.5;
}

/* ===== STEP 4 WA ===== */
.announce{
  border-radius: 16px;
  border: 1px solid rgba(255,138,0,.18);
  background: rgba(0,0,0,.32);
  padding: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.announce b{ color: rgba(255,210,120,.95); }

.waBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,210,120,.55);
  background: linear-gradient(180deg, rgba(255,210,120,.22), rgba(0,0,0,.35));
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(255,170,60,.14);
}
.waBtn:hover{
  border-color: rgba(255,210,120,.9);
  box-shadow: 0 0 34px rgba(255,170,60,.18);
}
.waBtn svg{
  width: 18px;
  height: 18px;
  fill: rgba(255,210,120,.95);
  filter: drop-shadow(0 0 10px rgba(255,170,60,.14));
}

/* ===== Mobile tweaks ===== */
@media (max-width:768px){
  .topBar{ grid-template-columns: auto 1fr auto; }
  .headerMid{
    position:absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
    z-index:2;
    max-width: 70vw;
  }
  .photoWrap{ grid-template-columns: 1fr; }
}

@media (max-width:520px){
  .panel{ padding: 14px; }
  .panelTitle{ font-size: 28px; letter-spacing: 3px; }
  .stepBox{ width: 40px; height: 40px; border-radius: 10px; }
  .stepLine, .stepLineFill{ left: 26px; right: 26px; }
  .actions{ justify-content: stretch; }
  .btn{ width: 100%; }
  .formGrid{ grid-template-columns: 1fr; }
  .dp{ width: 100%; }
}