Before and after applying this CSS
.text-area {
-fx-background-color: white;
/* Shadow effect */
-fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.2), 10, 0, 5.0, 5.0);
}
.text-area .content {
-fx-background-color: white;
-fx-background-insets: 0;
-fx-background-radius: 0;
}
.text-area:focused .content {
-fx-background-color: white;
-fx-background-insets: 0;
-fx-background-radius: 0;
}