.search-button {
  min-width: 190px;
  height: 40px;
  color: #fff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  border-radius: 20px;
  border: 2px solid #4a868c;
  background: #4a868c;
  align-items: center;
}

.search-button:hover {
  background: #335b5f;
  color: #335b5f;
  border: #335b5f;
  color: #fff;
}

.add-button {
  min-width: 130px;
  height: 40px;
  color: #ffffff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  padding: 8px 16px;
  border-radius: 30px;
  align-items: center;
  border: 2px solid #4a868c;
  background-color: #4a868c;
  margin: 0 3px 2% 3px; /* Agrega margen a los lados */
  float: right;
}

.add-button:hover {
  background: #335b5f;
  color: #335b5f;
  border: 2px solid #335b5f;
  color: #fff;
}

.save-button {
  min-width: 130px;
  height: 40px;
  color: #fff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  border-radius: 20px;
  border: 2px solid #4a868c;
  background: #4a868c;
  align-items: center;
}

.save-button:hover {
  background: #335b5f;
  color: #335b5f;
  border: #335b5f;
  color: #fff;
}

.card-button {
  min-width: 110px;
  height: 40px;
  color: #fff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border-radius: 20px;
  border: 2px solid #4a868c;
  background: #4a868c;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px; /* Ajusta los márgenes para evitar que se salgan de la tarjeta */
}

.card-button:hover {
  background: #335b5f;
  border-color: #335b5f;
  color: #fff;
}

/* Tooltip */
.card-button[title] {
  position: relative;
}

.card-button[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Iconos dentro de botones */
.card-button .material-icons {
  font-size: 20px;
  margin-right: 5px;
}
.icon-button {
  min-width: 90px;
  height: 40px;
  color: #fff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border-radius: 20px;
  border: 2px solid #4a868c;
  background: #4a868c;
  align-items: center;
}

.icon-button:hover {
  background: #335b5f;
  color: #335b5f;
  border: #335b5f;
  color: #fff;
}

.icon-red-button {
  min-width: 90px;
  height: 40px;
  color: #fff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border-radius: 20px;
  border: 2px solid #d9534f;
  background: #d9534f;
  align-items: center;
}

.icon-red-button:hover {
  background: #c9302c;
  color: #c9302c;
  border: #c9302c;
  color: #fff;
}

.end-sale-button {
  min-width: 150px;
  height: 40px;
  color: #fff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border-radius: 20px;
  border: 2px solid #4a868c;
  background: #4a868c;
  align-items: center;
  float: right;
  margin-top: 3%;
}

.end-sale-button:hover {
  background: #335b5f;
  color: #335b5f;
  border: #335b5f;
  color: #fff;
}

.add-anticipo-button {
  min-width: 150px;
  height: 40px;
  color: #fff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border-radius: 20px;
  border: 2px solid #4a868c;
  background: #4a868c;
  align-items: center;
  margin-top: 3%;
}

.add-anticipo-button:hover {
  background: #335b5f;
  color: #335b5f;
  border: #335b5f;
  color: #fff;
}

.forgot-button {
  min-width: 110px;
  height: 40px;
  color: #fff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border-radius: 20px;
  border: 2px solid #4a868c;
  background: #4a868c;
  align-items: center;
  margin-top: 5%;
  margin-left: 5%;
  float: right;
}

.material-add-button {
  min-width: 110px;
  height: 40px;
  color: #4a868c;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border-radius: 20px;
  border: 2px solid #f2f2f2;
  background: #f2f2f2;
  align-items: center;
  margin-bottom: 1%;
}

.material-add-button:hover {
  border: 2px solid #e6e6e6;
  background: #e6e6e6;
}

.next-button {
  min-width: 150px;
  height: 40px;
  color: #ffffff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border-radius: 20px;
  border: 2px solid #4a868c;
  background: #4a868c;
  align-items: center;
  margin: 3%;
  float: right;
}

.next-button:hover {
  border: 2px solid #335b5f;
  background: #335b5f;
}

.load-button {
  min-width: 150px;
  height: 40px;
  color: #ffffff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 20px;
  border: 2px solid #4a868c;
  background: #4a868c;
  align-items: center;
}

.load-button:hover {
  border: 2px solid #335b5f;
  background: #335b5f;
}

.login-button {
  min-width: 110px;
  height: 40px;
  color: #fff;
  font-weight: bold;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border-radius: 20px;
  border: 2px solid #4a868c;
  background: #4a868c;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px;
  float: right; /* Mantén el float */
}

.login-button:hover {
  background: #335b5f;
  border-color: #335b5f;
  color: #fff;
}
