body {
    font-family: sans-serif;
    background: #fff;
    color: #000;
    padding: 10px 20px; /* Reduced top/bottom padding */
  }
  .container {
    max-width: 1200px;
    margin: auto;
  }
  
  /* Header and logo styles */
  .header {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Reduced from 20px */
    padding: 5px 0; /* Add minimal padding */
  }
  .logo {
    width: 40px; /* Reduced from 50px */
    height: 40px; /* Reduced from 50px */
    margin-right: 10px; /* Reduced from 15px */
  }
  
  .header h1 {
    font-size: 1.5rem; /* Smaller font size */
    margin: 0; /* Remove default margins */
  }
  
  /* Form styles */
  input {
    display: block;
    width: calc(100% - 16px); /* Account for padding */
    padding: 8px;
    font-size: 1rem;
    box-sizing: border-box; /* Include padding in width calculation */
  }
  button {
    margin-right: 10px;
    padding: 8px 12px;
  }
  
  #reset-form {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #495057;
  }
  
  #reset-form:hover {
    background-color: #e9ecef;
  }
  
  /* Route container styles */
  #route-container {
    margin-bottom: 10px; /* Reduced from 20px */
  }
  
  .address-input-container {
    background-color: #fff;
    padding: 8px; /* Reduced from 10px */
    border-radius: 5px;
    margin-bottom: 3px; /* Reduced from 5px */
  }
  
  .distance-element {
    padding: 8px 12px; /* Increased padding for more space */
    background-color: #f0f0f0;
    border-left: 3px solid #007bff;
    margin: 5px 0; /* Increased margin for better separation */
    font-size: 0.9rem;
    color: #333;
    line-height: 1.3; /* Improved line height for readability */
    white-space: nowrap; /* Prevent wrapping on small screens */
    overflow: hidden; /* Handle overflow */
    text-overflow: ellipsis; /* Show ellipsis for overflow */
  }
  
  .form-controls {
    margin-top: 10px; /* Reduced from 15px */
    display: flex;
    justify-content: flex-start;
  }
  
  /* Content layout */
  .content-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 15px; /* Reduced from 30px */
  }
  
  .left-column {
    width: 100%;
    margin-bottom: 20px; /* Reduced from 30px */
    padding: 10px; /* Reduced from 15px */
    background-color: #f9f9f9;
    border-radius: 8px;
  }
  
  .right-column {
    width: 100%;
  }
  
  #map {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  #total-distance {
    margin-top: 15px; /* Increased from 10px */
    padding: 10px; /* Increased from 8px */
    background-color: #e9f7ef;
    border-radius: 5px;
    font-weight: bold;
    line-height: 1.4; /* Improved line height for readability */
  }
  
  /* Responsive layout */
  @media (min-width: 768px) {
    .content-wrapper {
      flex-direction: row;
      gap: 40px; /* Add significant gap between columns */
    }
    
    .left-column {
      width: 38%;
      margin-bottom: 0;
    }
    
    .right-column {
      width: 62%;
    }
  }
  
  /* Social media footer */
  .social-footer {
    margin-top: 30px;
    padding: 15px 0;
    text-align: center;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-3px);
  }
  
  .social-icon i {
    font-size: 20px;
  }
