body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

#logo {
    position: fixed;
    top: 20px;
    left: 50px;
    z-index: 1001;
    font-size: 2.5em;
    font-weight: 700;
    color: #fff;
    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000; /* Borde negro */
}

#map {
    height: 100%;
    width: 100%;
    filter: blur(0);
    transition: filter 0.3s ease-in-out;
}

#map.blur {
    filter: blur(5px);
}

.leaflet-interactive {
    border-radius: 5px;
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-button:hover, 
.close-button:focus {
    color: #333;
}

.modal-content h2 {
    margin-top: 0;
    color: #333;
}

#vote-counts {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: space-around;
}

#vote-counts li {
    font-size: 1.1em;
    color: #555;
}

#vote-counts span {
    display: block;
    font-size: 2em;
    font-weight: 700;
    margin-top: 5px;
}

#good-votes {
    color: #4CAF50;
}

#nogo-votes {
    color: #f44336;
}

#medium-votes {
    color: #ffeb3b;
}

.vote-buttons button {
    padding: 12px 24px;
    margin: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
}

.vote-buttons button:hover {
    transform: translateY(-2px);
}

.vote-buttons button:active {
    transform: translateY(0);
}

#good-zone-btn {
    background-color: #4CAF50;
}

#nogo-zone-btn {
    background-color: #f44336;
}

#medium-zone-btn {
    background-color: #ffeb3b;
    color: black;
}

#search-container {
    position: fixed;
    top: 100px;
    left: 15px;
    z-index: 1001;
    display: flex;
}

#city-search-input {
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px 0 0 5px;
}

#city-search-btn {
    border: 1px solid #ccc;
    border-left: none;
    padding: 5px 10px;
    background-color: #f0f0f0;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}

#gps-location-btn {
    margin-left: 10px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
    border-radius: 5px;
}

.gps-marker {
    width: 20px;
    height: 20px;
    position: relative;
}

.gps-marker::before,
.gps-marker::after {
    content: '';
    position: absolute;
    background-color: #87CEFA;
    border: 1px solid #2980B9;
}

.gps-marker::before {
    width: 2px;
    height: 20px;
    left: 9px;
    top: 0;
}

.gps-marker::after {
    height: 2px;
    width: 20px;
    top: 9px;
    left: 0;
}
