 body {
        font-family: system-ui, sans-serif;
        margin: 0;
        background: #f9fafb;
        display: flex;
        flex-direction: column;
        height: 100vh;
      }

      h2 {
        padding: 12px 16px;
        margin: 0;
        background: #0ea5a3;
        color: white;
        font-size: 1.25rem;
        font-weight: 600;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      }

      /* Flex layout: map left, info right */
      .main-container {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        margin: 15px;
      }

      /* Map */
      #map {
        flex: 2;
        height: 500px;
        width: 100%;
        border-radius: 20px;
        border: 2px solid #0ea5a3;
      }

      /* Side panel (info + buttons) */
      .side-panel {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 15px;
      }

      /* Info panel */
      #info {
        background: #fff;
        border: 1px solid #e5e7eb;
        padding: 14px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        font-size: 0.95rem;
      }

      /* Buttons */
      button {
        padding: 10px 16px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
        transition: background 0.2s, transform 0.1s;
      }

     

      #pickupBtn {
        background: #2563eb;
        color: white;
        font-size: 0.95rem;
      }

      #pickupBtn:hover {
        background: #1e40af;
      }

      /* Popup overlay */
      #popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 1000;
      }

      #popupBox {
        background: #fff;
        padding: 24px;
        border-radius: 12px;
        width: 90%;
        max-width: 350px;
        text-align: center;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
        animation: fadeIn 0.3s ease;
      }

      #popupBox h3 {
        margin-bottom: 10px;
        font-size: 1.1rem;
        color: #111827;
      }

      #popupBox button {
        margin: 8px;
        padding: 10px 16px;
        border-radius: 6px;
        font-size: 0.9rem;
      }

      #rejectBtn {
        background: #dc2626;
        color: #fff;
      }
      
      #acceptBtn {
        background: #16a34a;
        color: #fff;
      }

      /* Complete Trip button */
      #completeBtn {
        background: #16a34a;
        color: white;
        border: none;
        padding: 10px 18px;
        margin-top: 12px;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        font-size: 0.95rem;
        transition: background 0.2s, transform 0.1s;
        display: inline-block;
      }

      /* Responsive */
      @media (max-width: 900px) {
        .main-container {
          flex-direction: column;
        }
        #map {
          width: 100%;
        }
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: scale(0.95);
        }
        to {
          opacity: 1;
          transform: scale(1);
        }
      }
