:root {
  --bg: #fffceb;
  --primary: #0b3fa8;
  --primary-hover: #072f7d;
  --ok: #16a34a;
  --ring: rgba(11, 63, 168, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  background: var(--bg);
  color: #111;
}

.wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 22px 22px 16px;
}

.steps {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 10px;
}

.step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
}

.bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.step.active .bullet {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring);
}

.step.done .bullet {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

.title {
  font-size: 22px;
  margin: 8px 0 4px 0;
}

.sub {
  font-size: 14px;
  color: #555;
  margin: 0 0 16px;
}

.btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  background: var(--primary);
  transition: .2s;
  animation: pulse 1.5s infinite;
  cursor: pointer;
}

.btn:hover {
  background: var(--primary-hover);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .92; }
}

.field {
  margin: 14px 0;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring);
  outline: none;
}

.hidden {
  display: none;
}

.error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
  padding: 8px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 13px;
}

.trust {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #444;
}

/* slider captcha */
.slider-container {
  background: #f3f4f6;
  border-radius: 999px;
  position: relative;
  height: 46px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.slider-btn {
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: background .2s;
  touch-action: none;
}

.slider-text {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 14px;
  pointer-events: none;
}

.slider-container.success {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.slider-container.success .slider-text {
  color: #14532d;
}

.slider-container {
  touch-action: pan-y;
}

/* Custom classes for inline styles */
.image-container {
  margin-top: 16px;
  text-align: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
}

.trust-small {
  margin-bottom: 8px;
}

.links-container {
  text-align: center;
  font-size: 12px;
}

.links-container a {
  color: #0b3fa8;
  text-decoration: none;
}

.links-container span {
  margin: 0 8px;
  color: #999;
}
