/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange-primary: #FF6B35;
  --orange-dark: #E85D2C;
  --orange-light: #FFB86A;
  --gradient-main: linear-gradient(135deg, #FF7A3A, #FF6B35, #FFB86A);
  --gradient-subtle: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(255,184,106,0.08));
  --dark: #0A0A0F;
  --dark-secondary: #1a1a24;
  --text-primary: #0A0A0F;
  --text-secondary: #555;
  --text-muted: #999;
  --bg-page: #FAF9F6;
  --bg-card: #FFFFFF;
  --bg-input: #FAFAFA;
  --border-light: #E8E4DE;
  --border-focus: #FF6B35;
  --shadow-card: 0 4px 32px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 48px rgba(0,0,0,0.1);
  --shadow-input: 0 2px 8px rgba(0,0,0,0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html, body {
  height: auto;
  overflow: auto;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== ANIMATED BACKGROUND ===== */
.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: float-orb 20s ease-in-out infinite;
}

.page-bg .orb-1 {
  width: 400px;
  height: 400px;
  background: var(--orange-primary);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.page-bg .orb-2 {
  width: 300px;
  height: 300px;
  background: var(--orange-light);
  bottom: -50px;
  left: -50px;
  animation-delay: -7s;
}

.page-bg .orb-3 {
  width: 200px;
  height: 200px;
  background: #FF7A3A;
  top: 50%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.02); }
}

/* ===== STROKE DECORATION ===== */
.stroke-decoration {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 320px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* ===== MAIN CONTAINER ===== */
.main-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

/* ===== HEADER ===== */
.form-header {
  text-align: center;
  margin-bottom: 12px;
}

.form-header .logo {
  height: 56px;
  margin-bottom: 8px;
  transition: transform var(--transition-smooth);
}

.form-header .logo:hover {
  transform: scale(1.05);
}

.form-header .tagline {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange-primary);
}

/* ===== PROGRESS BAR ===== */
.progress-container {
  margin-bottom: 16px;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 120px;
}

.progress-step .step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-smooth);
  position: relative;
}

.progress-step.active .step-circle {
  background: var(--gradient-main);
  border-color: var(--orange-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,107,53,0.35);
  transform: scale(1.1);
}

.progress-step.completed .step-circle {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
  color: #fff;
}

.progress-step .step-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
  color: var(--orange-primary);
}

.progress-line {
  flex: 1;
  height: 3px;
  background: var(--border-light);
  position: relative;
  top: -12px;
  max-width: 80px;
}

.progress-line .progress-line-fill {
  height: 100%;
  background: var(--orange-primary);
  border-radius: 2px;
  width: 0%;
  transition: width var(--transition-smooth);
}

.progress-line.filled .progress-line-fill {
  width: 100%;
}

/* ===== FORM CARD ===== */
.form-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  border: none;
}

/* ===== STEP SECTIONS ===== */
.step-section {
  display: none;
  padding: 20px 36px;
  animation: fadeSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ===== WELCOME STEP (Step 0) ===== */
.welcome-section {
  text-align: center;
  padding: 20px 36px !important;
}

.welcome-section .welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.welcome-section h1 {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 6px;
}

.welcome-section h1 span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-section .welcome-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Welcome Grid */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
  margin-bottom: 16px;
}

.welcome-grid .role-card {
  margin-bottom: 0;
}

/* Role Responsibilities Card */
.role-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
}

.role-card .role-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  width: 100%;
}

.role-card-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-card .role-card-title .icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.role-card ul {
  list-style: none;
  padding: 0;
}

.role-card ul li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.role-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-main);
}

.role-card .fresher-note {
  background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(255,184,106,0.06));
  border: 1px solid rgba(255,107,53,0.12);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--orange-dark);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.role-card .fresher-note .note-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.4;
}

/* Legal Notice Card */
.legal-card {
  background: #FEFCFA;
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  text-align: left;
  margin-bottom: 16px;
}

.legal-card .legal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.legal-card .legal-title .shield-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0A0A0F, #1a1a24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.legal-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Compensation Card */
.compensation-badge-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--orange-primary);
  background: rgba(255,107,53,0.1);
  padding: 4px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.compensation-example {
  background: #FAF9F6;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 10px;
}

.compensation-example-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.compensation-example-title strong {
  color: var(--orange-primary);
  font-size: 16px;
}

.compensation-example-calc {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(232,228,222,0.6);
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-secondary);
}

.calc-row.highlight {
  background: var(--orange-primary);
  color: #fff;
  font-weight: 700;
}

.calc-row.highlight .calc-value {
  color: #fff;
}

.calc-value {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
}

.calc-divider {
  height: 1px;
  background: var(--border-light);
}

/* Removed obsolete warning classes */

/* Commission No Warning */
.commission-no-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 16px;
  background: #FFF0EC;
  border: 1px solid rgba(231,76,60,0.2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #c0392b;
  line-height: 1.5;
}

.commission-no-msg svg {
  flex-shrink: 0;
  margin-top: 1px;
  stroke: #c0392b;
}

/* Commission Agreement Box */
.commission-agreement {
  background: linear-gradient(135deg, rgba(255,107,53,0.04), rgba(255,184,106,0.04));
  border-color: var(--orange-primary) !important;
}

/* ===== FORM ELEMENTS ===== */
.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--orange-primary);
  margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-focus);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,107,53,0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Radio & Checkbox Groups */
.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-option,
.checkbox-option {
  position: relative;
}

.radio-option input,
.checkbox-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-option label,
.checkbox-option label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--bg-input);
  margin-bottom: 0;
}

.radio-option label:hover,
.checkbox-option label:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
}

.radio-option input:checked + label,
.checkbox-option input:checked + label {
  background: var(--gradient-subtle);
  border-color: var(--orange-primary);
  color: var(--orange-primary);
  font-weight: 600;
}

.radio-option label .radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.radio-option input:checked + label .radio-dot {
  border-color: var(--orange-primary);
}

.radio-option input:checked + label .radio-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-primary);
}

.checkbox-option label .check-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  font-size: 11px;
  color: transparent;
}

.checkbox-option input:checked + label .check-box {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
  color: #fff;
}

/* Fresher-friendly note under field */
.field-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255,107,53,0.04), rgba(255,184,106,0.04));
  border: 1px solid rgba(255,107,53,0.1);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--orange-dark);
  line-height: 1.6;
}

.field-note .note-icon {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1.5;
}

/* File Upload */
.file-upload-area {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--bg-input);
  position: relative;
}

.file-upload-area:hover {
  border-color: var(--orange-primary);
  background: rgba(255,107,53,0.02);
}

.file-upload-area.has-file {
  border-color: var(--orange-primary);
  border-style: solid;
  background: var(--gradient-subtle);
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-area .upload-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.file-upload-area .upload-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.file-upload-area .upload-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.file-upload-area .file-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-primary);
  margin-top: 8px;
}

/* ===== REVIEW STEP ===== */
.review-section {
  margin-bottom: 20px;
}

.review-section .review-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.review-section .review-section-title h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.review-section .edit-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background var(--transition-fast);
  font-family: 'Inter', sans-serif;
}

.review-section .edit-btn:hover {
  background: var(--gradient-subtle);
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.review-item {
  padding: 10px 14px;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(232,228,222,0.5);
}

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

.review-item .review-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.review-item .review-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
  word-break: break-word;
}

/* Agreement Checkbox */
.agreement-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-top: 24px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.agreement-box:hover {
  border-color: var(--orange-primary);
}

.agreement-box input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--orange-primary);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.agreement-box span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== BUTTONS ===== */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 36px 24px;
  border-top: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(255,107,53,0.45);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.btn-start {
  padding: 16px 48px;
  font-size: 15px;
  border-radius: 100px;
}

/* Loading spinner on button */
.btn .spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== SUCCESS STEP ===== */
.success-section {
  text-align: center;
  padding: 60px 36px !important;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 32px rgba(255,107,53,0.3);
}

.success-checkmark svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-checkmark svg .check-path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: drawCheck 0.5s 0.4s ease forwards;
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.success-section h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.success-section p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.7;
}

.success-section .email-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--gradient-subtle);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-primary);
}

/* ===== ERROR STATE ===== */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
  box-shadow: 0 0 0 4px rgba(231,76,60,0.08);
}

.form-group .error-msg {
  display: none;
  font-size: 12px;
  color: #e74c3c;
  margin-top: 6px;
  font-weight: 500;
}

.form-group.error .error-msg {
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 850px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .main-container {
    padding: 20px 12px 40px;
  }

  .form-header .logo {
    height: 48px;
  }

  .step-section {
    padding: 24px 16px;
  }

  .welcome-section {
    padding: 24px 16px !important;
  }

  .welcome-section h1 {
    font-size: 22px;
  }

  .welcome-section .welcome-subtitle {
    font-size: 12.5px;
    margin-bottom: 16px;
  }

  .role-card {
    padding: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .radio-group,
  .checkbox-group {
    flex-direction: column;
    gap: 8px;
  }

  .radio-option label,
  .checkbox-option label {
    width: 100%;
  }

  .form-actions {
    padding: 16px 16px 20px;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .form-actions .btn {
    width: 100%;
  }

  .progress-step .step-label {
    font-size: 8px;
  }

  .progress-step .step-circle {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .progress-line {
    max-width: 35px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 18px;
  }

  .success-section {
    padding: 36px 16px !important;
  }

  .stroke-decoration {
    width: 140px;
  }
}

@media (max-width: 380px) {
  .progress-line {
    max-width: 15px;
  }
  .progress-step .step-label {
    font-size: 7.5px;
    letter-spacing: -0.02em;
  }
  .progress-step .step-circle {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }
}
