/* .add-place-button positioning is in layout.css */
/* Appearance for .add-place-button */
.add-place-button {
    padding: 10px 18px;
    background-color: #0078A8;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    /* Consolidated transition property for all animations */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, left 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: normal;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-place-button.visible-by-auth {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.add-place-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.add-place-button:disabled,
.add-place-button:disabled:hover { /* :disabled:hover for non-touch to prevent hover style */
    background-color: #bdc3c7;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.add-place-button.cancel {
    background-color: #e74c3c;
}

/* Map specific states related to adding a place */
#map.crosshair-cursor {
    cursor: crosshair;
}

.leaflet-marker-pane.adding-place {
    opacity: 0.5;
}

.leaflet-marker-pane.adding-place .leaflet-marker-icon {
    pointer-events: none;
}

/* .instruction-banner positioning is in layout.css */
/* Appearance for .instruction-banner */
.instruction-banner {
    background-color: rgba(30,30,30,0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

/* #no-results-overlay positioning is in layout.css */
/* Appearance for #no-results-overlay */
#no-results-overlay {
    background-color: rgba(30,30,30,0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.error-notice { /* For geolocation errors etc. */
    background-color: var(--danger-color);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}