* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #f8fafc;
  padding: 20px;
}

.card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #f1f5f9;
}

.subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 8px;
  line-height: 1.5;
}

.instruction {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 24px;
  font-weight: 500;
}

.btn {
  display: inline-block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.primary-btn {
  background: #2563eb;
  color: #ffffff;
}

.primary-btn:hover {
  background: #1d4ed8;
}

.danger-btn {
  background: #dc2626;
  color: #ffffff;
}

.danger-btn:hover {
  background: #b91c1c;
}

.secondary-btn {
  background: #334155;
  color: #cbd5e1;
}

.secondary-btn:hover {
  background: #475569;
}

/* Modal */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.overlay.hidden {
  display: none;
}

.modal {
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 16px;
  padding: 28px 20px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.modal-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.modal h2 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #f87171;
}

.modal p {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.solution-box {
  background: #0f172a;
  border: 2px dashed #ef4444;
  color: #ef4444;
  padding: 14px;
  font-weight: 800;
  font-size: 14px;
  border-radius: 8px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}