.edit-area-wrapper{
  position: relative;
}
.edit-button{
  position: absolute;
  right: -5%;
  top: -15%;
  width: 45px;
  height: 45px;
  border-radius: 50px;
  padding: 10px;
  background-color: rgb(223, 223, 255);
  color: white;
  box-shadow: 0 4px 24px rgba(150, 163, 181, 0.45);
}

.edit-button:hover{
  background-color: rgb(198, 198, 254);
  transition: all;
}
.clear-history-button{
  color: red;
}
.clear-history-button:hover{
  text-decoration: underline;
  font-weight: 500;
  color: red;
}
/* Edit mode menu Side_bar Starts here */

.side_bar_wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 250px;
  background-color: #f1f1f1;
  transition: width 0.3s ease;
  overflow-x: hidden;
  z-index: 9999999;
}
.side_bar {
  height: 100%;
}

.side_bar_card {
  position: relative; /* Make it a positioning context */
  padding: 10px;
}

.history_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.history_wrapper {
  position: relative;
  overflow-y: auto; /* Allow scrolling */
  max-height: calc(100vh - 250px); /* Set max-height to keep buttons visible */
}
.save-button {
  position: fixed;
  padding: 10px 10px;
  bottom: 100px; /* Adjust bottom margin as needed */
  right: 10px; /* Adjust left margin as needed */
}
.sair {
  position: fixed;
  padding: 10px 10px;
  bottom: 10px; /* Adjust bottom margin as needed */
  right: 10px; /* Adjust left margin as needed */
}

.undo-button {
  width: 220px;
  position: fixed;
padding: 10px 10px;
  bottom: 55px; /* Adjust bottom margin as needed */
  right: 10px; /* Adjust left margin to position it next to the save button */
}
.sair{
  color: #f1f1f1;
  background-color: brown;
  width: 220px;
  z-index: 99; /* Ensure buttons are above the content */
}
/* Ensure buttons are always visible */
.save-button,
.undo-button {
  width: 220px;
  z-index: 99; /* Ensure buttons are above the content */
  background-color: #ffffff; /* Set background color */
}
.save-button,
.undo-button:hover {
  color: #f1f1f1;
  background-color: #f65a1e; /* Set background color */
}

.title_h {
  margin: 0;
}

.arrow_close {
  cursor: pointer;
  font-size: 20px;
  padding: 5px;
  margin-bottom: 10px;
}

.arrow_close::after {
  font-size:1rem ;
  content: "\2715"; /* Unicode for right arrow */
}

.content_wrapper {
  overflow-y: auto;
  height: calc(100% - 60px);
}

/* Sidebar collapsed state */
.side_bar_wrapper.collapsed {
  width: 35px;
}

.side_bar_wrapper.collapsed .arrow_close::after {
  content: "\2630";
  font-size:1rem ;
}

.side_bar_wrapper.collapsed .side_bar_card,
.side_bar_wrapper.collapsed .content_wrapper {
  display: none;
}

/* Edit mode menu Side_bar Ends here */  