.page { min-height: 100vh; background: linear-gradient(180deg, var(--sage-50) 0%, white 50%, var(--sage-50) 100%); display: flex; flex-direction: column; }

/* Entrance animation */
.content > * {
  animation: slideUpFade 0.5s ease both;
}
.content > *:nth-child(1) { animation-delay: 0s; }
.content > *:nth-child(2) { animation-delay: 0.1s; }
.content > *:nth-child(3) { animation-delay: 0.15s; }
.content > *:nth-child(4) { animation-delay: 0.2s; }
.content > *:nth-child(5) { animation-delay: 0.25s; }
.content > *:nth-child(6) { animation-delay: 0.3s; }
.content > *:nth-child(7) { animation-delay: 0.35s; }

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.header {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sage-100);
  padding: 0 16px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--sage-500); text-decoration: none; transition: all 0.3s ease; }
.logo:hover { transform: translateX(4px); }
.headerTitle { font-weight: 600; color: var(--text-dark); font-size: 0.875rem; }

.content { max-width: 480px; margin: 0 auto; width: 100%; padding: 28px 20px; display: flex; flex-direction: column; gap: 20px; }

/* Summary */
.summaryCard {
  background: linear-gradient(135deg, white 0%, var(--sage-50) 100%);
  border: 1px solid var(--sage-100);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.summaryCard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.summaryTitle { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--sage-500); margin-bottom: 16px; }
.summaryRow {
  display: flex; justify-content: space-between; align-items: flex-start;
  font-size: 0.875rem; color: var(--sage-400); margin-bottom: 8px; gap: 12px;
  transition: all 0.2s ease;
  padding: 4px 0;
}
.summaryRow:hover { background: rgba(113,131,85,0.03); padding: 4px 8px; margin: -4px -8px 4px; border-radius: var(--radius-sm); }
.summaryRow span:last-child { font-weight: 600; color: var(--text-dark); text-align: right; }
.summaryDivider { height: 1px; background: linear-gradient(90deg, transparent, var(--sage-200), transparent); margin: 12px 0; }
.totalRow { display: flex; justify-content: space-between; font-size: 1rem; font-weight: 700; color: var(--sage-500); }

/* Booking Code */
.bookingCodeBox {
  background: linear-gradient(135deg, var(--sage-100), var(--sage-50));
  border-radius: var(--radius-lg); padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--sage-200);
  animation: pulse 3s infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(113,131,85,0.1); } 50% { box-shadow: 0 0 0 4px rgba(113,131,85,0.05); } }
.bookingCode { font-family: monospace; font-size: 1rem; font-weight: 700; color: var(--sage-500); letter-spacing: 0.05em; word-break: break-all; }

/* Method */
.methodBox {
  background: var(--white); border: 1px solid var(--sage-100);
  border-radius: var(--radius-xl); padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.methodBox:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.methodLabel { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage-300); margin-bottom: 12px; }
.methodSelected {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--sage-50), white);
  border: 1.5px solid var(--sage-400); border-radius: var(--radius-lg); padding: 14px 16px;
  transition: all 0.3s ease;
}
.methodSelected:hover { border-color: var(--sage-500); box-shadow: var(--shadow-sm); }
.methodIcon { font-size: 1.75rem; flex-shrink: 0; animation: bounceIn 0.5s ease; }
@keyframes bounceIn { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
.methodName { font-weight: 700; font-size: 1rem; color: var(--sage-500); }
.methodDesc { font-size: 0.8rem; color: var(--sage-400); margin-top: 2px; }
.methodCheck { margin-left: auto; color: var(--sage-500); font-size: 1.25rem; font-weight: 700; flex-shrink: 0; animation: popIn 0.3s ease; }
@keyframes popIn { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }

.secureNote { text-align: center; font-size: 0.8rem; color: var(--sage-300); }

/* QRIS Modal */
.qrisModal {
  background: linear-gradient(135deg, white, var(--sage-50));
  border-radius: var(--radius-xl);
  padding: 24px;
  max-width: 400px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 16px;
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.qrisModalHeader { display: flex; justify-content: space-between; align-items: center; }
.qrisModalTitle { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--sage-500); }
.closeBtn {
  background: linear-gradient(135deg, var(--sage-100), var(--sage-50));
  border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-400);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.closeBtn:hover { background: var(--sage-200); transform: rotate(90deg) scale(1.1); }
.closeBtn:disabled { opacity: 0.5; cursor: not-allowed; }

.timer { text-align: center; font-size: 0.875rem; color: var(--sage-400); background: var(--sage-50); padding: 8px; border-radius: var(--radius-md); }

.qrisActions { display: flex; flex-direction: column; gap: 8px; }
.checkingRow { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--sage-400); font-size: 0.9375rem; padding: 12px; }
.checkingDone { color: var(--success); }

/* Timer text colors */
.timerNormal { color: var(--sage-500); }
.timerUrgent { color: var(--error); }

/* QR card override */
.qrisCardClean { box-shadow: none !important; border: none !important; padding: 0 !important; }
.qrImg { border-radius: 8px; display: block; transition: all 0.3s ease; }
.qrImg:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.qrisImageWrap { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.qrisPlaceholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--sage-50); border-radius: 8px; border: 2px dashed var(--sage-200);
  animation: fadeIn 0.3s ease;
}
.qrisOwner { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--sage-500); text-align: center; margin-bottom: 12px; }

/* Badge size override */
.qrisBadge { font-size: 0.7rem; }

/* QRIS Instructions */
.qrisInstructions {
  font-size: 0.8125rem; color: var(--sage-400);
  background: linear-gradient(135deg, var(--sage-50), white);
  border-radius: var(--radius-lg); padding: 14px 16px;
  border: 1px solid var(--sage-100);
}
.qrisInstructions ol { padding-left: 18px; margin: 6px 0 0; display: flex; flex-direction: column; gap: 4px; }
.qrisInstructions ol li { transition: all 0.2s ease; }
.qrisInstructions ol li:hover { color: var(--sage-500); transform: translateX(4px); }
.adminNote { margin-top: 10px; color: var(--sage-400); font-size: 0.8rem; text-align: center; }

/* Claim states */
.checkingError { color: #dc2626; gap: 8px; flex-wrap: wrap; }

/* ── Cash Section ───────────────────────────────────── */
.cashSection { display: flex; flex-direction: column; gap: 16px; }
.cashInfo {
  background: linear-gradient(135deg, white 0%, var(--sage-50) 100%);
  border: 1px solid var(--sage-100);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center;
  transition: all 0.3s ease;
  animation: slideUpFade 0.4s ease;
}
.cashInfo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cashTitle { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--sage-500); margin-bottom: 8px; }
.cashAmount {
  font-size: 1.75rem; font-weight: 800; color: var(--text-dark);
  font-family: var(--font-display);
  margin-bottom: 12px;
  animation: countUp 0.6s ease;
}
@keyframes countUp { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
.cashDesc { font-size: 0.875rem; color: var(--sage-400); line-height: 1.6; max-width: 320px; }

@media (max-width: 480px) {
  .content { padding: 20px 14px; }
  .summaryCard { padding: 16px; }
  .cashInfo { padding: 20px 16px; }
  .cashAmount { font-size: 1.5rem; }
  .qrisImageWrap { width: 180px; height: 180px; }
  .qrisModal { padding: 16px; }
}
