.btn-group {
  display: inline-flex; /* Keeps buttons in a single row */
  overflow: hidden; /* Prevents button borders from overlapping */
}

.btn-group-vertical {
  display: inline-flex; /* Aligns buttons in a single column */
  flex-direction: column; /* Stacks buttons vertically */
  overflow: hidden; /* Keeps rounded corners clean */
}

.button {
  display: flex;
  align-items: center;
  justify-content: center; /* Center text horizontally */
  text-decoration: none;
  font-size: 14px;
  padding: 5px 10px;
  border: 0px;
  border-radius: 5px;
  transition: background-color 0.2s, color 0.2s;
  margin: 4px;
  color: #fff;
  cursor: pointer;
  background-color: #ff0000;

}

.button.large {
  font-size: 16px;
  padding: 15px 20px;
}

.button.fullwidth {
  width: 100%;
}

.button:hover {
  /* default red */
  background-color: #cc0000;
}

.button.gray {
  background-color: #ddd;
  color: #000;
}

.button.gray:hover {
  background-color: #c4c4c4;
}

.button.black {
  background-color: #000;
  color: #fff;
}

.button.black:hover {
  background-color: #333;
}

.button.green {
  background-color: green;
  color: #fff;
}

.button.green:hover {
  background-color: #047623;
}

.button.white {
  background-color: #ffffff;
  color: #000;
  border: 1px solid #000;
}

.button.white:hover {
  background-color: #eee;
}

.button.blue {
  background-color: #007bff;
  color: #fff;
}

.button.blue:hover {
  background-color: #0062cc;
}


a.button {
  color: #fff;
}

.button.disabled {
  background-color: #777;
  /* Adjust disabled state background color */
  color: #aaa;
  cursor: not-allowed;
}

.button.disabled:hover {
  background-color: #777;
  /* Adjust disabled state hover color */
  color: #aaa;
}

.button>i, .button>img {
  margin-right: 5px;
  /* font-size: 1.2em; */

}

.button:not(.disabled):hover>img {
  /* filter: grayscale(100%) brightness(1.5); */
}

.button:not(.disabled):hover>i {
  color: #fff;
}

.floating-button {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
}

/* Additional styles for each button */
.floating-button button {
  margin-right: 10px;
  /* Adjust this value to add space between buttons */
  display: flex;
  align-items: center;
}

/* Additional styles to improve button visibility */
.floating-button i {
  font-size: 24px;
}
