html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

/* Pages with full-screen map (no scrolling) */
body.no-scroll {
    height: 100vh;
    overflow: hidden;
}

/* Navbar */
#navbar {
    height: 75px;
    width: 100%;
    background-color: #1f2933;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
}

#navbar-left {
    display: flex;
    align-items: center;
}

#navbar-left h1 {
    margin: 0;
    font-size: 28px;
}

#navbar-left span {
    margin-left: 15px;
    font-size: 16px;
    opacity: 0.8;
}

/* Right navigation links */
#navbar-right {
    display: flex;
    align-items: center;
}

#navbar-right a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    margin-left: 25px;
    white-space: nowrap;
}

#navbar-right a:hover {
    text-decoration: underline;
}

/* Map (only relevant on map pages) */
#map {
    width: 100%;
    height: calc(100vh - 75px); /* Navbar height */
}

/* Simple content container for text pages (privacy etc.) */
.page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 40px;
    box-sizing: border-box;
}

/* Signal legend (bottom right) */
.signal-legend {
    background: rgba(255, 255, 255, 0.92);
    padding: 8px 10px;
    border-radius: 6px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.25);
    font-size: 12px;
    color: #000;
}

.signal-legend .title {
    font-weight: bold;
    margin-bottom: 6px;
    text-align: center;
}

.signal-legend .content {
    display: flex;
    gap: 8px;
}

.signal-legend .bar {
    width: 14px;
    height: 120px;
    background: linear-gradient(
        to bottom,
        #ff0000,
        #ff7f00,
        #ffff00,
        #00ff00,
        #00ffff,
        #0000ff
    );
    border: 1px solid #666;
}

.signal-legend .labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 1.1;
    white-space: nowrap;
}
