/* Base Styles */
@import '../variables.css';
@import '../responsive.css';

* {
  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: 0.875rem 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);
  font-size: 0.9375rem;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (min-width: 480px) {
  .btn-primary {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

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

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

.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,
.desktop-buttons {
  display: none;
}

.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);
}


@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;
  }
}

.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;
}

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

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

@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);
}

.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 {
  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;
}

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

.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);
}

.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;
}

.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;
}

.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);
}

/* Main Content Layout */
/* ================================================= */
main {
  padding-top: 6rem;
  padding-bottom: 2rem;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 480px) {
  main {
    padding-top: 7rem;
    padding-bottom: 2.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  main {
    padding-top: 8rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 992px) {
  main {
    padding-top: 10rem;
    padding-bottom: 4rem;
  }
}

main::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;
}

.login-container {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .login-container {
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
}

@media (min-width: 992px) {
  .login-container {
    flex-direction: row;
    height: auto;
    border-radius: 1rem;
  }
}

/* Driver Login Form Styles */
/* ================================================= */
.login-form-container {
  padding: 1.5rem;
  width: 100%;
  border: 1px solid var(--gray-200);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

@media (min-width: 480px) {
  .login-form-container {
    padding: 2rem;
  }
}

@media (min-width: 640px) {
  .login-form-container {
    padding: 2.5rem;
  }
}

@media (min-width: 992px) {
  .login-form-container {
    width: 55%;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
}

.driver-header {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
  margin-bottom: 0.5rem;
}

@media (min-width: 480px) {
  .driver-header {
    font-size: 1.75rem;
  }
}

@media (min-width: 640px) {
  .driver-header {
    font-size: 2rem;
  }
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

@media (min-width: 480px) {
  .form-title {
    font-size: 1.75rem;
  }
}

@media (min-width: 640px) {
  .form-title {
    font-size: 2rem;
  }
}

.form-subtitle {
  text-align: left;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

@media (min-width: 480px) {
  .form-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 640px) {
  .form-subtitle {
    font-size: 1rem;
  }
}

/* Driver Status Alert */
/* ================================================= */
.driver-status-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 0.5rem;
  padding: 0.875rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 480px) {
  .driver-status-alert {
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
}

.status-icon {
  width: 2rem;
  height: 2rem;
  background: var(--warning);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .status-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}

.status-content h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 0.25rem;
}

@media (min-width: 480px) {
  .status-content h4 {
    font-size: 0.975rem;
  }
}

.status-content p {
  font-size: 0.8125rem;
  color: #92400e;
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 480px) {
  .status-content p {
    font-size: 0.875rem;
  }
}

/* Form Styles */
/* ================================================= */
#driverLoginForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 480px) {
  #driverLoginForm {
    gap: 1.25rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-800);
}

@media (min-width: 480px) {
  .form-group label {
    font-size: 0.875rem;
  }
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 0.9375rem;
}

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

.form-group input {
  width: 100%;
  padding: 0.6875rem 0.875rem 0.6875rem 2.25rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.25rem;
  font-size: 0.8125rem;
  transition: border-color 0.3s ease;
}

@media (min-width: 480px) {
  .form-group input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 640px) {
  .form-group input {
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    font-size: 0.9375rem;
  }
}

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

.form-group input.error {
  border-color: var(--danger);
  box-shadow: none;
}

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

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 0.25rem;
  transition: color var(--transition-normal);
  z-index: 2;
}

.password-toggle:hover {
  color: var(--gray-600);
}

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

.field-error i {
  font-size: 0.875rem;
}

.password-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

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

.checkbox-group label {
  font-size: 0.875rem;
  color: var(--gray-600);
  cursor: pointer;
  font-weight: 400;
}

.forgot-password {
  font-size: 0.75rem;
  color: var(--primary);
  transition: color 0.3s;
}

.forgot-password:hover {
  color: #c04d15;
  text-decoration: underline;
}

/* Login Links */
/* ================================================= */
.login-links {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}


/* Benefits Panel - Driver Version */
/* ================================================= */
.benefits-panel {
  background-color: var(--secondary);
  color: var(--white);
  padding: 2rem;
  display: none;
  width: 45%;
}

@media (min-width: 992px) {
  .benefits-panel {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 1200px) {
  .benefits-panel {
    padding: 2.5rem;
  }
}

.benefits-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 1100px) {
  .benefits-header {
    gap: 1rem;
  }
}

.benefits-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

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

.benefits-panel h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: -0.5rem;
}

@media (min-width: 1100px) {
  .benefits-panel h2 {
    font-size: 1.75rem;
  }
}

.benefits-tagline {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

@media (min-width: 1100px) {
  .benefits-tagline {
    margin-bottom: 2rem;
    font-size: 1rem;
  }
}

/* Benefits List */
/* ================================================= */
.benefits-list {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 1100px) {
  .benefits-list {
    margin-bottom: 2rem;
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

@media (min-width: 1100px) {
  .benefit-item {
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
  }
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

.benefit-icon {
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 1100px) {
  .benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}

.benefit-content h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

@media (min-width: 1100px) {
  .benefit-content h4 {
    font-size: 1rem;
  }
}

.benefit-content p {
  font-size: 0.8125rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 1100px) {
  .benefit-content p {
    font-size: 0.875rem;
  }
}

/* Testimonial */
/* ================================================= */
.testimonial {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 0.975rem;
  opacity: 0.95;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  background-color: var(--primary);
  color: var(--white);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

.author-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.author-title {
  margin-top: -10px;
  font-size: 0.75rem;
  opacity: 0.7;
}

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

.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);
}

@media (min-width: 1024px) {
  .navbar nav {
    max-width: 1500px;
    margin: 0 auto;
  }
}

/* Responsive Design */
/* ================================================= */
@media (max-width: 768px) {
  main {
    padding-top: 5rem;
    padding-bottom: 3rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .login-container {
    margin: 1rem auto;
    border-radius: var(--radius-xl);
  }

  .login-form-container {
    padding: 2rem 1.5rem;
  }

  .driver-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.75rem;
  }

  .driver-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }

  .form-title {
    font-size: 1.75rem;
  }

  .resource-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .benefits-list {
    margin-bottom: 1.5rem;
  }

  .benefit-item {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .benefit-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }

  .testimonial {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .earnings-preview {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .navbar nav {
    padding: 1rem;
  }

  .logo {
    font-size: 1.75rem;
  }

  .car-icon {
    font-size: 2.25rem;
  }

  .login-form-container {
    padding: 1.5rem 1rem;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .form-group input {
    padding: 0.75rem 0.875rem 0.75rem 2.5rem;
  }

  .driver-resources {
    padding: 1.25rem;
  }

  .resource-link {
    padding: 0.625rem;
    font-size: 0.8125rem;
  }
}

/* Loading Animation */
/* ================================================= */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Print Styles */
/* ================================================= */
@media print {
  .navbar,
  .footer,
  .benefits-panel {
    display: none;
  }

  main {
    padding-top: 0;
    background: white;
  }

  .login-container {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
