/*
 * AILA Tech Bundled CSS File
 * Generated: 2026-01-24 11:15:23
 * 
 * This file combines multiple CSS files into one for better performance.
 * Do not edit directly - edit source files and re-run merge_assets.py
 */


/* ========== enhanced-signup.css ========== */
/* Enhanced Signup UI - Beautiful Modern Design */

/* Import additional fonts for better typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Enhanced Root Variables */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --shadow-hover: 0 15px 35px rgba(31, 38, 135, 0.2);
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border-radius: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Body with Animated Background */
body {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
  font-family: 'Noto Sans Lao', 'Inter', sans-serif;
}

/* Animated Background */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating Particles Background */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(30px) rotate(240deg); }
}

/* Enhanced Signup Container with Glass Morphism */
.signup-container {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 850px;
  padding: 1rem;
  position: relative;
  z-index: 10;
  margin: 10px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  transition: var(--transition);
}

.signup-container:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

/* Enhanced Header */
.signup-header {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.signup-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.signup-header h1 {
  font-family: 'Noto Sans Lao', 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.signup-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Enhanced Progress Bar */
.progress-container {
  margin-bottom: 1rem;
  position: relative;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, #e2e8f0 0%, #e2e8f0 100%);
  border-radius: 2px;
  z-index: 1;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
  z-index: 2;
  transition: width 0.5s ease;
  width: 0%;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 3;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  transition: var(--transition);
  border: 3px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.step-number::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 3px;
  background: var(--primary-gradient);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}

.step-number.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  transform: scale(1.1);
}

.step-number.active::before {
  opacity: 1;
}

.step-number.completed {
  background: var(--success-gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.step-number.completed::after {
  content: '✓';
  position: absolute;
  font-size: 1.2rem;
  font-weight: 800;
}

.step-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 600;
  transition: var(--transition);
}

.step-label.active {
  color: #667eea;
  font-weight: 700;
}

.step-label.completed {
  color: #4facfe;
  font-weight: 700;
}

/* Enhanced Form Steps */
.form-step {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Form Groups */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  position: relative;
}

.form-group label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

.form-group:focus-within label::after {
  width: 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-family: 'Noto Sans Lao', 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 1);
}

.required {
  color: #f56565;
  font-weight: 700;
}

/* Enhanced File Upload Areas */
.file-upload {
  border: 3px dashed rgba(102, 126, 234, 0.3);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.file-upload::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.file-upload:hover::before {
  left: 100%;
}

.file-upload:hover {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.file-upload.dragover {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
  transform: scale(1.02);
}

.file-upload i {
  font-size: 3rem;
  color: #667eea;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.file-upload:hover i {
  transform: scale(1.1);
  color: #764ba2;
}

.file-upload-text {
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.file-upload-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.file-preview {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
  border-radius: 16px;
  display: none;
  border: 1px solid rgba(79, 172, 254, 0.2);
}

.file-preview.show {
  display: block;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Preview Section */
.preview-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.preview-section h3 {
  color: #667eea;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  font-weight: 700;
}

.preview-section h3 i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.preview-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-item:last-child {
  border-bottom: none;
}

.preview-label {
  font-weight: 600;
  color: var(--text-primary);
}

.preview-value {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Enhanced Buttons */
.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-family: 'Noto Sans Lao', 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Enhanced Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Alert Messages */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  animation: slideInDown 0.3s ease;
}

.alert-success {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
  color: #2b6cb0;
  border: 1px solid rgba(79, 172, 254, 0.2);
}

.alert-error {
  background: linear-gradient(135deg, rgba(245, 101, 101, 0.1), rgba(239, 68, 68, 0.1));
  color: #c53030;
  border: 1px solid rgba(245, 101, 101, 0.2);
}

.alert i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Loading States */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scale down for high DPI displays to prevent zoom appearance */
@media (min-width: 1200px) and ((-webkit-min-device-pixel-ratio: 1.25) or (min-resolution: 120dpi)) {
  html {
    font-size: 14px;
  }
  
  .signup-container {
    max-width: 750px !important;
    padding: 1.75rem !important;
  }
  
  .signup-header h1 {
    font-size: 1.6rem !important;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.8rem 0.95rem !important;
    font-size: 0.9rem !important;
  }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .signup-container {
    padding: 2rem 1.5rem;
    margin: 10px;
    max-height: calc(100vh - 20px);
  }
  
  .signup-header h1 {
    font-size: 2rem;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .file-upload {
    padding: 2rem 1rem;
  }
  
  .file-upload i {
    font-size: 2.5rem;
  }
  
  .form-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .signup-container {
    padding: 1.5rem 1rem;
  }
  
  .signup-header h1 {
    font-size: 2rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .file-upload {
    padding: 1.5rem 0.8rem;
  }
  
  .file-upload i {
    font-size: 2rem;
  }
}

/* Enhanced Scrollbar */
.signup-container::-webkit-scrollbar {
  width: 8px;
}

.signup-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.signup-container::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 4px;
}

.signup-container::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-gradient);
}

/* Enhanced Focus States for Accessibility */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.file-upload:focus,
.btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Enhanced Animation for Step Transitions */
.form-step {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Hover Effects */
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-1px);
}

/* Enhanced Success States */
.form-group.success input,
.form-group.success textarea,
.form-group.success select {
  border-color: #4facfe;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.05), rgba(0, 242, 254, 0.05));
}

/* Enhanced Error States */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #f56565;
  background: linear-gradient(135deg, rgba(245, 101, 101, 0.05), rgba(239, 68, 68, 0.05));
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Enhanced Checkbox Styling */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.checkbox-container:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.custom-checkbox {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-checkbox input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.checkbox-mark {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-mark::after {
  content: '';
  width: 8px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: var(--transition);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-mark {
  background: var(--primary-gradient);
  border-color: #667eea;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transform: scale(1.1);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-mark::after {
  opacity: 1;
  transform: rotate(45deg) scale(1.2);
}

.custom-checkbox:hover .checkbox-mark {
  border-color: #667eea;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
  transform: scale(1.05);
}

.checkbox-text {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

.checkbox-text a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

.checkbox-text a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

.checkbox-text a:hover::after {
  width: 100%;
}

.checkbox-text a:hover {
  color: #764ba2;
  text-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

/* Enhanced Captcha Styling */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.captcha-display {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-family: 'Noto Sans Lao', 'Space Grotesk', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.captcha-display:hover {
  border-color: #667eea;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.refresh-captcha {
  background: var(--primary-gradient);
  border: none;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.refresh-captcha:hover {
  transform: translateY(-2px) rotate(180deg);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.refresh-captcha:active {
  transform: translateY(0) rotate(180deg);
}

.refresh-captcha i {
  font-size: 1.2rem;
  transition: var(--transition);
}

/* Enhanced Navigation Buttons */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  gap: 1rem;
}

.btn-previous {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  font-family: 'Noto Sans Lao', 'Inter', sans-serif;
}

.btn-previous:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  color: #667eea;
}

.btn-previous i {
  transition: var(--transition);
}

.btn-previous:hover i {
  transform: translateX(-3px);
}

.btn-next {
  background: var(--primary-gradient);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  font-family: 'Noto Sans Lao', 'Inter', sans-serif;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-next::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-next:hover::before {
  left: 100%;
}

.btn-next:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-next:active {
  transform: translateY(-1px);
}

.btn-next i {
  transition: var(--transition);
}

.btn-next:hover i {
  transform: translateX(3px);
}

.btn-next:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .form-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-previous,
  .btn-next {
    width: 100%;
    justify-content: center;
  }
  
  .checkbox-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .captcha-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .captcha-display {
    min-width: auto;
  }
}


/* ========== premium-signup.css ========== */
/*
 * AILA Tech - Premium Signup Page
 * Beautiful, responsive signup experience for all devices
 * v1.0
 */

/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
  --signup-primary: #0066FF;
  --signup-primary-dark: #0052CC;
  --signup-secondary: #00C48C;
  --signup-gradient: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0F172A 100%);
  --signup-card-bg: rgba(255, 255, 255, 0.98);
  --signup-text: #1F2937;
  --signup-text-muted: #6B7280;
  --signup-border: #E5E7EB;
  --signup-error: #EF4444;
  --signup-success: #10B981;
  --signup-radius: 20px;
  --signup-radius-sm: 12px;
  --signup-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  --signup-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================
   BASE STYLES
   ================================================ */
.signup-page {
  font-family: 'Noto Sans Lao', 'Phetsarath OT', 'Saysettha OT', 'Plus Jakarta Sans', sans-serif !important;
  min-height: 100vh;
  background: var(--signup-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-top: 80px;
  position: relative;
  overflow-x: hidden;
}

/* Ensure all elements inherit the base font, excluding Font Awesome icons */
.signup-page *:not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not([class*="fa-"]) {
  font-family: 'Noto Sans Lao', 'Phetsarath OT', 'Saysettha OT', 'Plus Jakarta Sans', sans-serif !important;
}

/* Animated grid background */
.signup-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(90deg, transparent 98%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(0deg, transparent 98%, rgba(255, 255, 255, 0.03) 100%);
  background-size: 80px 80px;
  animation: gridFloat 30s linear infinite;
  pointer-events: none;
}

/* Floating orbs */
.signup-page::after {
  content: '';
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 15s ease-in-out infinite;
}

@keyframes gridFloat {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 30px) scale(1.1); }
}

/* ================================================
   AUTH NAVIGATION BAR
   ================================================ */
.auth-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

.auth-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.auth-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.auth-nav-logo img {
  height: 38px;
  width: auto;
  transition: transform var(--signup-transition);
}

.auth-nav-logo:hover img {
  transform: scale(1.03);
}

.auth-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-nav-link {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--signup-text-muted);
  text-decoration: none;
  border-radius: 10px;
  transition: all var(--signup-transition);
}

.auth-nav-link:hover {
  color: var(--signup-primary);
  background: rgba(0, 102, 255, 0.06);
}

.auth-nav-link.active {
  color: white;
  background: linear-gradient(135deg, var(--signup-primary) 0%, var(--signup-primary-dark) 100%);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.25);
}

/* ================================================
   SIGNUP CONTAINER
   ================================================ */
.signup-container {
  background: var(--signup-card-bg);
  backdrop-filter: blur(30px);
  border-radius: var(--signup-radius);
  box-shadow: var(--signup-shadow);
  width: 100%;
  max-width: 900px;
  padding: 2rem;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeSlideUp 0.6s ease-out;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================
   SIGNUP HEADER
   ================================================ */
.signup-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.signup-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--signup-primary) 0%, var(--signup-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.signup-header p {
  color: var(--signup-text-muted);
  font-size: 0.9375rem;
}

/* ================================================
   PROGRESS BAR - PREMIUM
   ================================================ */
.progress-container {
  margin-bottom: 3.5rem;
  padding: 0 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Progress line connecting steps */
.progress-bar::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 4px;
  background: #E5E7EB;
  border-radius: 10px;
  z-index: 0;
}

/* Dynamic Progress Fill - We'll update this via JS */
.progress-bar-fill {
  position: absolute;
  top: 22px;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--signup-primary) 0%, var(--signup-secondary) 100%);
  border-radius: 10px;
  z-index: 0;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 3px solid #E2E8F0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.progress-step.active .step-number {
  background: white;
  color: var(--signup-primary);
  border-color: var(--signup-primary);
  box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.1), 0 10px 15px -3px rgba(0, 102, 255, 0.2);
  transform: scale(1.15);
}

.progress-step.completed .step-number {
  background: linear-gradient(135deg, var(--signup-success) 0%, #059669 100%);
  color: white;
  border-color: var(--signup-success);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.progress-step.completed .step-number span {
  display: none;
}

.progress-step.completed .step-number::after {
  content: '✓';
  font-size: 1.2rem;
}

.step-label {
  font-size: 0.875rem;
  color: #64748B;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  position: absolute;
  top: 52px;
  white-space: nowrap;
}

.progress-step.active .step-label {
  color: var(--signup-primary);
  font-weight: 700;
  transform: translateY(2px);
}

.progress-step.completed .step-label {
  color: var(--signup-success);
}

/* ================================================
   FORM STEPS
   ================================================ */
.form-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.form-step h2 {
  color: var(--signup-text);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-step h2 i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--signup-primary) 0%, var(--signup-secondary) 100%);
  color: white;
  border-radius: 10px;
  font-size: 1rem;
}

.form-step > p {
  color: var(--signup-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* ================================================
   FORM GROUPS - PREMIUM
   ================================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--signup-text);
  font-size: 0.9375rem;
}

.form-group .required {
  color: var(--signup-error);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--signup-border);
  border-radius: var(--signup-radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--signup-text);
  background: white;
  transition: all var(--signup-transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--signup-primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.form-group input.valid {
  border-color: var(--signup-success);
}

.form-group input.invalid {
  border-color: var(--signup-error);
}

/* ================================================
   FILE UPLOAD - PREMIUM
   ================================================ */
.file-upload {
  border: 2px dashed var(--signup-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--signup-transition);
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.file-upload::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 196, 140, 0.05) 100%);
  opacity: 0;
  transition: opacity var(--signup-transition);
}

.file-upload:hover {
  border-color: var(--signup-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
}

.file-upload:hover::before {
  opacity: 1;
}

.file-upload.dragover {
  border-color: var(--signup-primary);
  background: rgba(0, 102, 255, 0.05);
}

.file-upload i {
  font-size: 2.5rem;
  color: var(--signup-primary);
  margin-bottom: 0.75rem;
  transition: transform var(--signup-transition);
}

.file-upload:hover i {
  transform: scale(1.1);
}

.file-upload-text {
  font-weight: 600;
  color: var(--signup-text);
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.file-upload-hint {
  font-size: 0.8125rem;
  color: var(--signup-text-muted);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.file-preview {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 102, 255, 0.06);
  border-radius: var(--signup-radius-sm);
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.file-preview.show {
  display: flex;
}

.file-preview i {
  color: var(--signup-primary);
  font-size: 1.25rem;
}

/* ================================================
   PASSWORD FIELD - PREMIUM
   ================================================ */
.password-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field-wrapper input {
  padding-right: 50px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--signup-text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all var(--signup-transition);
}

.password-toggle-btn:hover {
  color: var(--signup-primary);
  background: rgba(0, 102, 255, 0.06);
}

/* Password strength indicator */
.password-strength-indicator {
  margin-top: 0.75rem;
  display: none;
}

.password-strength-indicator.show {
  display: block;
}

.strength-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 0.5rem;
}

.strength-bar {
  height: 4px;
  background: var(--signup-border);
  border-radius: 2px;
  flex: 1;
  transition: background-color var(--signup-transition);
}

.strength-bar.active.weak { background: var(--signup-error); }
.strength-bar.active.medium { background: #F59E0B; }
.strength-bar.active.strong { background: var(--signup-success); }
.strength-bar.active.very-strong { background: #059669; }

.strength-text {
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.password-requirements .requirement {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.password-requirements .requirement.met {
  color: var(--signup-success);
}

.password-requirements .requirement.unmet {
  color: var(--signup-text-muted);
}

/* Password match indicator */
.password-match-indicator {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  display: none;
}

.password-match-indicator.show {
  display: block;
}

.password-match-indicator.match {
  color: var(--signup-success);
}

.password-match-indicator.mismatch {
  color: var(--signup-error);
}

/* ================================================
   CAPTCHA - PREMIUM
   ================================================ */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.captcha-display {
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  border: 2px solid var(--signup-border);
  border-radius: var(--signup-radius-sm);
  padding: 0.875rem 1.25rem;
  font-family: "Noto Sans Lao", 'JetBrains Mono', monospace; sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--signup-primary);
  letter-spacing: 0.15em;
  min-width: 140px;
  text-align: center;
  user-select: none;
}

.refresh-captcha {
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  border: 2px solid var(--signup-border);
  border-radius: var(--signup-radius-sm);
  padding: 0.875rem;
  cursor: pointer;
  transition: all var(--signup-transition);
  color: var(--signup-text-muted);
}

.refresh-captcha:hover {
  border-color: var(--signup-primary);
  color: var(--signup-primary);
  background: rgba(0, 102, 255, 0.06);
  transform: rotate(180deg);
}

/* ================================================
   CHECKBOX - PREMIUM
   ================================================ */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: var(--signup-radius-sm);
  transition: background var(--signup-transition);
}

.checkbox-container:hover {
  background: rgba(0, 102, 255, 0.04);
}

.custom-checkbox {
  position: relative;
  flex-shrink: 0;
}

.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  cursor: pointer;
  z-index: 2;
}

.checkbox-mark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--signup-border);
  border-radius: 6px;
  background: white;
  transition: all var(--signup-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-checkbox:hover .checkbox-mark {
  border-color: var(--signup-primary);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-mark {
  background: linear-gradient(135deg, var(--signup-primary) 0%, var(--signup-primary-dark) 100%);
  border-color: var(--signup-primary);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-mark::after {
  content: '✓';
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

.checkbox-text {
  font-size: 0.9rem;
  color: var(--signup-text);
  line-height: 1.5;
}

.checkbox-text a {
  color: var(--signup-primary);
  text-decoration: none;
  font-weight: 600;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

/* ================================================
   PREVIEW SECTION - PREMIUM
   ================================================ */
.preview-section {
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border-radius: var(--signup-radius-sm);
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--signup-border);
}

.preview-section h3 {
  color: var(--signup-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preview-section h3 i {
  font-size: 0.875rem;
}

.preview-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--signup-border);
}

.preview-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.preview-label {
  font-weight: 600;
  color: var(--signup-text);
  font-size: 0.875rem;
}

.preview-value {
  color: var(--signup-text-muted);
  font-size: 0.875rem;
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}

/* ================================================
   NAVIGATION BUTTONS - PREMIUM
   ================================================ */
.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--signup-border);
}

.btn,
.btn-next,
.btn-previous {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--signup-radius-sm);
  cursor: pointer;
  transition: all var(--signup-transition);
  border: none;
  min-height: 50px;
}

.btn-previous {
  background: white;
  color: var(--signup-text);
  border: 2px solid var(--signup-border);
}

.btn-previous:hover {
  border-color: var(--signup-primary);
  color: var(--signup-primary);
  background: rgba(0, 102, 255, 0.04);
}

.btn-next,
.btn-primary {
  background: linear-gradient(135deg, var(--signup-primary) 0%, var(--signup-primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.btn-next:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ================================================
   ALERTS - PREMIUM
   ================================================ */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--signup-radius-sm);
  margin-bottom: 1.25rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  animation: alertSlide 0.3s ease;
}

@keyframes alertSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #059669;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--signup-error);
}

/* ================================================
   MODAL - PREMIUM
   ================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--signup-transition);
  padding: 1rem;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: white;
  border-radius: var(--signup-radius);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  width: 100%;
  transform: scale(0.9) translateY(20px);
  transition: all var(--signup-transition);
  position: relative;
  overflow: hidden;
}

.modal-overlay.show .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
}

.modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  color: white;
}

.modal-icon.success {
  background: linear-gradient(135deg, var(--signup-success) 0%, #059669 100%);
}

.modal-icon.error {
  background: linear-gradient(135deg, var(--signup-error) 0%, #DC2626 100%);
}

.modal-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--signup-text);
}

.modal-body {
  padding: 0 2rem 2rem;
  text-align: center;
}

.modal-message {
  color: var(--signup-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.modal-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--signup-radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--signup-transition);
  border: none;
  min-width: 120px;
}

.modal-btn-primary {
  background: linear-gradient(135deg, var(--signup-primary) 0%, var(--signup-primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #F3F4F6;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.25rem;
  color: var(--signup-text-muted);
  cursor: pointer;
  transition: all var(--signup-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #E5E7EB;
  color: var(--signup-text);
}

/* ================================================
   RESPONSIVE - TABLET (768px - 1024px)
   ================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
  .signup-page {
    padding-top: 90px;
  }
  
  .auth-nav {
    height: 70px;
  }
  
  .auth-nav-container {
    padding: 0 1.5rem;
  }
  
  .signup-container {
    max-width: 700px;
    padding: 1.75rem;
  }
  
  .signup-header h1 {
    font-size: 1.75rem;
  }
  
  .progress-bar {
    gap: 0.75rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 0.9375rem;
  }
  
  .step-label {
    font-size: 0.75rem;
  }
}

/* ================================================
   RESPONSIVE - MOBILE (Below 768px)
   ================================================ */
@media (max-width: 767px) {
  .signup-page {
    padding: 0.75rem;
    padding-top: 75px;
    align-items: flex-start;
  }
  
  .auth-nav {
    height: 64px;
  }
  
  .auth-nav-container {
    padding: 0 1rem;
  }
  
  .auth-nav-logo img {
    height: 32px;
  }
  
  .auth-nav-links {
    gap: 0.375rem;
  }
  
  .auth-nav-link {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }
  
  .signup-container {
    padding: 1.25rem;
    border-radius: 16px;
    max-height: none;
  }
  
  .signup-header {
    margin-bottom: 1.25rem;
  }
  
  .signup-header h1 {
    font-size: 1.5rem;
  }
  
  .signup-header p {
    font-size: 0.875rem;
  }
  
  /* Progress bar mobile - Premium horizontal design */
  .progress-container {
    margin-bottom: 2rem !important;
    padding: 0 0.25rem !important;
    max-width: 100% !important;
  }
  
  .progress-bar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
    position: relative !important;
  }

  .progress-bar::before {
    top: 18px !important;
    left: 8% !important;
    right: 8% !important;
    height: 3px !important;
  }

  .progress-step {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1 !important;
    min-width: auto !important;
    gap: 0 !important;
  }
  
  .step-number {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
    border-width: 2px !important;
  }

  .step-number.active {
    transform: scale(1.1) !important;
  }

  .progress-step.completed .step-number::after {
    font-size: 1rem;
  }
  
  .step-label {
    font-size: 0.625rem !important;
    max-width: 75px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    position: static !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  
  /* Form mobile */
  .form-step h2 {
    font-size: 1.125rem;
    gap: 0.625rem;
  }
  
  .form-step h2 i {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    font-size: 0.875rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.75rem;
    font-size: 16px; /* Prevent iOS zoom */
  }
  
  /* File upload mobile */
  .file-upload {
    padding: 1.25rem 1rem;
    min-height: 100px;
  }
  
  .file-upload i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .file-upload-text {
    font-size: 0.9375rem;
  }
  
  .file-upload-hint {
    font-size: 0.75rem;
  }
  
  /* Captcha mobile */
  .captcha-container {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .captcha-display {
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    min-width: 120px;
    flex: 1;
  }
  
  /* Preview mobile */
  .preview-section {
    padding: 1rem;
  }
  
  .preview-section h3 {
    font-size: 0.9375rem;
  }
  
  .preview-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .preview-value {
    text-align: left;
    max-width: 100%;
  }
  
  /* Navigation mobile */
  .form-navigation {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-next,
  .btn-previous {
    width: 100%;
    padding: 0.875rem 1.25rem;
  }
  
  /* Modal mobile */
  .modal-dialog {
    width: calc(100% - 2rem);
    margin: 1rem;
  }
  
  .modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .modal-body {
    padding: 0 1.5rem 1.5rem;
  }
  
  .modal-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .modal-title {
    font-size: 1.25rem;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .modal-btn {
    width: 100%;
  }
}

/* ================================================
   RESPONSIVE - SMALL MOBILE (Below 480px)
   ================================================ */
@media (max-width: 479px) {
  .signup-page {
    padding: 0.5rem;
    padding-top: 70px;
  }
  
  .auth-nav {
    height: 60px;
  }
  
  .auth-nav-logo img {
    height: 28px;
  }
  
  .auth-nav-link {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
  }
  
  .signup-container {
    padding: 1rem;
    border-radius: 14px;
  }
  
  .signup-header h1 {
    font-size: 1.375rem;
  }
  
  .signup-header p {
    font-size: 0.8125rem;
  }

  /* Premium compact progress bar for small mobile */
  .progress-container {
    margin-bottom: 1.5rem !important;
    padding: 0 !important;
  }

  .progress-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 0 !important;
    position: relative !important;
  }

  .progress-bar::before {
    top: 16px !important;
    height: 3px !important;
    left: 6% !important;
    right: 6% !important;
  }

  .progress-step {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1 !important;
    min-width: auto !important;
  }
  
  .step-number {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
    border-width: 2px !important;
    margin-bottom: 0.5rem !important;
  }

  .step-number.active {
    transform: scale(1.15) !important;
  }
  
  /* Hide all labels on mobile, show only active */
  .step-label {
    display: none !important;
  }

  .progress-step.active .step-label {
    display: block !important;
    font-size: 0.55rem !important;
    max-width: 90px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    position: static !important;
    color: var(--signup-primary, #2563eb) !important;
    font-weight: 600 !important;
  }
  
  .form-step h2 {
    font-size: 1rem;
  }
  
  .form-step h2 i {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.625rem;
  }
  
  .file-upload {
    padding: 1rem;
    min-height: 90px;
  }
  
  .file-upload i {
    font-size: 1.75rem;
  }
  
  .btn-next,
  .btn-previous {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    min-height: 46px;
  }
}

/* ================================================
   RESPONSIVE - EXTRA SMALL MOBILE (Below 360px)
   ================================================ */
@media (max-width: 359px) {
  .progress-container {
    margin-bottom: 1.25rem !important;
    padding: 0 !important;
  }

  .step-number {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.75rem !important;
  }

  .step-label {
    font-size: 0.45rem !important;
    max-width: 55px !important;
    -webkit-line-clamp: 2 !important;
  }
  
  .signup-header h1 {
    font-size: 1.25rem !important;
  }
  
  .signup-header p {
    font-size: 0.75rem !important;
  }
}

/* ================================================
   LANDSCAPE MOBILE
   ================================================ */
@media (max-width: 896px) and (orientation: landscape) {
  .signup-page {
    padding-top: 60px;
    align-items: flex-start;
  }
  
  .auth-nav {
    height: 56px;
  }
  
  .signup-container {
    max-width: 90%;
    padding: 1rem 1.5rem;
  }
  
  .signup-header {
    margin-bottom: 0.75rem;
  }
  
  .signup-header h1 {
    font-size: 1.375rem;
  }
  
  .progress-container {
    margin-bottom: 0.75rem;
  }
  
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.8125rem;
  }
  
  .step-label {
    font-size: 0.625rem;
  }
  
  .form-group {
    margin-bottom: 0.75rem;
  }
  
  .form-navigation {
    flex-direction: row;
    margin-top: 1rem;
    padding-top: 0.75rem;
  }
  
  .btn-next,
  .btn-previous {
    flex: 1;
    width: auto;
  }
}

/* ================================================
   ACCESSIBILITY
   ================================================ */
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible,
.btn:focus-visible,
.btn-next:focus-visible,
.btn-previous:focus-visible,
.auth-nav-link:focus-visible {
  outline: 2px solid var(--signup-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================
   PRINT STYLES
   ================================================ */
@media print {
  .auth-nav,
  .form-navigation,
  .progress-container {
    display: none !important;
  }
  
  .signup-container {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}


/* ========== signup-page.css ========== */
/* signup-page.css - Extracted from signup.html */
/* Base fixes for the premium signup experience */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: linear-gradient(
    135deg,
    #1e3a8a 0%,
    #3730a3 50%,
    #1e3a8a 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 70px; /* Account for fixed nav height */
  width: 100%;
  max-width: 100vw;
}

/* Digital Background */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      90deg,
      transparent 98%,
      rgba(255, 255, 255, 0.08) 100%
    ),
    linear-gradient(0deg, transparent 98%, rgba(255, 255, 255, 0.08) 100%);
  background-size: 60px 60px;
  animation: gridMove 25s linear infinite;
}

.signup-container {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 850px;
  padding: 1rem;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: 10px;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
}

.signup-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.signup-header h1 {
  font-size: clamp(1.4rem, 2vh + 0.8rem, 1.8rem);
  background: linear-gradient(135deg, #1e40af, #3730a3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.signup-header p {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Progress Bar - Premium Horizontal Design */
.progress-container {
  margin-bottom: 2rem;
  padding: 0 0.5rem;
  max-width: 700px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* Ensure step labels are properly contained and readable */
.progress-container .step-label {
  display: block;
  width: 100%;
  max-width: 120px;
  margin: 0 auto;
  padding: 0 4px;
}

/* Hide any unwanted text that might appear after progress bar */
.progress-container::after {
  content: none !important;
  display: none !important;
}

/* Hide any screen reader or accessibility tool text that concatenates step labels */
.progress-container + [role="status"],
.progress-container + [aria-live],
.progress-container + .sr-only {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}



.progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  gap: 0;
}

/* Progress connecting line */
.progress-bar::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: #e2e8f0;
  border-radius: 10px;
  z-index: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 1;
  min-width: 0; /* Allow flex items to shrink below content size */
  padding: 0 4px;
}

.step-number {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1rem;
}

.step-number.active {
  background: linear-gradient(135deg, #1e40af, #3730a3);
  color: white;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
  transform: scale(1.05);
  border-color: #1e40af;
}

.step-number.completed {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-color: #10b981;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.step-label {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: block;
  width: 100%;
  max-width: 120px;
  margin: 0 auto;
  padding: 0 4px;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  white-space: normal;
}

.step-label.active {
  color: #1e40af;
  font-weight: 700;
}

.step-label.completed {
  color: #10b981;
  font-weight: 600;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  color: #1e40af;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.form-step h2 i {
  margin-right: 0.75rem;
  font-size: 1.2rem;
  color: #3730a3;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
  background: white;
}

.required {
  color: #dc2626;
}

/* Password Field Wrapper */
.password-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field-wrapper input {
  padding-right: 45px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  z-index: 1;
}

.password-toggle-btn:hover {
  color: #1e40af;
}

/* Password Strength Indicator */
.password-strength-indicator {
  margin-top: 0.5rem;
  display: none;
}

.password-strength-indicator.show {
  display: block;
}

.strength-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}

.strength-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  flex: 1;
  transition: background-color 0.3s ease;
}

.strength-bar.active.weak {
  background: #ef4444;
}

.strength-bar.active.medium {
  background: #f59e0b;
}

.strength-bar.active.strong {
  background: #10b981;
}

.strength-bar.active.very-strong {
  background: #059669;
}

.strength-text {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 4px;
}

.password-requirements {
  margin-top: 4px;
}

.password-requirements small {
  font-size: 0.75rem;
  color: #6b7280;
  display: block;
  line-height: 1.4;
}

.password-requirements .requirement {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.password-requirements .requirement.met {
  color: #10b981;
}

.password-requirements .requirement.unmet {
  color: #6b7280;
}

.password-requirements .requirement i {
  font-size: 0.7rem;
}

/* Password Match Indicator */
.password-match-indicator {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: none;
}

.password-match-indicator.show {
  display: block;
}

.password-match-indicator.match {
  color: #10b981;
}

.password-match-indicator.mismatch {
  color: #ef4444;
}

/* Field Validation */
.field-validation {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: none;
}

.field-validation.show {
  display: block;
}

.field-validation.valid {
  color: #10b981;
}

.field-validation.invalid {
  color: #ef4444;
}

.form-group input.valid {
  border-color: #10b981;
}

.form-group input.invalid {
  border-color: #ef4444;
}

/* Captcha Styling */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.captcha-display {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: "Courier New", monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e40af;
  letter-spacing: 0.1em;
  min-width: 120px;
  text-align: center;
  user-select: none;
}

.refresh-captcha {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6b7280;
}

.refresh-captcha:hover {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #1e40af;
  color: #1e40af;
  transform: rotate(180deg);
}

/* Checkbox Styling */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.checkbox-container:hover {
  background: rgba(30, 64, 175, 0.05);
}

.custom-checkbox {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.checkbox-mark {
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  background: white;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-checkbox:hover .checkbox-mark {
  border-color: #1e40af;
  box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-mark {
  background: linear-gradient(135deg, #1e40af, #3730a3);
  border-color: #1e40af;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-mark::after {
  content: "✓";
  color: white;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
}

.checkbox-text {
  cursor: pointer;
  user-select: none;
  flex: 1;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5;
}

.checkbox-text a {
  color: #1e40af;
  text-decoration: none;
  font-weight: 600;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

/* File Upload */
.file-upload {
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  position: relative;
  overflow: hidden;
  min-height: clamp(84px, 14vh, 120px);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.file-upload input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.file-upload > *:not(input) {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.file-upload:hover {
  border-color: #1e40af;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.file-upload.dragover {
  border-color: #1e40af;
  background: #f0f9ff;
}

.file-upload i {
  font-size: 2.5rem;
  color: #6b7280;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.file-upload-text {
  color: #374151;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

.file-upload-hint {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.file-preview {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0f9ff;
  border-radius: 8px;
  display: none;
}

.file-preview.show {
  display: block;
}

/* Preview Step */
.preview-section {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.preview-section h3 {
  color: #1e40af;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.preview-section h3 i {
  margin-right: 0.5rem;
  font-size: 0.9rem;
  color: #3730a3;
}

.preview-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.preview-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.preview-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.85rem;
}

.preview-value {
  color: #6b7280;
  text-align: right;
  font-weight: 500;
  font-size: 0.85rem;
}

/* Navigation Buttons */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  gap: 1rem;
  position: sticky;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-top: 1px solid #e2e8f0;
  backdrop-filter: blur(2px);
  z-index: 5;
}

/* Ensure the step body takes available space but avoids page scroll */
.form-step.active {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-bottom: 0.5rem;
}

.btn {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  min-height: 48px;
}

.btn-secondary {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  color: #374151;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
  background: linear-gradient(135deg, #1d4ed8 0%, #312e81 100%);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: none;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #166534;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #dc2626;
}

/* Beautiful Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s ease;
  position: relative;
}

.modal-overlay.show .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 2rem 2rem 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
}

.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-size: 2rem;
  color: white;
}

.modal-icon.success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.modal-icon.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.modal-icon.warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.modal-body {
  padding: 1rem 2rem 2rem 2rem;
  text-align: center;
}

.modal-message {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 120px;
  justify-content: center;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #1e40af, #3730a3);
  color: white;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.modal-btn-secondary {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.modal-btn-secondary:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #f1f5f9;
  color: #64748b;
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-dialog {
    width: 95%;
    margin: 1rem;
  }

  .modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }

  .modal-body {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
  }

  .modal-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-btn {
    width: 100%;
  }
}

/* Responsive Design */
/* Large Desktop */
@media (min-width: 1200px) {
  .signup-container {
    max-width: 800px;
    padding: 2rem;
  }

  .signup-header h1 {
    font-size: 1.8rem;
  }

  .progress-bar {
    gap: 1.5rem;
  }

  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .step-label {
    font-size: 0.85rem;
  }
}

/* Scale down for high DPI displays to prevent zoom appearance */
@media (min-width: 1200px) and ((-webkit-min-device-pixel-ratio: 1.25) or (min-resolution: 120dpi)) {
  html {
    font-size: 14px;
  }
  
  .signup-container {
    max-width: 750px !important;
    padding: 1.75rem !important;
  }
  
  .signup-header h1 {
    font-size: 1.6rem !important;
  }
  
  .form-step h2 {
    font-size: 1.1rem !important;
  }
  
  .step-number {
    width: 42px !important;
    height: 42px !important;
    font-size: 1rem !important;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.8rem 0.95rem !important;
    font-size: 0.9rem !important;
  }
}

/* Height-based fit adjustments to avoid scrolling at 100% zoom */
@media (max-height: 900px) {
  .signup-container {
    transform: scale(0.92);
    transform-origin: top center;
    max-height: none;
  }
  .signup-header h1 { font-size: 2.2rem; }
  .file-upload { min-height: 90px; }
}

@media (max-height: 820px) {
  .signup-container {
    transform: scale(0.88);
    transform-origin: top center;
  }
  .progress-container { margin-bottom: 0.75rem; }
  .form-navigation { margin-top: 0.8rem; }
}

@media (max-height: 760px) {
  .signup-container {
    transform: scale(0.85);
    transform-origin: top center;
  }
  .signup-header h1 { font-size: 2rem; }
  .file-upload { min-height: 80px; }
}

/* Exact fit tuning for 1366x768 displays at 100% zoom */
@media (min-width: 1280px) and (max-width: 1400px) and (min-height: 720px) and (max-height: 800px) {
  body { overflow-y: hidden; }
  .signup-container {
    height: calc(100vh - 80px);
    max-width: 980px;
    padding: 1.25rem;
    margin: 10px auto;
    transform: none;
  }
  .signup-header { margin-bottom: 0.6rem; }
  .signup-header h1 { font-size: 2.1rem; }
  .progress-container { margin-bottom: 0.6rem; }
  .step-number { width: 32px; height: 32px; font-size: 0.85rem; }
  .step-label { font-size: 0.8rem; }
  .form-group { margin-bottom: 1rem; }
  .file-upload { min-height: 88px; padding: 1rem; }
  .btn { min-height: 44px; padding: 0.75rem 1.25rem; }
  .form-step.active { overflow: hidden; }
}

/* Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
  .signup-container {
    max-width: 800px;
    padding: 2.5rem;
  }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
  .signup-container {
    max-width: 700px;
    padding: 2rem;
    margin: 1rem;
  }

  .signup-header h1 {
    font-size: 2rem;
  }

  .progress-bar {
    gap: 1rem;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .step-label {
    font-size: 0.75rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.7rem 1.3rem;
    font-size: 0.9rem;
  }
}

/* Mobile Large */
@media (max-width: 767px) and (min-width: 576px) {
  .signup-container {
    max-width: 100%;
    padding: 1.5rem;
    margin: 0.5rem;
    border-radius: 15px;
  }

  .signup-header h1 {
    font-size: 1.8rem;
  }

  .signup-header p {
    font-size: 0.9rem;
  }

  .progress-bar {
    flex-direction: row;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .progress-step {
    flex: 1;
  }

  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .step-label {
    font-size: 0.65rem;
    line-height: 1.2;
  }

  .form-step h2 {
    font-size: 1.3rem;
  }

  .form-group {
    margin-bottom: 1.2rem;
  }

  .form-group label {
    font-size: 0.85rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 10px;
  }

  .file-upload {
    padding: 1.5rem;
  }

  .file-upload i {
    font-size: 1.5rem;
  }

  .file-upload-text {
    font-size: 0.9rem;
  }

  .file-upload-hint {
    font-size: 0.7rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .form-navigation {
    flex-direction: row;
    gap: 0.8rem;
  }

  .preview-section {
    padding: 1.2rem;
  }

  .preview-section h3 {
    font-size: 0.9rem;
  }

  .preview-item {
    font-size: 0.8rem;
  }
}

/* Mobile Small */
@media (max-width: 575px) {
  body {
    padding: 10px;
    padding-top: 80px;
  }

  .auth-nav-container {
    padding: 0 15px;
  }

  .auth-nav-logo {
    font-size: 1rem;
  }

  .auth-nav-logo img {
    height: 28px !important;
  }

  .auth-nav-links {
    gap: 10px;
  }

  .auth-nav-link {
    font-size: 0.8rem;
    padding: 6px 10px;
    gap: 5px;
  }

  .auth-nav-link i {
    font-size: 0.75rem;
  }

  .signup-container {
    max-width: 100%;
    padding: 1rem;
    margin: 0;
    border-radius: 12px;
  }

  .signup-header h1 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
  }

  .signup-header p {
    font-size: 0.85rem;
  }

  /* Premium horizontal progress bar on mobile - show only active label */
  .progress-container {
    margin-bottom: 1.5rem !important;
    padding: 0 0.5rem !important;
  }

  .progress-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .progress-step {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-width: auto !important;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }

  /* Hide all labels on mobile, show only active */
  .step-label {
    display: none !important;
  }

  .progress-step.active .step-label {
    display: block !important;
    font-size: 0.55rem;
    text-align: center;
    max-width: 90px;
    line-height: 1.2;
    color: #2563eb;
    font-weight: 600;
  }

  .form-step h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .form-step p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.6rem 0.7rem;
    font-size: 0.8rem;
    border-radius: 8px;
  }

  .file-upload {
    padding: 1rem;
  }

  .file-upload i {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .file-upload-text {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .file-upload-hint {
    font-size: 0.65rem;
  }

  .file-preview {
    padding: 0.8rem;
    font-size: 0.75rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    gap: 0.3rem;
  }

  .form-navigation {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
  }

  .preview-section {
    padding: 1rem;
    margin-bottom: 0.8rem;
  }

  .preview-section h3 {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }

  .preview-item {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    padding: 0.4rem 0;
  }

  .alert {
    padding: 0.8rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
  .signup-container {
    padding: 0.8rem;
  }

  .signup-header h1 {
    font-size: 1.4rem;
  }

  .signup-header p {
    font-size: 0.8rem;
  }

  .step-number {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }

  .step-label {
    display: none;
  }

  .progress-step.active .step-label {
    display: block;
    font-size: 0.5rem;
    max-width: 70px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
  }

  .btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
  .signup-container {
    max-width: 800px;
    padding: 1.5rem;
  }
}

@media (max-width: 992px) {
  body {
    padding: 5px;
    padding-top: 60px;
  }

  .signup-container {
    max-width: 700px;
    padding: 1.2rem;
    margin: 5px;
    border-radius: 16px;
  }

  .signup-header h1 {
    font-size: 2.2rem;
  }

  .progress-step {
    margin: 0 5px;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .step-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  body {
    padding: 5px;
    padding-top: 50px;
    align-items: flex-start;
  }

  .signup-container {
    max-width: 100%;
    padding: 1rem;
    margin: 0;
    border-radius: 12px;
    max-height: calc(100vh - 60px);
    min-height: auto;
  }

  .signup-header {
    margin-bottom: 1.5rem;
  }

  .signup-header h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .signup-header p {
    font-size: 0.9rem;
  }

  .progress-container {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .progress-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: space-between;
  }

  .progress-step {
    flex: 1;
    min-width: auto;
    margin: 0;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  /* Hide all labels, show only active */
  .step-label {
    display: none;
  }

  .progress-step.active .step-label {
    display: block;
    font-size: 0.6rem;
    color: #2563eb;
    font-weight: 600;
  }

  .form-step {
    padding: 1rem;
  }

  .form-step h2 {
    font-size: 1.1rem;
  }

  .form-step p {
    font-size: 0.85rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .file-upload {
    padding: 1.2rem 0.8rem;
  }

  .file-upload-text {
    font-size: 0.85rem;
  }

  .file-upload-hint {
    font-size: 0.7rem;
  }

  .form-navigation {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
  }

  .btn {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 2px;
    padding-top: 40px;
  }

  .signup-container {
    padding: 0.8rem;
    border-radius: 8px;
    max-height: calc(100vh - 50px);
  }

  .signup-header h1 {
    font-size: 1.5rem;
  }

  .signup-header p {
    font-size: 0.8rem;
  }

  .progress-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
  }

  .progress-step {
    flex: 1;
    min-width: auto;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  /* Hide all labels, show only active */
  .step-label {
    display: none;
  }

  .progress-step.active .step-label {
    display: block;
    font-size: 0.55rem;
    color: #2563eb;
    font-weight: 600;
  }

  .form-step {
    padding: 0.8rem;
  }

  .form-step h2 {
    font-size: 1rem;
  }

  .form-step p {
    font-size: 0.8rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.7rem;
    font-size: 0.85rem;
  }

  .file-upload {
    padding: 1rem 0.6rem;
  }

  .btn {
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 375px) {
  .signup-container {
    padding: 0.6rem;
  }

  .signup-header h1 {
    font-size: 1.3rem;
  }

  .progress-step {
    min-width: auto;
    flex: 1;
  }

  .step-number {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .step-label {
    display: none;
  }

  .progress-step.active .step-label {
    display: block;
    font-size: 0.5rem;
  }
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.signup-container {
  animation: fadeInUp 0.8s ease-out;
}

.form-step {
  animation: fadeInUp 0.6s ease-out;
}

/* Auth Navigation Styles */
.auth-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  padding: 10px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.auth-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.auth-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e40af;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
}

.auth-nav-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.auth-nav-links {
  display: flex;
  gap: 15px;
}

.auth-nav-link {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.auth-nav-link i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.auth-nav-link:hover i,
.auth-nav-link.active i {
  transform: scale(1.1);
}

.auth-nav-link:hover,
.auth-nav-link.active {
  color: #1e40af;
  background: rgba(30, 64, 175, 0.1);
}

