/* Mobile First Styles */
.grid {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

button {
    padding: 1rem;
    border: none;
    border-radius: 4px;
    background: #007bff;
    color: white;
}
.zw-toolbar-btn {
    margin:3px;
    cursor: pointer;
    padding: 3px;
    min-width: 80px;
}
#app-root {
    padding: 1rem;
}

/* Payment Card */
.payment-card {
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #ddd;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .payment-card {
        max-width: 400px;
        margin: 1rem auto;
    }
}

/* Commuter View */
.commuter-view {
    max-width: 600px;
    margin: 0 auto;
}

.ride-option {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
}

.ride-option h3 {
    margin-top: 0;
}

.select-ride {
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
}

.selected-ride {
    background: #f8f9fa;
    padding: 1rem;
    margin-top: 2rem;
}
/* Bottom Navigation */
.nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.menu-toggle {
    display: flex;
    justify-content: center;
    padding: 1rem;     
    color: white;
    cursor: pointer;
}

.nav-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.nav-menu.open {
    max-height: 50vh;
}

.nav-items {
    list-style: none;
    padding: 0;
    margin: 0;
    cursor:pointer;
}

.nav-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.nav-item:last-child {
    border-bottom: none;
}

/* Overlay for click outside */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    display: none;
}
.nav-bar-top{
    background: rgba(0,0,0,0.3);
}


/* Mobile-first menu */
@media (max-width: 600px) {
    .w3-modal-content {
        width: 100% !important;
        bottom: 0;
        top: auto;
    }
}
.w3-dropdown-content {
    position: absolute !important;
    display: block !important;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.start-logo {
    width: 192px;
    height: 192px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}


  /* Ripple Animation */
  .ripple-circle {
    width: 100px;
    height: 40px;
    border: 2px solid #4285F4;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: ripple 1.5s infinite ease-out;
    opacity: 0;
  }
  
  .delay-1 {
    animation-delay: 0.5s;
  }
  
  .delay-2 {
    animation-delay: 1s;
  }
  
  @keyframes ripple {
    0% {
      width: 40px;
      height: 40px;
      opacity: 0.7;
    }
    100% {
      width: 100px;
      height: 100px;
      opacity: 0;
    }
  }
       
    .zw-toggle-switch {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 24px;
    }

    .zw-toggle-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .zw-slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: 0.4s;
      border-radius: 34px;
    }

    .zw-slider:before {
      position: absolute;
      content: "";
      height: 18px;
      width: 18px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: 0.4s;
      border-radius: 50%;
    }

    input:checked + .zw-slider {
      background-color: #2196F3;
    }

    input:checked + .zw-slider:before {
      transform: translateX(26px);
    }
/*  
Toolbar / Header	w3-theme-d1 or w3-theme	Strong/dark shade for contrast. Good for visibility and branding.
Buttons (Primary)	w3-button w3-theme-d1	Bold but slightly lighter than header. Looks clickable.
Buttons (Secondary)	w3-button w3-theme-l1	Softer tone. Can be used for cancel or less important actions.
Menu (Sidebar / Nav)	w3-sidebar w3-theme-d3 or w3-theme-d1	Slightly toned-down background so it doesn’t overpower the main content.
Menu Items (Hover)	w3-hover-theme-l1	Adds a highlight on hover, without being too strong.
Containers / Sections	w3-container w3-theme-l5 or w3-theme-l4	Light backgrounds for sections – clean and readable.
Cards / Panels	w3-card w3-theme-l4 or w3-theme-l3	Subtle shading. Use w3-theme-l3 for emphasis or grouping.
Footers	w3-theme-d3
*/