:root {
      --primary: #eb7613;
      --primary-dark: #c09e5e;
      --primary-light: #f5a745;
      --secondary: #013d21;
      --secondary-light: #1a5a37;
      --danger: #ef4444;
      --warning: #f59e0b;
      --success: #10b981;
      --neutral-50: #fafbfc;
      --neutral-100: #f3f4f6;
      --neutral-200: #e5e7eb;
      --neutral-300: #d1d5db;
      --neutral-400: #9ca3af;
      --neutral-500: #6b7280;
      --neutral-600: #4b5563;
      --neutral-700: #374151;
      --neutral-800: #1f2937;
      --neutral-900: #111827;
      --radius: 12px;
    }
 
    * { margin: 0; padding: 0; box-sizing: border-box; }
 
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      background-color: var(--neutral-50);
      color: var(--neutral-900);
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
 
    /* ===== ANIMATIONS ===== */
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes slideInRight { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
    @keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
    @keyframes float { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(20px); } }
    @keyframes checkBounce { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
    @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); }}

    
 
    /* ===== HEADER ===== */
    header {
      background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--primary) 100%);
      color: white;
      padding: 18px 0;
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .header-content { display: flex; justify-content: space-between; align-items: center; }
    .header-left { display: flex; align-items: center; gap: 20px; }
    .logo-section { display: flex; align-items: center; gap: 14px; }
    .logo-image {
      width: 56px; height: 56px;
      background-color: rgba(255,255,255,0.15);
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.2);
      animation: slideInRight 0.6s cubic-bezier(0.4,0,0.2,1);
      font-size: 26px;
      object-fit: cover;
    }
    .logo-text { display: flex; flex-direction: column; gap: 2px; }
    .logo-text .app-name { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
    .logo-text .app-subtitle { font-size: 12px; opacity: 0.9; font-weight: 500; }
    .header-right { display: flex; gap: 14px; align-items: center; }
    .btn-header-login {
      padding: 9px 20px;
      border: 1.5px solid rgba(255,255,255,0.5);
      background: rgba(255,255,255,0.1);
      color: white;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.25s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      backdrop-filter: blur(10px);
    }
    .btn-header-login:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.7); transform: translateY(-1px); }
 
    /* ===== PAGE LAYOUT ===== */
    .page-body {
      flex: 1;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 48px 20px 60px;
      animation: fadeIn 0.5s ease-out;
    }
 
    /* ===== REGISTER CARD ===== */
    .register-card {
      background: white;
      border-radius: 20px;
      box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
      border: 1px solid var(--neutral-100);
      width: 100%;
      max-width: 580px;
      overflow: hidden;
      animation: slideUp 0.5s cubic-bezier(0.4,0,0.2,1);
    }
 
    .card-top-accent {
      height: 6px;
      background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 40%, var(--primary) 100%);
    }
 
    .card-body { padding: 40px 40px 44px; }
 
    /* ===== CARD HEADING ===== */
    .card-heading { margin-bottom: 32px; }
    .icon-wrap {
      width: 56px; height: 56px;
      background: linear-gradient(135deg, rgba(235,118,19,0.12) 0%, rgba(1,61,33,0.08) 100%);
      border-radius: 16px;
      display: flex; align-items: center; justify-content: center;
      font-size: 26px;
      margin-bottom: 18px;
      border: 1px solid rgba(235,118,19,0.18);
    }
    .card-heading h1 {
      font-size: 24px;
      font-weight: 700;
      color: var(--neutral-900);
      letter-spacing: -0.5px;
      margin-bottom: 6px;
    }
    .card-heading p { font-size: 14px; color: var(--neutral-500); font-weight: 500; }
 
    /* ===== STEP INDICATOR ===== */
    .step-bar {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
    }
    .step-item { display: flex; align-items: center; flex: 1; }
    .step-item:last-child { flex: 0; }
    .step-wrap { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
    .step-dot {
      width: 32px; height: 32px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 13px;
      font-weight: 700;
      flex-shrink: 0;
      transition: all 0.35s ease;
      position: relative;
    }
    .step-dot.active {
      background: var(--primary);
      color: white;
      box-shadow: 0 0 0 5px rgba(235,118,19,0.18);
    }
    .step-dot.done { background: var(--success); color: white; }
    .step-dot.inactive { background: var(--neutral-200); color: var(--neutral-500); }
    .step-line { flex: 1; height: 2px; background: var(--neutral-200); transition: background 0.4s ease; margin: 0 4px; }
    .step-line.done { background: var(--success); }
    .step-labels {
      display: flex;
      justify-content: space-between;
      margin-bottom: 28px;
      padding: 0 0px;
    }
    .step-label-item {
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--neutral-400);
      text-align: center;
      flex: 1;
      transition: color 0.3s ease;
    }
    .step-label-item:last-child { text-align: right; }
    .step-label-item:first-child { text-align: left; }
    .step-label-item.active { color: var(--primary); }
    .step-label-item.done { color: var(--success); }
 
    /* Progress bar */
    .progress-bar {
      height: 4px;
      background: var(--neutral-100);
      border-radius: 2px;
      margin-bottom: 32px;
      overflow: hidden;
    }
    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
      border-radius: 2px;
      transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
    }
 
    /* ===== ALERT ===== */
    .alert {
      display: none;
      padding: 13px 16px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 500;
      margin-bottom: 20px;
      align-items: center;
      gap: 8px;
    }
    .alert.show { display: flex; animation: fadeInUp 0.3s ease-out; }
    .alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
    .alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
 
    /* ===== FORM GROUPS ===== */
    .form-group { margin-bottom: 20px; }
    .form-group label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--neutral-700);
      margin-bottom: 8px;
      letter-spacing: 0.2px;
    }
    .form-group label .req { color: var(--primary); margin-left: 2px; }
 
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 12px 14px;
      border: 1.5px solid var(--neutral-300);
      border-radius: 10px;
      font-size: 14px;
      font-family: inherit;
      color: var(--neutral-900);
      background: var(--neutral-50);
      transition: all 0.25s ease;
      appearance: none;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--primary);
      background: white;
      box-shadow: 0 0 0 4px rgba(235,118,19,0.13);
    }
    .form-group input::placeholder { color: var(--neutral-400); }
 
    /* Input with icon */
    .input-icon-wrap { position: relative; }
    .input-icon-wrap input { padding-left: 42px; }
    .input-icon {
      position: absolute;
      left: 13px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 16px;
      color: var(--neutral-400);
      pointer-events: none;
    }
 
    /* Input with right icon (password) */
    .input-pw-wrap { position: relative; }
    .input-pw-wrap input { padding-right: 46px; }
    .toggle-pw-btn {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      font-size: 16px;
      color: var(--neutral-400);
      padding: 4px;
      line-height: 1;
      transition: color 0.2s ease;
    }
    .toggle-pw-btn:hover { color: var(--primary); }
 
    /* Select wrapper */
    .select-wrap { position: relative; }
    .select-wrap::after {
      content: '▾';
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 13px;
      color: var(--neutral-400);
      pointer-events: none;
    }
 
    /* Form row */
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
 
    /* Hint */
    .form-hint { font-size: 11px; color: var(--neutral-400); margin-top: 5px; font-weight: 500; }
 
    /* ===== PASSWORD STRENGTH ===== */
    .pw-strength { margin-top: 8px; }
    .pw-bars { display: flex; gap: 4px; margin-bottom: 5px; }
    .pw-bar {
      flex: 1; height: 3px; border-radius: 2px;
      background: var(--neutral-200);
      transition: background 0.3s ease;
    }
    .pw-bar.weak { background: var(--danger); }
    .pw-bar.medium { background: var(--warning); }
    .pw-bar.strong { background: var(--success); }
    .pw-label { font-size: 11px; font-weight: 600; color: var(--neutral-400); }
    .pw-label.weak { color: var(--danger); }
    .pw-label.medium { color: var(--warning); }
    .pw-label.strong { color: var(--success); }
 
    /* ===== CHECKBOX ===== */
    .checkbox-group { display: flex; align-items: flex-start; gap: 10px; }
    .checkbox-group input[type="checkbox"] {
      width: 17px; height: 17px;
      accent-color: var(--primary);
      margin-top: 2px;
      flex-shrink: 0;
      cursor: pointer;
    }
    .checkbox-group label {
      font-size: 13px;
      color: var(--neutral-600);
      font-weight: 400;
      cursor: pointer;
      line-height: 1.55;
      margin-bottom: 0;
    }
    .checkbox-group label a { color: var(--primary); font-weight: 600; text-decoration: none; }
    .checkbox-group label a:hover { text-decoration: underline; }
 
    /* ===== BUTTONS ===== */
    .btn-primary {
      width: 100%;
      padding: 14px;
      background: linear-gradient(135deg, var(--primary) 0%, #d06810 100%);
      color: white;
      border: none;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      letter-spacing: 0.3px;
      transition: all 0.25s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      position: relative;
      overflow: hidden;
    }
    .btn-primary::before {
      content: '';
      position: absolute;
      top: 50%; left: 50%;
      width: 0; height: 0;
      border-radius: 50%;
      background: rgba(255,255,255,0.25);
      transform: translate(-50%,-50%);
      transition: width 0.6s ease, height 0.6s ease;
    }
    .btn-primary:hover::before { width: 400px; height: 400px; }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(235,118,19,0.35); }
    .btn-primary:active { transform: translateY(0); }
 
    .btn-outline {
      padding: 12px 20px;
      background: white;
      color: var(--neutral-600);
      border: 1.5px solid var(--neutral-300);
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.25s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .btn-outline:hover { border-color: var(--neutral-400); background: var(--neutral-50); transform: translateY(-1px); }
 
    /* Double button row */
    .btn-row { display: flex; gap: 12px; margin-top: 8px; }
    .btn-row .btn-outline { flex: 0 0 auto; }
    .btn-row .btn-primary { flex: 1; }

    .animate-spin {animation: spin 1s linear infinite;}

    #btn-submit {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 160px;
    }
 
    /* ===== DIVIDER ===== */
    .or-divider {
      display: flex;
      align-items: center;
      gap: 14px;
      margin: 24px 0;
      font-size: 12px;
      color: var(--neutral-400);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.6px;
    }
    .or-divider::before,
    .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--neutral-200); }
 
    /* ===== SSO BUTTONS ===== */
    .sso-btn {
      width: 100%;
      padding: 11px 16px;
      background: white;
      border: 1.5px solid var(--neutral-200);
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      color: var(--neutral-700);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: all 0.25s ease;
      margin-bottom: 10px;
    }
    .sso-btn:hover { border-color: var(--neutral-300); background: var(--neutral-50); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
    .sso-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
 
    /* ===== FOOTER LINK ===== */
    .footer-link {
      text-align: center;
      margin-top: 24px;
      font-size: 13px;
      color: var(--neutral-500);
    }
    .footer-link a { color: var(--primary); font-weight: 700; text-decoration: none; }
    .footer-link a:hover { text-decoration: underline; }
 
    /* ===== STEP PAGES ===== */
    .step-page { display: none; }
    .step-page.active { display: block; animation: fadeInUp 0.4s ease-out; }
 
    /* ===== SUCCESS SCREEN ===== */
    .success-screen { text-align: center; padding: 16px 0 8px; }
    .success-icon-wrap {
      width: 80px; height: 80px;
      background: linear-gradient(135deg, rgba(16,185,129,0.15) 0%, rgba(16,185,129,0.06) 100%);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 40px;
      margin: 0 auto 22px;
      border: 2px solid rgba(16,185,129,0.2);
      animation: checkBounce 0.6s cubic-bezier(0.4,0,0.2,1);
    }
    .success-screen h2 {
      font-size: 22px;
      font-weight: 700;
      color: var(--neutral-900);
      margin-bottom: 10px;
      letter-spacing: -0.3px;
    }
    .success-screen p {
      font-size: 14px;
      color: var(--neutral-500);
      line-height: 1.7;
      margin-bottom: 32px;
      max-width: 380px;
      margin-left: auto;
      margin-right: auto;
    }
    .success-info-card {
      background: var(--neutral-50);
      border: 1px solid var(--neutral-100);
      border-radius: 12px;
      padding: 16px 20px;
      margin-bottom: 24px;
      text-align: left;
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }
    .success-info-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
    .success-info-text { font-size: 13px; color: var(--neutral-600); line-height: 1.6; }
    .success-info-text strong { color: var(--neutral-800); font-weight: 600; }
    .success-btn-group { display: flex; flex-direction: column; gap: 10px; }
 
    /* ===== FOOTER ===== */
    footer {
      background: var(--secondary);
      color: rgba(255,255,255,0.6);
      text-align: center;
      padding: 20px;
      font-size: 12px;
      font-weight: 500;
    }
    footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
    footer a:hover { color: white; }
 
    /* ===== RESPONSIVE ===== */
    @media (max-width: 640px) {
      .card-body { padding: 28px 22px 32px; }
      .form-row { grid-template-columns: 1fr; gap: 0; }
      .btn-row { flex-direction: column; }
      .btn-row .btn-outline { width: 100%; }
      .step-label-item { font-size: 9px; letter-spacing: 0.3px; }
      .card-heading h1 { font-size: 20px; }
      header .header-right { display: none; }

      .logo-text .app-name{
        font-size: 15px;
        width: 280px;
      }
    }