@import "tailwindcss";

:root {
  --navy: #082046;
  --navy-dark: #05142e;
  --navy-light: #102e5e;
  --red: #c81e28;
  --red-dark: #a9121b;
  --gold: #d97706;
  --gold-light: #fef3c7;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f1f5f9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font: inherit;
}

/* Header Topbar */
.topbar {
  height: 72px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1140px)/2));
  border-bottom: 1px solid #e2e8f0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.track-claim-topbar-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0c1e3d;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.track-claim-topbar-btn:hover {
  background: #082046;
  color: #ffffff;
  border-color: #082046;
}

/* Tracking Modal Dialog */
.tracker-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 32, 70, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.tracker-modal-card {
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid #e2e8f0;
  padding: 28px;
  position: relative;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tracker-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.tracker-close-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

.tracker-header {
  margin-bottom: 20px;
}

.tracker-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0c1e3d;
  margin: 0 0 4px;
}

.tracker-header p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.tracker-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.tracker-input {
  flex: 1;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 14px;
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
}

.tracker-input:focus {
  border-color: #082046;
  box-shadow: 0 0 0 3px rgba(8, 32, 70, 0.12);
}

.tracker-btn {
  background: #082046;
  color: #ffffff;
  border: 0;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.tracker-btn:hover {
  background: #0e2d5c;
}

.tracker-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.tracker-result-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tracker-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.tracker-status-tag {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
}

.tracker-details-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.tracker-detail-item {
  display: flex;
  justify-content: space-between;
}

.tracker-detail-item span:first-child {
  color: #64748b;
  font-weight: 600;
}

.tracker-detail-item span:last-child,
.tracker-detail-item strong {
  color: #0f172a;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.prize-tier-pill {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.secure-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
}

.secure-label svg {
  color: #16a34a;
  width: 18px;
  height: 18px;
}

.secure-label span {
  display: flex;
  flex-direction: column;
}

.secure-label b {
  font-size: 12px;
  color: #334155;
  line-height: 1.2;
}

.secure-label small {
  font-size: 10px;
  color: #94a3b8;
}

/* Main Form Portal Shell */
.form-portal-shell {
  min-height: calc(100vh - 180px);
  padding: 36px 16px 60px;
  display: flex;
  justify-content: center;
}

.claim-box-card {
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

/* 5-Step Progress Navigation Tabs Bar (Exact UI from screenshot) */
.step-tabs-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.step-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  transition: all 0.2s ease;
  user-select: none;
}

.step-tab:last-child {
  border-right: 0;
}

.step-tab.active-tab {
  background: #082046;
  color: #ffffff;
}

.tab-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.step-tab.active-tab .tab-circle {
  background: #ffffff;
  color: #082046;
}

.step-tab.completed-tab .tab-circle {
  background: #dcfce7;
  color: #15803d;
}

.tab-text-group {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tab-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.step-tab.active-tab .tab-title {
  color: #ffffff;
}

.tab-subtitle {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
  white-space: nowrap;
}

.step-tab.active-tab .tab-subtitle {
  color: #cbd5e1;
}

/* Card Body */
.claim-card-body {
  padding: 32px 38px 36px;
}

/* Top Notice/Advisory Banner matching screenshot */
.lottery-notice-banner {
  background: #fffdf6;
  border: 1px solid #fcefc7;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 22px;
}

.notice-banner-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #9a4805;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.notice-quote-block {
  border-left: 3.5px solid #d97706;
  padding-left: 14px;
  margin: 4px 0 0;
}

.notice-quote-block p {
  margin: 0;
  font-size: 13.5px;
  color: #1e293b;
  line-height: 1.55;
  font-style: normal;
}

/* Grantee Header Box (Exact UI from screenshot) */
.grantee-header-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.grantee-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.grantee-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94a3b8;
  text-transform: uppercase;
}

.grantee-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.grantee-p-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #c81e28;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.grantee-title {
  font-size: 17px;
  font-weight: 800;
  color: #0c1e3d;
  letter-spacing: -0.3px;
}

.grantee-right {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Step Form Content */
.step-content-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  color: #334155;
  text-transform: uppercase;
}

.serial-main-input {
  width: 100%;
  height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 16px;
  font-family: monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

.serial-main-input:focus {
  border-color: #082046;
  box-shadow: 0 0 0 3px rgba(8, 32, 70, 0.12);
}

.field-helper-note {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0;
  line-height: 1.4;
}

/* Six Balls Input Box (Exact from screenshot) */
.six-balls-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ball-input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ball-slot-input {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: #0c1e3d;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.ball-slot-input:focus {
  border-color: #082046;
  box-shadow: 0 0 0 4px rgba(8, 32, 70, 0.12);
}

.ball-slot-input.red-ball-slot {
  border-color: #fca5a5;
  background: #fff5f5;
  color: #c81e28;
}

.ball-slot-input.red-ball-slot:focus {
  border-color: #c81e28;
  box-shadow: 0 0 0 4px rgba(200, 30, 40, 0.15);
}

/* Red Button (Exact from screenshot) */
.btn-action-row {
  margin-top: 8px;
}

.check-numbers-red-btn {
  background: #c81e28;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(200, 30, 40, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.check-numbers-red-btn:hover {
  background: #a9121b;
  transform: translateY(-1px);
}

.check-numbers-red-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Status Banners */
.verify-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.verify-success-banner {
  background: #effaf6;
  border: 1px solid #a8dbc8;
  color: #107154;
  padding: 14px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.v-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #107154;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.verify-success-banner strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.verify-success-banner p {
  font-size: 12px;
  margin: 3px 0 0;
}

/* Step Intro Bar */
.step-intro-bar {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 6px;
}

.step-intro-bar h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0c1e3d;
  margin: 0 0 4px;
}

.step-intro-bar p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* General Text Inputs */
.text-input-field {
  width: 100%;
  height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

textarea.text-input-field {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

.text-input-field:focus {
  border-color: #082046;
  box-shadow: 0 0 0 3px rgba(8, 32, 70, 0.12);
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.grid-3-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

/* Step 4: Prize Amount Highlight Card */
.prize-amount-highlight-card {
  background: linear-gradient(135deg, #071b3b, #123363);
  color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(7, 27, 59, 0.15);
}

.p-amt-badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.3);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fef3c7;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.p-amt-val {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: -0.5px;
}

.p-amt-meta {
  font-size: 12px;
  color: #cbd5e1;
  display: block;
  margin-top: 4px;
}

/* Payment Options Grid */
.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.payout-choice-box {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.payout-choice-box input {
  position: absolute;
  opacity: 0;
}

.payout-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  background: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

.payout-choice-box.selected {
  border-color: #c81e28;
  background: #fffdfd;
}

.payout-choice-box.selected .payout-radio-circle {
  border-color: #c81e28;
  border-width: 6px;
}

.payout-choice-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0c1e3d;
  margin-bottom: 4px;
}

.payout-choice-text p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.popular-tag {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 8px;
}

.security-notice-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  color: #92400e;
  font-size: 12px;
}

.security-notice-box svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.security-notice-box p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Step 5: Summary Card */
.claim-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 8px;
}

.summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-row span:first-child {
  color: #64748b;
  font-weight: 600;
}

.certify-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
}

.certify-label-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  cursor: pointer;
}

.certify-label-row input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.submit-final-claim-btn {
  width: 100%;
  height: 52px;
  background: #c81e28;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(200, 30, 40, 0.3);
}

.submit-final-claim-btn:hover {
  background: #a9121b;
  transform: translateY(-1px);
}

.submit-final-claim-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Bottom Footer Navigation Bar (Exact from screenshot) */
.claim-card-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-back-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-back-btn:hover:not(:disabled) {
  background: #f1f5f9;
}

.footer-back-btn.disabled, .footer-back-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.step-counter-text {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.footer-continue-btn {
  background: #082046;
  color: #ffffff;
  border: 0;
  padding: 11px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-continue-btn:hover {
  background: #0e2d5c;
  transform: translateY(-1px);
}

/* Celebration Overlay */
.celebration {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(7, 26, 57, 0.72);
  backdrop-filter: blur(3px);
  animation: celebrateFade 4.2s ease forwards;
  pointer-events: none;
}

.celebration-bubble {
  position: relative;
  z-index: 2;
  background: #fff;
  width: min(440px, calc(100% - 36px));
  padding: 38px 30px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  animation: bubblePop 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.4);
}

.celebration-bubble p {
  font: 400 36px Georgia, serif;
  color: var(--navy);
  margin: 0 0 4px;
}

.bubble-tier-pill {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.celebration-bubble strong {
  display: block;
  color: var(--red);
  font-size: 16px;
  font-weight: 800;
}

.celebration-bubble small {
  display: block;
  color: #728096;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
}

.confetti-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.confetti-field i {
  position: absolute;
  top: -10%;
  width: 10px;
  height: 18px;
  animation: confettiFall 2.7s linear infinite;
  transform: rotate(20deg);
}

/* Success Card */
.success-wrap {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0, #173863, #071a39 62%);
  padding: 60px 20px;
  display: grid;
  place-items: center;
}

.success-card {
  width: min(640px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 48px 54px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.success-check {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #e6f7ef;
  color: #12805a;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.grand-prize-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.success-card h1 {
  font: 400 34px/1.15 Georgia, serif;
  margin: 0;
  color: var(--navy);
}

.success-copy {
  font-size: 13px;
  line-height: 1.7;
  color: #6d798c;
  margin: 16px auto 22px;
  max-width: 480px;
}

.reference-box {
  background: #f5f7fa;
  border: 1px solid #e1e6ec;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.ref-tier-tag {
  font-size: 10px;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.reference-box span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8994a4;
}

.reference-box strong {
  color: var(--red);
  font-size: 22px;
  letter-spacing: 1px;
  font-family: monospace;
}

.agent-email-button {
  margin-top: 18px;
  min-height: 46px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(215, 25, 32, 0.2);
  transition: all 0.2s;
}

.agent-email-button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.agent-email-button svg {
  width: 17px;
}

.agent-email-note {
  margin: 8px 0 0;
  color: #8b95a5;
  font-size: 10px;
}

.next-steps {
  text-align: left;
  margin-top: 26px;
  border-top: 1px solid #e5e9ef;
  padding-top: 22px;
}

.next-steps h2 {
  font: 18px Georgia, serif;
  color: var(--navy);
  margin: 0 0 12px;
}

.next-steps p {
  font-size: 12px;
  color: #68758a;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}

.next-steps b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fbe9ea;
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
}

.support-line {
  font-size: 11px;
  color: #8a95a5;
  margin: 24px 0 0;
}

/* Footer */
footer {
  min-height: 90px;
  border-top: 1px solid #e0e4ea;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 22px max(24px, calc((100vw - 1140px)/2));
  color: #8b95a5;
  gap: 35px;
}

footer>div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

footer>div p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

footer b {
  color: #536076;
  font-size: 11px;
}

footer span, footer>p {
  font-size: 9px;
  margin-top: 3px;
}

footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

footer a {
  font-size: 11px;
  color: #68758a;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: #0c1e3d;
}

footer>p {
  margin: 0;
  max-width: 240px;
  line-height: 1.5;
}

/* Staff Sign In UI matching screenshot */
.staff-signin-wrap {
  min-height: 100vh;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.staff-signin-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 20px;
  padding: 44px 38px 38px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.04);
  text-align: center;
}

.staff-signin-card h1 {
  font-size: 28px;
  font-weight: 800;
  color: #0c1e3d;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.staff-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 28px;
  line-height: 1.4;
}

.staff-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.staff-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.staff-label span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #334155;
  text-transform: uppercase;
}

.staff-label input {
  height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 15px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

.staff-label input:focus {
  border-color: #0c1e3d;
  box-shadow: 0 0 0 3px rgba(12, 30, 61, 0.12);
}

.staff-signin-btn {
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: #082046;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-signin-btn:hover {
  background: #0e2d5c;
  transform: translateY(-1px);
}

.staff-signin-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.staff-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
}

.staff-footnote {
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.staff-footnote strong {
  color: #334155;
}

/* Admin Dashboard UI */
.admin-page {
  min-height: 100vh;
  background: #f8fafc;
  padding: 36px max(24px, calc((100vw - 1200px)/2)) 60px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-brand-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.admin-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: #0c1e3d;
  margin: 0;
}

.admin-header-desc {
  color: #64748b;
  font-size: 13px;
  margin: 6px 0 0;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.user-badge {
  font-size: 12px;
  color: #475569;
  background: #e2e8f0;
  padding: 8px 14px;
  border-radius: 6px;
}

.view-portal-btn {
  font-size: 12px;
  font-weight: 600;
  color: #0c1e3d;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.view-portal-btn:hover {
  background: #f1f5f9;
}

.logout-btn {
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.logout-btn:hover {
  background: #fee2e2;
}

/* Nav Tabs */
.admin-nav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 2px;
}

.tab-btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: #0c1e3d;
}

.tab-btn.active {
  color: #0c1e3d;
  border-bottom-color: #c81e28;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.admin-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.admin-tier-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.admin-card h2 {
  font-size: 19px;
  font-weight: 800;
  color: #0c1e3d;
  margin: 0 0 8px;
}

.admin-card p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.issue-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mode-toggle-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mode-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #334155;
  text-transform: uppercase;
}

.mode-toggle-pills {
  display: flex;
  gap: 10px;
}

.pill-btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-btn:hover {
  background: #f1f5f9;
}

.pill-btn.active {
  background: #082046;
  color: #ffffff;
  border-color: #082046;
  box-shadow: 0 2px 8px rgba(8, 32, 70, 0.2);
}

.custom-numbers-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-box-title {
  font-size: 11px;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.5px;
}

.admin-num-inputs {
  display: flex;
  gap: 8px;
}

.admin-box-input {
  width: 48px;
  height: 48px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #0c1e3d;
  outline: none;
  background: #ffffff;
  transition: all 0.2s;
}

.admin-box-input:focus {
  border-color: #0c1e3d;
  box-shadow: 0 0 0 3px rgba(12, 30, 61, 0.15);
}

.admin-box-input.last-red-box {
  border-color: #fca5a5;
  background: #fff5f5;
  color: #c81e28;
}

.admin-box-input.last-red-box:focus {
  border-color: #c81e28;
  box-shadow: 0 0 0 3px rgba(200, 30, 40, 0.15);
}

.custom-hint {
  font-size: 11px;
  color: #64748b;
}

.generated-card {
  background: linear-gradient(145deg, #071b3b, #123363);
  color: #ffffff;
  border: 0;
}

.gen-tier-pill {
  display: inline-block;
  background: rgba(217, 119, 6, 0.3);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fef3c7;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.generated-card h2 {
  color: #ffffff;
}

.generated-entries-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.single-gen-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 16px;
}

.serial-display {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}

.serial-display span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #94a3b8;
}

.serial-display strong {
  font-family: monospace;
  font-size: 20px;
  color: #f8fafc;
  letter-spacing: 1.5px;
}

.admin-number-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.admin-number-row i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #0c1e3d;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}

.admin-number-row i.red-powerball-ball {
  background: #c81e28;
  color: #ffffff;
}

.gen-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.gen-meta-row b {
  color: #ffffff;
}

.copy-button {
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.25);
}

.empty-state {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-align: center;
}

.empty-state span {
  font-size: 32px;
  margin-bottom: 10px;
}

/* Records Table */
.entries-card {
  padding: 0;
  overflow: hidden;
}

.table-title {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}

.table-title h2 {
  margin: 0 0 4px;
}

.table-title p {
  margin: 0;
}

.table-title button {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.entry-table {
  overflow-x: auto;
}

.table-row {
  min-width: 900px;
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 0.9fr 0.9fr 0.8fr;
  padding: 14px 28px;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
  color: #334155;
}

.table-head {
  background: #f8fafc;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
}

.mini-num-balls {
  display: inline-flex;
  gap: 4px;
}

.mini-num-balls em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  color: #0f172a;
}

.mini-num-balls em.red-mini {
  background: #c81e28;
  color: #ffffff;
}

.status-active {
  background: #dcfce7;
  color: #15803d;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.status-claimed {
  background: #f1f5f9;
  color: #64748b;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.copy-mini-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0c1e3d;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.copy-mini-btn:hover {
  background: #e2e8f0;
}

.delete-entry-btn {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.delete-entry-btn:hover {
  background: #fee2e2;
}

.no-entries {
  padding: 40px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

/* Account Tab */
.account-card {
  max-width: 600px;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.account-success {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.account-save-btn {
  margin-top: 6px;
  background: #082046;
}

.account-save-btn:hover {
  background: #0e2d5c;
}

/* Admin Edit Modal & Status Badges */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 32, 70, 0.68);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.admin-modal-card {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid #e2e8f0;
  padding: 28px 32px;
  position: relative;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

.modal-header {
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: 21px;
  font-weight: 800;
  color: #0c1e3d;
  margin: 0 0 4px;
}

.modal-header p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.linked-claim-box {
  background: #f0f7ff;
  border: 1.5px solid #bae6fd;
  border-radius: 10px;
  padding: 14px 16px;
}

.edit-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.edit-mini-btn {
  background: #082046;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.edit-mini-btn:hover {
  background: #0e2d5c;
  transform: translateY(-1px);
}

.edit-btn-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.edit-btn-card:hover {
  background: rgba(255, 255, 255, 0.25);
}

.clear-all-btn {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.clear-all-btn:hover {
  background: #fee2e2;
  border-color: #f87171;
}

/* Status Badges */
.admin-status-badge {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
  white-space: nowrap;
}

.status-active {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.status-review {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.status-verified {
  background: #fdf4ff;
  color: #a21caf;
  border: 1px solid #f5d0fe;
}

.status-approved {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.status-payout {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.status-claimed {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.status-void {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

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

@keyframes bubblePop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes confettiFall {
  to {
    top: 110%;
    transform: rotate(720deg);
  }
}

@keyframes celebrateFade {
  0%, 82% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .step-tabs-bar {
    grid-template-columns: 1fr;
  }
  .step-tab {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }
  .grid-2-col, .grid-3-col, .payment-options-grid {
    grid-template-columns: 1fr;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .topbar {
    height: 65px;
    padding: 0 16px;
  }
  .claim-card-body {
    padding: 22px 18px;
  }
  .grantee-header-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .six-balls-container {
    gap: 8px;
    justify-content: space-between;
  }
  .ball-slot-input {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .success-card {
    padding: 34px 20px;
  }
}
