html, body {
    height: 100%;
    margin: 0;
    user-select: none !important;
    font-family: "DM Sans", sans-serif;
}

#map {
    height: 100%;
    z-index: 1;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;

    height: 80px;
    background: white;
    color: white;

    overflow: hidden;
    z-index: 9999;

    transition: height 0.25s ease;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

.footer-handle {
    height: auto;
}

.footer-handle-bar {
    width: 50px;
    height: 5px;
    background: #888;
    border-radius: 5px;
    margin: 10px auto;
}

.logo {
    display: block;
    margin: 15px auto;
    width: 60%;
    max-width: 300px;
}

@media (min-width: 900px) {
    #footer {
        top: 0;
        left: 0;
        height: 100% !important;
        width: 400px;
        max-width: 400px;
        border-radius: 0;
    }

    .footer-handle-bar {
        display: none;
    }

    .logo {
        margin: 10% auto;
    }
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dbdbdb;
    border-radius: 8px;
    width: 80%;
    padding: 8px 15px;
}

.search-bar {
    width: 100%;
    border-radius: 6px;
    border: none !important;
    outline: none !important;
    font-size: 16px;
    flex: 1;
    background: transparent;
    color: black;
}

.search-icon {
    width: 22px;
    flex-shrink: 0;
    opacity: 0.8;
}

.filter-title {
    color: black;
    width: 80%;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 600;
}

.filter-group {
    width: 80%;
    margin: 5px;
}

.filter {
    display: flex;
    align-items: center;
    align-content: center;
    margin: 6px 20px;
    cursor: pointer;
    color: black;
}

.filter-checkbox input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #888;
    border-radius: 4px;
    display: grid;
    place-content: center;
}

.filter-checkbox input:checked {
    background: #4a90e2;
    border-color: #4a90e2;
}

.filter-checkbox input:checked::before {
    content: "✔";
    font-size: 12px;
    color: white;
}

.filter-radio input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #888;
    border-radius: 50%;
    display: grid;
    place-content: center;
}

.filter-radio input:checked {
    border-color: #4a90e2;
    background: white; 
}

.filter-radio input:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4a90e2;
}

.filter-icon {
    width: 15px;
    height: 15px;
    border-radius: 100%;
    display: inline-block;
    margin-left: 5px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.marker { 
    padding: 2px 15px !important;
    text-align: center;
    align-items: center;
    align-content: center;
    color: white;
    font-size: 100%;
    font-weight: 600;
    display: inline-block;  
    white-space: nowrap;
    border-radius: 20px;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -100%) !important;
}

.marker::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid black
}

.convention-marker {
    background: #e53935;
    fill: #e53935;
    fill-opacity: 0.4;
    stroke: #e53935;
    stroke-width: 2;
}

.location-marker {
    background: #43a047;
    fill: #43a047;
    fill-opacity: 0.4;
    stroke: #43a047;
    stroke-width: 2;
}

.restaurant-marker {
    background: #ff9800;
    fill: #ff9800;
    fill-opacity: 0.4;
    stroke: #ff9800;
    stroke-width: 2;
}

.hotel-marker {
    background: #7e57c2;
    fill: #7e57c2;
    fill-opacity: 0.4;
    stroke: #7e57c2;
    stroke-width: 2;
}

.beach-marker {
    background: #ffb135;
    fill: #ffb135;
    fill-opacity: 0.4;
    stroke: #ffb135;
    stroke-width: 2;
}

.service-marker {
    background: #4a90e2;
    fill: #4a90e2;
    fill-opacity: 0.4;
    stroke: #4a90e2;
    stroke-width: 2;
}

.popup-title {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.popup-link-button {
    margin-top: 10px;
    background: #4a90e2;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 8px 18px;
}
.popup-link-button:hover {
    background: #3a7bd5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.popup-link-button:active {
    background: #2f69b8;
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}