* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(120deg, #0f172a 0%, #2e5695 40%);
  color: #111827;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 30% 70%;
}

.left-panel {
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-box {
  max-width: 280px;
  color: #ffffff;
}

.small-text {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 12px;
}

.brand-box h1 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.right-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.form-wrapper {
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #dbe3ee;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-fill {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, #5685ec, #4f3aed);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.step-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s ease;
}

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

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  font-size: 24px;
  margin-bottom: 18px;
  color: #111827;
}

.input-grid {
  display: grid;
  gap: 14px;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

.full-width {
  grid-column: 1 / -1;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 13px;
  color: #111827;
}

.input-group input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.input-group input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.error {
  display: block;
  min-height: 14px;
  margin-top: 4px;
  font-size: 12px;
  color: #dc2626;
}

.button-row {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.button-row.end {
  justify-content: flex-end;
}

button {
  min-width: 100px;
  height: 42px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
}

.next-btn,
.submit-btn {
  background: #111827;
  color: #ffffff;
}

.prev-btn {
  background: #e5e7eb;
  color: #111827;
}

#successMessage {
  min-height: 20px;
  margin-top: 14px;
  text-align: center;
  color: #15803d;
  font-weight: bold;
  font-size: 14px;
}

@media (max-width: 950px) {
  .page {
    grid-template-columns: 1fr;
  }

  .left-panel {
    padding: 28px 20px 8px;
  }

  .brand-box {
    max-width: 100%;
  }

  .brand-box h1 {
    font-size: 30px;
  }

  .right-panel {
    padding: 16px;
  }

  .form-wrapper {
    max-width: 100%;
    padding: 20px;
  }
}

@media (max-width: 650px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .step-header {
    gap: 8px;
  }

  .step-circle {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .form-step h2 {
    font-size: 22px;
  }

  .button-row {
    flex-direction: column;
  }

  button {
    width: 100%;
  }
}
