:root {
    --purple: #24094e;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

.topbar {
    background: #fff;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
    width: 100%;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.brand-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
}

.logo-img {
    height: 35px;
    width: auto;
}

h1 {
    margin: 0;
    font-size: 16px;
    color: var(--purple);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-side {
    display: flex;
    justify-content: flex-end;
}

.hamburger {
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: black;
    padding: 5px 10px;
}

.filter-panel {
    display: none;
    background: #fff;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    max-height: 60vh;
    overflow-y: auto;
}

.filter-panel.active {
    display: block;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filters>div {
    width: 100%;
}

label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 2px;
    text-transform: uppercase;
}

select {
    width: 100%;
    height: 45px;
    border: 1px solid #999;
    border-radius: 8px;
    font-size: 16px;
    padding: 5px;
    background-color: #fcfcfc;
}

.btn-small {
    width: 100%;
    height: 45px;
    background: var(--purple);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.status {
    margin-top: 5px;
    font-size: 10px;
    color: #555;
    text-align: center;
}

#map {
    flex: 1;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@media (min-width: 768px) {
    .filters {
        flex-direction: row;
        align-items: flex-end;
    }

    .filters>div {
        flex: 1;
    }

    .btn-small {
        width: auto;
        padding: 0 20px;
    }

    h1 {
        font-size: 20px;
    }

    .side-spacer {
        display: block;
    }
}