@import '../responsive.css';
/* Modern Driver Signup Page - RideAlong */
/* ================================================= */

/* CSS Variables - RideAlong Brand Colors */
:root {
  /* Primary Brand Colors */
  --primary: #E05E1A;           /* Orange */
  --secondary: #1A2942;         /* Dark Blue */
  --white: #FFFFFF;
  
  /* Gray Scale */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Status Colors */
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #c04d15 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #0f1721 100%);
  --gradient-success: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
  color: var(--gray-800);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

/* Button Styles */
.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(224, 94, 26, 0.3);
}

.btn-primary:hover {
  background-color: rgba(224, 94, 26, 0.9);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--secondary);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  border: 2px solid var(--secondary);
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--secondary);
  transition: all 0.3s ease;
  text-align: center;
}

.btn-outline:hover {
  background-color: var(--secondary);
  color: var(--white);
}

.full-width {
  width: 100%;
}

/* Utility Classes */
.text-dark-blue {
  color: var(--secondary);
}

.text-orange {
  color: var(--primary);
}

.section-spacer {
  height: 2.5rem;
  background-color: var(--white);
}

@media (min-width: 768px) {
  .section-spacer {
    height: 5rem;
  }
}

/* Animation */
.animate-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease-out;
}

.animate-item.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  z-index: 50;
  transition: box-shadow 0.3s ease;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* Thin outline under navbar */
}

.navbar.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.navbar nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  max-width: 1500px;
  margin: 0 auto;
  flex-wrap: nowrap;
  gap: 1rem;
}

@media (min-width: 640px) {
  .navbar nav {
    padding: 0.875rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .navbar nav {
    padding: 1.25rem 2rem;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .navbar nav {
    padding: 1.25rem 3rem;
    gap: 2rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .logo {
    font-size: 1.5rem;
    gap: 0.5rem;
  }
}

@media (min-width: 768px) {
  .logo {
    font-size: 2rem;
  }
}

.car-icon {
  color: var(--secondary);
  font-size: 1.5rem;
}

@media (min-width: 480px) {
  .car-icon {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .car-icon {
    font-size: 2.75rem;
  }
}

.logo span {
  color: var(--primary);
}

.desktop-menu {
  display: none;
}

.desktop-buttons {
  display: none;
}

@media (min-width: 1210px) {
  .desktop-menu {
    display: flex;
    gap: 2.25rem;
    font-size: 1.05rem;
  }

  .desktop-menu a {
    font-weight: 500;
    white-space: nowrap;
  }

  .desktop-menu a:hover {
    color: var(--primary);
  }
}

@media (min-width: 1210px) {
  .desktop-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .auth-buttons {
    display: flex;
    gap: 1rem;
  }
}

.desktop-menu a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.desktop-menu a.active-link {
  color: var(--primary);
}

.desktop-menu a.active-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1.5px;
  width: 100%;
  background-color: var(--primary);
  /* ORANGE underline */
  border-radius: 2px;
}

.dropdown {
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -5px;
  right: -5px;
  height: 5px;
  background: transparent;
  z-index: 999;
}

.dropdown-toggle {
  all: unset;
  display: inline-block;
  background-color: transparent;
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  border: 2px solid var(--secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.dropdown-toggle:hover {
  background-color: #2A3B54;
  transform: translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 1000;
  border-radius: 8px;
  width: 8rem;
  margin-top: 0px;
  overflow: hidden;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Keep Login/Sign Up buttons styled when dropdown is open */
.dropdown:hover .dropdown-toggle {
  background-color: #2A3B54;
  color: var(--white);
  border-radius: 8px;
  transform: translateY(-1px);
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 400;
  text-align: left;
  font-size: 0.875rem;
  transition: all 0.15s ease;
}

.dropdown-menu a:last-child {
  margin-top: 0;
}

.dropdown-menu a:hover {
  background-color: var(--gray-100);
  color: var(--secondary);
}

.desktop-menu {
  display: none;
}

@media (min-width: 1210px) {
  .desktop-menu {
    display: flex;
    gap: 2rem;
  }

  .desktop-menu a {
    font-weight: 500;
  }

  .desktop-menu a:hover {
    color: var(--primary);
  }

  .desktop-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .auth-buttons {
    display: flex;
    gap: 0.5rem;
  }
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: right;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  outline: none;
}

.mobile-toggle:hover {
  color: var(--primary);
}

.mobile-toggle:active {
  transform: scale(0.95);
}

.mobile-toggle:focus {
  outline: none;
}

@media (min-width: 1210px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background-color: var(--white);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--gray-200);
  align-items: center;
}

.mobile-menu.active {
  display: flex;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a {
  width: 100%;
  padding: 1rem 1.5rem;
  color: var(--gray-800);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--gray-100);
  transition: all 0.2s ease;
  text-align: center;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  background-color: var(--gray-50);
  color: var(--primary);
  padding-left: 1.5rem;
}

.mobile-menu .mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background-color: var(--gray-50);
  border-top: 2px solid var(--gray-200);
  width: 100%;
}

.mobile-menu .mobile-buttons .btn-outline {
  padding: 0.875rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  border: 2px solid var(--secondary);
  background-color: var(--white);
  color: var(--secondary);
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
}

.mobile-menu .mobile-buttons .btn-outline:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 69, 110, 0.2);
}

.mobile-menu .btn-primary {
  padding: 1rem 1.5rem;
  margin-top: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(224, 94, 26, 0.3);
  transition: all 0.3s ease;
  width: 100%;
}

.mobile-menu .btn-primary:hover {
  background: rgba(224, 94, 26, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 94, 26, 0.4);
}

/* Mobile menu backdrop */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active {
  display: block;
  opacity: 1;
}

/* Ensure proper touch target sizes on mobile (44x44px minimum) */
@media (max-width: 767px) {
  .mobile-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-menu a,
  .mobile-menu .btn-outline,
  .mobile-menu .btn-primary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Smooth scrolling for Safari iOS */
@supports (-webkit-overflow-scrolling: touch) {
  .mobile-menu {
    -webkit-overflow-scrolling: touch;
  }
}

/* Fix for small screens orientation */
@media (max-width: 767px) and (orientation: landscape) {
  .mobile-menu {
    max-height: calc(100vh - 60px);
  }
}

/* Main Content Layout */
/* ================================================= */
.signup-form-section {
  padding-top: 5rem;
  padding-bottom: 2rem;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .signup-form-section {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 768px) {
  .signup-form-section {
    padding-top: 10rem;
    padding-bottom: 4rem;
  }
}

.signup-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, rgba(224, 94, 26, 0.15) 0%, rgba(88, 28, 135, 0.08) 50%, transparent 80%);
  transform: rotate(-15deg);
  z-index: 1;
}

.signup-form-section .container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding-top: 2rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.form-wrapper {
  width: 100%;
  max-width: 700px;
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

/* Form Header */
/* ================================================= */
.form-header {
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .form-header {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .form-header {
    padding: 2.5rem 2rem;
  }
}

.form-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

@media (min-width: 480px) {
  .form-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.625rem;
  }
}

@media (min-width: 640px) {
  .form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 768px) {
  .form-header h2 {
    font-size: 2.25rem;
  }
}

.form-header p {
  font-size: 0.875rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.4;
}

@media (min-width: 480px) {
  .form-header p {
    font-size: 1rem;
  }
}

@media (min-width: 640px) {
  .form-header p {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .form-header p {
    font-size: 1.25rem;
  }
}

/* Progress System */
/* ================================================= */
.progress-bar {
  position: relative;
  height: 6px;
  background-color: var(--gray-200);
  margin: 1.5rem 2rem 2rem;
  border-radius: 3px;
}

@media (min-width: 480px) {
  .progress-bar {
    margin: 1.75rem 4rem 2rem;
  }
}

@media (min-width: 640px) {
  .progress-bar {
    margin: 2rem 5rem 2rem;
  }
}

@media (min-width: 768px) {
  .progress-bar {
    margin: 2rem 7rem 2rem;
  }
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 20%;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px;
}

.progress-steps {
  position: absolute;
  top: -1.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  padding: 0 0.5rem;
}

@media (min-width: 480px) {
  .progress-steps {
    top: -1.75rem;
    padding: 0 1rem;
  }
}

@media (min-width: 640px) {
  .progress-steps {
    top: -2rem;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .progress-steps {
    padding: 0 2rem;
  }
}

.progress-step {
  width: 2rem;
  height: 2rem;
  background-color: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gray-500);
  font-size: 0.75rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}

@media (min-width: 480px) {
  .progress-step {
    width: 2.5rem;
    height: 2.5rem;
    border-width: 2.5px;
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .progress-step {
    width: 3rem;
    height: 3rem;
    border-width: 3px;
    font-size: 0.875rem;
  }
}

.progress-step.active {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.progress-step.completed {
  background: var(--gradient-success);
  border-color: var(--success);
  color: var(--white);
}

.progress-step.completed::after {
  content: '✓';
  font-size: 1rem;
  font-weight: 800;
}

.step-label {
  position: absolute;
  top: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--gray-600);
  text-align: center;
  white-space: nowrap;
  transition: all var(--transition-normal);
  display: none;
}

@media (min-width: 480px) {
  .step-label {
    display: block;
    top: 3rem;
    font-size: 0.6875rem;
  }
}

@media (min-width: 768px) {
  .step-label {
    top: 3.75rem;
    font-size: 0.75rem;
  }
}

.progress-step.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

/* Form Steps */
/* ================================================= */
.driver-form {
  position: relative;
}

.form-step {
  display: none;
  padding: 0.75rem;
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  .form-step {
    padding: 1rem;
  }
}

@media (min-width: 768px) {
  .form-step {
    padding: 1.5rem;
  }
}

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

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

.step-header {
  margin-bottom: 1rem;
  text-align: center;
}

.step-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

@media (min-width: 480px) {
  .step-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
    gap: 0.5rem;
  }
}

@media (min-width: 768px) {
  .step-header h3 {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
  }
}

.step-badge {
  width: 2rem;
  height: 2rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .step-badge {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .step-badge {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.25rem;
  }
}

.step-header p {
  color: var(--gray-600);
  font-size: 0.875rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}

@media (min-width: 480px) {
  .step-header p {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .step-header p {
    font-size: 1.125rem;
  }
}

/* Form Elements */
/* ================================================= */
.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.form-group {
  margin-bottom: 0.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .form-group label {
    margin-bottom: 0.625rem;
    font-size: 0.925rem;
  }
}

@media (min-width: 768px) {
  .form-group label {
    margin-bottom: 0.75rem;
    font-size: 0.975rem;
  }
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  background: var(--white);
  transition: all var(--transition-normal);
  outline: none;
}

@media (min-width: 640px) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.875rem 1.125rem;
    font-size: 0.975rem;
  }
}

@media (min-width: 768px) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224, 94, 26, 0.1);
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.help-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

.help-text i {
  color: var(--primary);
  font-size: 0.875rem;
}

.field-error {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Upload Sections */
/* ================================================= */
.upload-section {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
}

.upload-section h4 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.upload-section h4 i {
  color: var(--primary);
  font-size: 1.25rem;
}

.upload-instructions {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.upload-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .upload-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.upload-area {
  position: relative;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--white);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-area:hover {
  border-color: var(--primary);
  background: rgba(224, 94, 26, 0.03);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.upload-area.dragover {
  border-color: var(--primary);
  background: rgba(224, 94, 26, 0.08);
  transform: scale(1.02);
}

.upload-area.single {
  grid-column: 1 / -1;
  max-width: 500px;
  margin: 0 auto;
}

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

.upload-content {
  pointer-events: none;
  width: 100%;
}

.upload-content i {
  font-size: 3rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
  transition: color var(--transition-normal);
}

.upload-area:hover .upload-content i {
  color: var(--primary);
}

.upload-content h5 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.upload-content p {
  color: var(--gray-600);
  margin-bottom: 0.75rem;
  font-size: 0.975rem;
}

.file-types {
  font-size: 0.875rem;
  color: var(--gray-500);
  background: var(--gray-200);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  display: inline-block;
}

.upload-preview {
  position: relative;
  display: none;
  width: 100%;
}

.upload-preview img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.remove-file {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--danger);
  color: var(--white);
  border: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.remove-file:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Review Section */
/* ================================================= */
.review-section {
  margin: 2rem 0;
}

.review-section h4 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.summary-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--gray-200);
}

.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
}

.summary-item:hover {
  box-shadow: var(--shadow-sm);
}

.summary-item:last-child {
  margin-bottom: 0;
}

.summary-item strong {
  font-weight: 600;
  color: var(--gray-800);
  display: block;
  margin-bottom: 0.25rem;
}

.summary-item p {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin: 0;
}

/* Agreements Section */
/* ================================================= */
.agreements {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
}

.checkbox-group:hover {
  box-shadow: var(--shadow-sm);
}

.checkbox-group:last-child {
  margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  line-height: 1.5;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.checkbox-group a:hover {
  color: #c04d15;
}

/* Form Actions */
/* ================================================= */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

@media (max-width: 640px) {
  .form-actions {
    flex-direction: column;
  }
}

.form-actions .btn-outline {
  flex: 0 0 auto;
}

.form-actions .btn-primary {
  margin-left: auto;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .form-actions .btn-primary {
    margin-left: 0;
  }
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -0.25rem;
}

.footer-logo-icon i {
  color: var(--secondary);
  font-size: 2rem;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  max-width: 20rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--white);
}

.footer-column h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--white);
}

.contactinfo li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.copyright {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .copyright {
    margin-bottom: 0;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .upload-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-actions .btn-outline,
  .form-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Animations */
.form-step {
  animation: fadeInUp 0.5s ease;
}

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

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--gray-300);
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Success States */
.success-message {
  background-color: var(--success);
  color: var(--white);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.error-message {
  background-color: var(--danger);
  color: var(--white);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-bottom: 1rem;
}