#map-area-tool {
    border: 2px solid #ccc;
    margin-top: 20px;
    width: 670px;
    height: 400px !important;
    position: relative;
    overflow: hidden;
}

#address-search-wrapper {
    margin-bottom: 10px;
}

#address-input {
    width: 300px;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#search-address-btn {
    padding: 6px 12px;
    margin-left: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
}

#search-address-btn:hover {
    background: #e0e0e0;
}

.leaflet-draw-actions > li > a {
    background-color: #fff !important; /* Override default blue */
    color: #000000;
}

.leaflet-draw-actions > li > a:hover {
    background-color: #f5f5f5 !important;
}

#map-toolbar-tooltip {
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-size: 13px;
    z-index: 1000;
    pointer-events: none;
    transition: opacity 0.3s ease;
    position: absolute;
    opacity: 1;
}

/* Outer (border-colored) triangle */
#map-toolbar-tooltip::before {
    content: "";
    position: absolute;
    top: 2px; /* vertically center-ish */
    left: -10px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid #ccc; /* border color */
}

/* Inner (background-colored) triangle */
#map-toolbar-tooltip::after {
    content: "";
    position: absolute;
    top: 3px;
    left: -9px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 9px solid #fff; /* same as background */
}
