/* ===== BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: #f4f6f4;
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }

:root {
  --green:       #2d7a2d;
  --green-dark:  #1e5c1e;
  --green-light: #3a8f3a;
  --green-bg:    #f0f7f0;
  --green-border:#b8d8b8;
  --white:       #ffffff;
  --gray-50:     #fafafa;
  --gray-100:    #f4f4f4;
  --gray-200:    #e8e8e8;
  --gray-300:    #d0d0d0;
  --gray-400:    #bdbdbd;
  --gray-500:    #9e9e9e;
  --gray-600:    #757575;
  --gray-800:    #424242;
  --danger:      #e53935;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.13);
  --radius:      12px;
  --radius-lg:   20px;
}

/* ===== LOGIN LAYOUT ===== */
.auth-page {
  display: flex;
  min-height: 100vh;
}

/* LEFT PANEL */
.auth-left {
  width: 420px;
  flex-shrink: 0;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -80px; right: -80px;
}
.auth-left::after {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  bottom: -60px; left: -60px;
}
.auth-left-inner { position: relative; z-index: 1; }
.auth-brand-mark {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 36px;
}
.brand-circle {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.auth-brand-name {
  font-size: 20px; font-weight: 800;
  color: #fff; letter-spacing: -0.3px;
}
.auth-brand-sub { font-size: 12px; color: rgba(255,255,255,0.65); }
.auth-left-title {
  font-size: 26px; font-weight: 800;
  color: #fff; line-height: 1.3;
  margin-bottom: 14px;
}
.auth-left-desc {
  font-size: 14px; color: rgba(255,255,255,0.75);
  line-height: 1.75; margin-bottom: 32px;
}
.auth-features { display: flex; flex-direction: column; gap: 14px; }
.auth-feature-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: rgba(255,255,255,0.9); font-weight: 500;
}
.af-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* RIGHT PANEL */
.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: #f4f6f4;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 44px;
  width: 100%;
  max-width: 480px;
}
.auth-card-header { text-align: center; margin-bottom: 28px; }
.auth-pig-icon { font-size: 40px; margin-bottom: 10px; }
.auth-card-title {
  font-size: 24px; font-weight: 800;
  color: var(--green-dark); margin-bottom: 6px;
}
.auth-card-sub { font-size: 13px; color: var(--gray-600); }

/* ALERT */
.auth-alert {
  background: #fff3f3;
  border: 1px solid #ffcdd2;
  border-left: 4px solid var(--danger);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px; color: #c62828;
  margin-bottom: 20px;
}

/* ROLE TABS */
.role-tabs {
  display: flex; gap: 8px;
}
.role-tab {
  flex: 1; cursor: pointer;
}
.role-tab input { display: none; }
.role-tab span {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 8px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 12px; font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-50);
  transition: all 0.2s;
  text-align: center;
}
.role-tab:hover span { border-color: var(--green-border); background: var(--green-bg); }
.role-tab input:checked + span {
  border-color: var(--green);
  background: var(--green-bg);
  color: var(--green-dark);
}

/* FORM */
.auth-form { display: flex; flex-direction: column; gap: 0; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--gray-800); margin-bottom: 7px;
}
.req { color: var(--danger); }
.input-wrap { position: relative; }
.form-input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px; font-family: inherit;
  color: var(--gray-800); background: var(--white);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,122,45,0.12);
}
.form-input::placeholder { color: var(--gray-400); }
.input-pw .form-input { padding-right: 44px; }
.pw-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); padding: 4px;
  display: flex; align-items: center;
}
.pw-eye:hover { color: var(--green); }
.form-row-end { display: flex; justify-content: flex-end; margin-top: 6px; }
.forgot-link { font-size: 12px; color: var(--green); font-weight: 500; }
.forgot-link:hover { text-decoration: underline; }
.pw-strength { margin-top: 6px; min-height: 18px; }

/* SUBMIT BUTTON */
.btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px;
  background: var(--green);
  color: #fff;
  border: none; border-radius: var(--radius);
  font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 4px;
}
.btn-submit:hover { background: var(--green-dark); transform: translateY(-1px); }

/* DIVIDER */
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--gray-400); font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--gray-200);
}

.auth-switch { text-align: center; font-size: 13px; color: var(--gray-600); }
.auth-link { color: var(--green); font-weight: 600; }
.auth-link:hover { text-decoration: underline; }

/* ===== REGISTER PAGE ===== */
.reg-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 40px);
  background-color: #0d3310;
  background-image:
    linear-gradient(165deg, rgba(13,51,16,0.78) 0%, rgba(26,92,26,0.62) 42%, rgba(15,55,18,0.74) 100%),
    url('uploads/homepage%20pics/pigs.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.reg-body.reg-body--picker {
  padding: 0;
  background-color: #efe04a;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 28px,
      rgba(255,255,255,0.18) 28px,
      rgba(255,255,255,0.18) 30px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 28px,
      rgba(255,255,255,0.12) 28px,
      rgba(255,255,255,0.12) 30px
    ),
    linear-gradient(160deg, #f5e84a 0%, #efe04a 50%, #e8d840 100%);
  background-attachment: fixed;
}
.reg-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(6,18,6,0.18);
  pointer-events: none;
  z-index: 0;
}
.reg-body.reg-body--picker::before { display: none; }
.reg-body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(124,181,24,0.22) 0%, transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(255,255,255,0.06) 0%, transparent 38%);
}
.reg-body.reg-body--picker::after { display: none; }

/* ── TYPE SELECTION SCREEN (reference-style) ── */
.reg-type-screen {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px 80px;
  animation: regFadeUp 0.5s ease both;
}
.reg-type-screen.is-exiting {
  animation: regFadeOut 0.35s ease forwards;
}
.reg-type-back-btn {
  position: fixed;
  left: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 48px);
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(45,122,45,0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.reg-type-back-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,122,45,0.4);
}
.reg-type-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
}
.reg-type-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 50px;
  padding: 10px 28px 10px 12px;
  margin-bottom: clamp(40px, 8vh, 72px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.reg-type-logo-pill img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.reg-type-logo-pill span {
  font-size: 16px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.2px;
}
.reg-type-cards {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  justify-content: center;
  align-items: stretch;
  width: 100%;
}
.reg-type-card {
  flex: 1;
  max-width: 240px;
  min-height: 300px;
  cursor: pointer;
  border: none;
  border-radius: 22px;
  padding: 36px 24px 32px;
  text-align: center;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.reg-type-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.35) 0%,
    transparent 45%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.reg-type-card:hover,
.reg-type-card.is-selected {
  background: var(--green);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(45,122,45,0.35);
}
.reg-type-card:hover .reg-type-card-shine,
.reg-type-card.is-selected .reg-type-card-shine { opacity: 1; }
.reg-type-card:active { transform: translateY(-3px) scale(1.01); }
.reg-type-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: color 0.35s, transform 0.35s;
  flex-shrink: 0;
}
.reg-type-card:hover .reg-type-card-icon,
.reg-type-card.is-selected .reg-type-card-icon {
  color: #fff;
  transform: scale(1.06);
}
.reg-type-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.45;
  transition: color 0.35s;
}
.reg-type-card:hover .reg-type-card-title,
.reg-type-card.is-selected .reg-type-card-title { color: #fff; }

.auth-logo {
  width: 88px; height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(45,122,45,0.2);
  box-shadow: 0 8px 24px rgba(45,122,45,0.15);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.auth-logo img { width: 100%; height: 100%; object-fit: cover; }
.auth-card-title {
  font-size: 26px; font-weight: 800;
  color: var(--green-dark); margin-bottom: 8px;
}
.auth-card-sub { font-size: 14px; color: var(--gray-600); }

/* ── REGISTRATION FLOW (SPLIT LAYOUT) ── */
.reg-flow-screen {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1060px;
  animation: regFadeUp 0.45s ease both;
}
.reg-split {
  display: flex;
  width: 100%;
  min-height: 620px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
}
.reg-split-left {
  flex: 1;
  background: linear-gradient(150deg, #1a5c1a 0%, #2d7a2d 50%, #3d9e3d 100%);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.reg-split-left .pill {
  position: absolute;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
}
.reg-split-left .pill-1 { width:180px; height:50px; bottom:90px; left:-40px; transform:rotate(-42deg); }
.reg-split-left .pill-2 { width:120px; height:36px; bottom:150px; left:50px; transform:rotate(-42deg); }
.reg-split-left .pill-3 { width:200px; height:56px; bottom:40px; left:70px; transform:rotate(-42deg); background:rgba(255,255,255,0.08); }
.reg-split-left .pill-4 { width:80px; height:80px; border-radius:50%; top:24px; right:24px; background:rgba(255,255,255,0.06); }
.reg-split-left-inner { position: relative; z-index: 1; }
.reg-split-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.35);
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.reg-split-logo img { width: 100%; height: 100%; object-fit: cover; }
.reg-split-title {
  font-size: 28px; font-weight: 800;
  color: #fff; line-height: 1.25;
  margin-bottom: 12px;
}
.reg-split-desc {
  font-size: 14px; color: rgba(255,255,255,0.75);
  line-height: 1.7; max-width: 300px; margin-bottom: 28px;
}
.reg-selected-type {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  transition: all 0.3s;
}
.reg-selected-type.is-highlight {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.reg-selected-type-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.reg-selected-type-label { font-size: 14px; font-weight: 700; color: #fff; }
.reg-selected-type-sub { font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 2px; }
.reg-split-features { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.reg-split-feat {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.85);
}
.reg-split-feat-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.55); flex-shrink: 0;
}

.reg-split-right {
  width: 480px;
  flex-shrink: 0;
  background: #fff;
  padding: 32px 36px 28px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 90vh;
}
.reg-form-header { margin-bottom: 20px; }
.reg-form-header-title {
  font-size: 18px; font-weight: 800;
  color: var(--green-dark); margin-bottom: 4px;
}
.reg-form-header-sub { font-size: 12px; color: var(--gray-500); }
.reg-mobile-title { display: none; }

/* ── PROGRESS INDICATOR ── */
.reg-progress-wrap { margin-bottom: 24px; }
.reg-progress-bar {
  height: 4px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}
.reg-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-dark), var(--green-light));
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
  width: 20%;
}
.reg-progress-steps {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}
.reg-progress-step {
  flex: 1;
  text-align: center;
  position: relative;
}
.reg-progress-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: var(--gray-500);
  margin: 0 auto 6px;
  transition: all 0.3s;
}
.reg-progress-step.active .reg-progress-dot {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(45,122,45,0.3);
  transform: scale(1.08);
}
.reg-progress-step.done .reg-progress-dot {
  background: var(--green-bg);
  border-color: var(--green);
  color: var(--green);
}
.reg-progress-label {
  font-size: 9px; font-weight: 600;
  color: var(--gray-400);
  line-height: 1.3;
  transition: color 0.3s;
}
.reg-progress-step.active .reg-progress-label,
.reg-progress-step.done .reg-progress-label { color: var(--green-dark); }

/* ── FORM STEPS ── */
.reg-steps-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.reg-step-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  overflow-y: auto;
  padding-right: 4px;
}
.reg-step-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.reg-step-panel.is-exit-left {
  opacity: 0;
  transform: translateX(-24px);
}
.reg-step-panel.is-exit-right {
  opacity: 0;
  transform: translateX(24px);
}
.reg-step-heading {
  font-size: 15px; font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.reg-step-heading-num {
  width: 24px; height: 24px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}

/* TYPE TOGGLE (inline forms) */
.type-toggle { display: flex; gap: 12px; }
.type-opt {
  flex: 1; cursor: pointer;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  transition: all 0.2s;
  background: var(--gray-50);
}
.type-opt input { display: none; }
.type-opt:hover { border-color: var(--green-border); background: var(--green-bg); }
.type-opt.active {
  border-color: var(--green);
  background: var(--green-bg);
  box-shadow: 0 0 0 3px rgba(45,122,45,0.1);
}
.type-icon {
  width: 48px; height: 48px;
  background: var(--green-bg);
  border: 1.5px solid var(--green-border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  color: var(--green);
}
.type-opt.active .type-icon { background: var(--green); border-color: var(--green); color: #fff; }
.type-label { font-size: 14px; font-weight: 700; color: var(--green-dark); margin-bottom: 2px; }
.type-desc  { font-size: 11px; color: var(--gray-500); }

/* GRID */
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* UPLOAD ZONE */
.upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--gray-50);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--green);
  background: var(--green-bg);
}
.upload-icon { margin-bottom: 10px; }
.upload-text { font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.upload-sub  { font-size: 11px; color: var(--gray-500); }

/* CHECKBOX */
.checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--gray-600);
  cursor: pointer; margin-top: 4px;
}
.checkbox-row input { accent-color: var(--green); margin-top: 2px; flex-shrink: 0; }

/* SYSTEM NOTE */
.system-note {
  display: flex; align-items: flex-start; gap: 12px;
  background: #e8f5e9;
  border: 1.5px solid #a5d6a7;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13px; color: #1b5e20;
  line-height: 1.6;
  margin-bottom: 24px;
}
.note-icon { flex-shrink: 0; margin-top: 1px; }

/* ACTIONS */
.reg-step-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.reg-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 20px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  transition: all 0.25s;
  cursor: pointer;
  font-family: inherit;
}
.btn-back:hover { border-color: var(--green); color: var(--green); background: var(--green-bg); transform: translateX(-2px); }
.btn-next {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 13px; font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-next:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(45,122,45,0.28); }
.reg-step-nav .btn-submit { width: auto; flex: 0 0 auto; padding: 11px 24px; border-radius: 50px; margin-top: 0; }

/* REVIEW PANEL */
.review-section {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
}
.review-section-title {
  font-size: 12px; font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.review-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; padding: 6px 0;
  font-size: 13px;
}
.review-row-label { color: var(--gray-500); flex-shrink: 0; }
.review-row-value { color: var(--gray-800); font-weight: 500; text-align: right; word-break: break-word; }

/* ANIMATIONS */
@keyframes regFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes regFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-12px) scale(0.98); }
}

/* FIELD ERRORS */
.field-error {
  display: none;
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
  font-weight: 500;
  line-height: 1.4;
}
.field-error.visible { display: block; }
.form-input.input-invalid,
.upload-zone.upload-invalid { border-color: var(--danger) !important; }
.type-toggle.type-invalid { outline: 2px solid var(--danger); outline-offset: 2px; border-radius: 10px; }

/* HIDDEN */
.hidden { display: none !important; }

/* SUCCESS */
.success-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.success-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 44px;
  max-width: 480px; width: 100%;
  text-align: center;
}
.success-icon { font-size: 52px; margin-bottom: 16px; }
.success-card h2 { font-size: 22px; font-weight: 800; color: var(--green-dark); margin-bottom: 12px; }
.success-card p  { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; }
.pending-steps {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--gray-50); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 24px; text-align: left;
}
.ps-item { font-size: 13px; color: var(--gray-500); }
.ps-item.done    { color: var(--green); font-weight: 600; }
.ps-item.current { color: #e65100; font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .auth-left { display: none; }
  .auth-card { padding: 32px 28px; }
  .reg-split-left { display: none; }
  .reg-split-right { width: 100%; max-height: none; }
  .reg-split { max-width: 480px; min-height: auto; }
  .reg-mobile-title {
    display: block;
    font-size: 20px; font-weight: 800;
    color: var(--green-dark); margin-bottom: 4px;
  }
  .reg-progress-label { font-size: 8px; }
  .reg-progress-dot { width: 24px; height: 24px; font-size: 10px; }
}
@media (max-width: 640px) {
  .reg-type-screen { padding: 32px 20px 88px; }
  .reg-type-cards { flex-direction: column; align-items: center; }
  .reg-type-card { max-width: 280px; width: 100%; min-height: 260px; }
  .reg-type-logo-pill { margin-bottom: 36px; padding: 8px 20px 8px 10px; }
  .reg-type-logo-pill span { font-size: 14px; }
  .reg-type-logo-pill img { width: 36px; height: 36px; }
  .reg-split-right { padding: 24px 20px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .type-toggle { flex-direction: column; }
  .reg-step-nav { flex-direction: column-reverse; }
  .reg-step-nav .btn-back, .reg-step-nav .btn-next, .reg-step-nav .btn-submit { width: 100%; justify-content: center; }
  .reg-actions { flex-direction: column-reverse; }
  .reg-actions .btn-submit, .btn-back { width: 100%; max-width: 100%; justify-content: center; }
  .role-tabs { flex-direction: column; }
  .reg-progress-label { display: none; }
}
