* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif; /* Change font-family here for different text style */
    height: 100vh;
    background-color: #f0f0f0; /* Adjust background color for body */
    overflow: hidden;
}

/* App Container (Overall Framing) - Modify flex-direction or add padding for layout tweaks */
.app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Top White Banner - Adjust padding or box-shadow for banner height/appearance */
.top-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 15px; /* Change padding here to adjust banner height */
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1003;
}

#menu-btn {
    background-color: #00FFFF; /* Cyan - Change color here */
    color: white;
    border: none;
    border-radius: 4px; /* Adjust border-radius for corner roundness */
    width: 100px; /* Adjust width/height for button size */
    height: 100px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

#menu-btn:hover {
    background-color: #00CCFF; /* Lighter cyan on hover - Adjust here */
}

.logo-container {
    flex: 1;
    text-align: center;
}

.logo {
    height: 60px; /* Adjust logo height here */
    max-width: 300px; /* Adjust max-width for logo width */
}

.help-btn {
    background-color: #00FFFF; /* Cyan circle - Change color here */
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px; /* Adjust size here */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Map Frame (White Rounded Container) - Adjust margin or border-radius for frame size; CartoDB Positron for gray look */
.map-frame {
    flex: 1;
    background: white;
    margin: 10px; /* Change margin here for frame spacing */
    border-radius: 12px; /* Adjust border-radius for corner roundness */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

#map {
    height: 100%;
    width: 100%;
}

/* Leaflet Zoom Controls (Top-Right Inside Frame) - Adjust top/right for position */
.leaflet-control-zoom {
    position: absolute !important;
    top: 10px !important; /* Change top value for vertical position */
    right: 10px !important; /* Change right value for horizontal position */
    z-index: 1001 !important;
}

/* Bottom Banner (Increased Height) - Adjust height here for overall banner height */
.bottom-banner {
    height: 150px; /* Change height here to adjust banner size */
    background: white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 20px; /* Adjust padding for internal spacing */
}

.bottom-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px; /* Adjust gap for button spacing */
}

/* Scan QR Button (Cyan, Black Bold Text) - Adjust padding for button height */
.scan-button {
    flex: 1;
    background-color: #00FFFF; /* Cyan - Change color here */
    color: white; /* Black text - Change here if needed */
    border: none;
    border-radius: 25px; /* Adjust border-radius for corner roundness */
    padding: 20px 24px; /* Change padding here to adjust button height/width */
    font-size: 18px; /* Adjust font-size for text size */
    font-weight: bold; /* Bold - Already set; change to normal if needed */
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Adjust gap for icon-text spacing */
}

.scan-button:hover {
    background-color: #00CCFF; /* Lighter cyan on hover - Adjust here */
}

.qr-icon {
    font-size: 20px; /* Adjust icon size here */
}

/* Nearby Stations Button - Adjust padding for button height */
.stations-button {
    background-color: #00FFFF; /* Cyan - Change color here */
    color: white;
    border: none;
    border-radius: 25px; /* Adjust border-radius for corner roundness */
    padding: 20px 24px; /* Change padding here to adjust button height/width */
    font-size: 18px; /* Adjust font-size for text size */
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.stations-button:hover {
    background-color: #00CCFF; /* Lighter cyan on hover - Adjust here */
}

/* Nearby Stations Overlay - Adjust width or max-height for overlay size */
.stations-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stations-content {
    background-color: white;
    width: 90%; /* Adjust width here for overlay width */
    max-width: 300px; /* Adjust max-width for max overlay width */
    max-height: 80%; /* Adjust max-height for overlay height */
    padding: 20px; /* Adjust padding for internal spacing */
    border-radius: 12px; /* Adjust border-radius for corner roundness */
    position: relative;
    overflow-y: auto;
}

.close-stations {
    position: absolute;
    top: 10px; /* Adjust top for close button position */
    right: 15px;
    font-size: 24px; /* Adjust font-size for close button size */
    cursor: pointer;
    color: #666;
}

#stations-list {
    list-style: none;
    padding: 0;
}

#stations-list li {
    padding: 10px; /* Adjust padding for list item height */
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

#stations-list li:hover {
    background-color: #f0f0f0; /* Adjust hover background here */
}

#stations-list li:last-child {
    border-bottom: none;
}

/* Menu Overlay (Slides from Left to Right) - Adjust width or transition for menu size/animation */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0; /* Starts from left edge */
    width: 300px; /* Adjust width here for menu width */
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
    z-index: 1002;
    display: flex;
    justify-content: flex-start; /* Aligns content to left */
    transition: transform 0.3s ease; /* Adjust transition duration for slide speed */
    transform: translateX(-100%); /* Hidden off-left initially */
}

.menu-overlay.show { /* Added class for slide-in */
    transform: translateX(0); /* Slides to visible */
}

.menu-content {
    background-color: white;
    width: 250px; /* Adjust width here for menu content width */
    padding: 180px 50px; /* Adjust padding for internal spacing */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); /* Shadow on right for left-slide - Adjust shadow here */
    position: relative;
    animation: slideIn 0.3s ease; /* Fallback animation - Adjust duration here */
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.close {
    position: absolute;
    top: 10px; /* Adjust top for close button position */
    right: 15px;
    font-size: 24px; /* Adjust font-size for close button size */
    cursor: pointer;
    color: #666;
}

.menu-content h3 {
    margin-bottom: 20px; /* Adjust margin for header spacing */
    text-align: center;
    color: #333;
}

.menu-content form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Adjust gap for input spacing */
    margin-bottom: 20px;
}

.menu-content input {
    padding: 10px; /* Adjust padding for input height */
    border: 1px solid #ddd;
    border-radius: 5px; /* Adjust border-radius for input corners */
}

.menu-content button {
    padding: 10px; /* Adjust padding for button height */
    background-color: cyan; /* Change login button color here */
    color: white;
    border: none;
    border-radius: 5px; /* Adjust border-radius for button corners */
    cursor: pointer;
}

.menu-content button:hover {
    background-color: #0056b3; /* Adjust hover color here */
}

/* QR Reader Overlay - Adjust max-height of video for camera view size */
#qr-reader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Adjust opacity here */
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999; /* Below menu but above map */
}

#video {
    max-width: 100%;
    max-height: 70%; /* Adjust max-height here for video size */
}

#qr-result {
    color: white;
    margin-top: 10px; /* Adjust margin for text spacing */
    font-size: 16px; /* Adjust font-size for result text */
}

@media (max-width: 600px) {
    .scan-button, .stations-button {
        font-size: 16px; /* Adjust mobile font-size here */
        padding: 18px 22px; /* Adjust mobile padding for button height */
    }
    #menu-btn {
        top: 5px;
        left: 5px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
    .menu-overlay {
        width: 100%; /* Full screen on mobile */
    }
    .menu-content {
        width: 100%;
        max-width: 300px;
    }
    .bottom-banner {
        height: 130px; /* Adjust mobile banner height here */
        padding: 15px;
    }
}