html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#map {
    height: 100vh;
    width: 100vw;
}

.control-button {
    position: absolute;
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    font-size: 16px;
}

#add-location {
    bottom: 8%;
    left: 1%;
}

#donate {
    bottom: 8%;
    right: 1%;
}

/* Reset button basic styles */
.reset-button {
    position: absolute;
    bottom: 15%;
    right: 1%;
    width: 50px;
    height: 50px;
    background-color: white;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #007bff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 1000;
}

/* On hover */
.reset-button:hover {
    background-color: #f0f0f0;
}

/* White center overlay */
.reset-button::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1002;
    transition: opacity 0.3s ease;
}

/* Hide the white center when the button is clicked */
.reset-button.clicked::before {
    opacity: 0;
}

/* Custom tooltip styles */
.reset-button::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

/* Responsive design */
@media (max-width: 600px) {
    .control-button {
        font-size: 14px;
        padding: 8px;
    }
    #modal {
        width: 95%;
        height: 90%;
        top: 2.5%;
        left: 2.5%;
    }
}
