.toggle-ui-btn {
    position: relative;
    width: 100%;
    background: #000000;
    color: white;
    border: 2px solid #000000;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    margin-top: 0;
}

.toggle-ui-btn:hover {
    background: white;
    color: #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Small square button when UI is hidden */
.toggle-ui-btn.ui-hidden {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 70px;
    height: 5px;
    padding: 10px;
    background: white;
    color: #000000;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 7px;
    line-height: 1.3;
}

.toggle-ui-btn.ui-hidden:hover {
    background: #000000;
    color: white;
}

/* Hide UI elements when toggled */
body.ui-hidden .filters-container > *:not(.toggle-ui-btn),
body.ui-hidden .add-location-btn,
body.ui-hidden .info-panel {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

body.ui-hidden .filters-container {
    padding: 0;
    gap: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    width: auto;
}

.filters-container > *:not(.toggle-ui-btn) {
    transition: all 0.3s ease;
}

.add-location-btn {
    transition: all 0.3s ease;
}

.info-panel {
    transition: all 0.3s ease;
}
