/* Global */
body {
    margin: 0;
    display: flex;
    height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
  }
  
  .hidden { display: none; }
  
  /* Sidebar */
  #sidebar {
    width: 300px;
    background: #ffffff;
    border-right: 1px solid #e0e0e0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
  }
  
  #sidebar h3 {
    font-size: 1.25rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 2.5px;
  }
  
  /* Buttons */
  #sidebar button,
  #sidebar select {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f8f8f8;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }
  #sidebar button:hover,
  #sidebar select:hover {
    background: #eaeaea;
    border-color: #bbb;
  }
  #sidebar button:active {
    background: #ddd;
  }
  
  /* Form fields */
  #hike-form label {
    display: block;
    font-size: 0.9rem;
  }
  #hike-form input,
  #hike-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.9rem;
  }
  #hike-form textarea {
    resize: vertical;
  }
  
  /* Hike list */
  #hike-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
  }
  #hike-list li {
    padding: 10px;
    border-radius: 4px;
    background: #fafafa;
    transition: background 0.2s;
  }
  #hike-list li:hover {
    background: #f0f0f0;
  }
  #hike-list li.active {
    background: #e0f7fa;
    border-left: 4px solid #00acc1;
  }
  
  /* Map container */
  #map {
    flex: 1;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    body { flex-direction: column; }
    #sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid #e0e0e0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
    #map { height: calc(100vh - 200px); }
  }
