header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap:1rem;
    font-size: medium;
    color:white;
}

header img {
    width:10%;
    min-width: 60px;
    height:auto;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1c5b57;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5em 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 100;
    border:none;
}

.bottom-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    padding: 0.5em 1em;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.bottom-nav a:hover,
.bottom-nav a:focus {
    background: #dbdbdb;
    color: #3b3b3b;
}

/* Service worker popup styling */
.popup {
    position: fixed;
    bottom: 2em;
    right: 2em;
    background: #288681;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(40,134,129,0.15);
    padding: 1.5em 1em;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
}

.popup div {
    font-size: 1.1em;
    margin-bottom: 1em;
    text-align: center;
}

.popup button {
    margin: 0.3em 0.5em;
    padding: 0.6em 1.2em;
    background: #fff;
    color: #288681;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.popup button:hover {
    background: #1f6764;
    color: #fff;
}

/* Mobile */
@media (max-width: 500px) {
    .bottom-nav {
        padding: 0.3em 0;
    }
    .bottom-nav a {
        font-size: 0.95em;
        padding: 0.4em 0.5em;
        min-width: 0;
        text-align: center;
    }
}