body { width: 100%; height: 100%; }
.btn-group-fab {
  position: fixed;
  width: 90px;
  height: auto;
  right: 20px; bottom: 90px;
}
.btn-group-fab div {
  position: relative; width: 100%;
  height: auto;
}
.btn-group-fab .btn {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  display: block;
  margin-bottom: 4px;
  width: 40px; height: 40px;
  margin: 4px auto;
}
.btn-group-fab .btn-main {
  width: 50px; height: 50px;
  right: 50%; margin-right: -25px;
  z-index: 9;
}
.btn-group-fab .btn-sub {
  bottom: 0; z-index: 8;
  right: 50%;
  margin-right: -20px;
  -webkit-transition: all 2s;
  transition: all 0.5s;
}
.btn-group-fab.active .btn-sub:nth-child(2) {
  bottom: 60px;
}
.btn-group-fab.active .btn-sub:nth-child(3) {
  bottom: 110px;
}
.btn-group-fab.active .btn-sub:nth-child(4) {
  bottom: 160px;
}
.btn-group-fab .btn-sub:nth-child(5) {
  bottom: 210px;
}

/* inicio script multi input */

.tags-and-input {
  display: flex;
  flex-wrap: wrap;
}

.tags-and-input .tag {
  margin-left: 5px;
  margin-bottom: 5px;
  background-color: #48cae4;
  color: #fff;
  text-align: center;
  padding: 10px 5px 10px 10px;
  border: 1px solid #ced4da;
  border-radius: 10px;
  position: relative;
  user-select: text;
  overflow: hidden;
}

.tags-and-input .tag::selection {
  background-color: #ced4da;
}

.tags-and-input .tag i {
  cursor: pointer;
  margin-left: 10px
}

.tags-and-input .tag i:hover {
  color: #ced4da;
}

.tags-and-input .input {
  margin-left: 8px;
  font-size: 18px;
  color: #ced4da;
  font-weight: bold;
  height: 40px;
  width: 20%;
  flex-grow: 1;
  border: none;
  outline: none;
}

.errors {
  padding: 20px 10px 10px 10px;
}

.errors .error {
  color: #df2935;
  font-size: 18px;
  font-weight: bold;
  display: none;
}

.details {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  font-weight: bold;
}

.details .char-length.max,
.details .tags-length.max {
  color: #df2935;
  animation: alert 1s ease-in-out infinite;
}

@keyframes alert {
  0%   {opacity: 1;}
  50%  {opacity: .5;}
  100% {opacity: 1;}
}

.details .char-length span,
.details .tags-length span {
  color: #48cae4;
}

/* fin multi input */

a.disabled {
  pointer-events: none;
  cursor: default;
}

.custom-loading-container {
  text-align: center;
}

.custom-loading-animation {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  border-top-color: #007bff;
  animation: spin 1s ease-in-out infinite;
}

.custom-loading-text {
  margin-top: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#myPieChart {
  width: 100% !important;
  height: auto !important;
  max-width: 400px; /* Ajusta este valor según lo necesites */
  margin: 0 auto; /* Centra el gráfico */
}

@media (max-width: 768px) {
  #myPieChart {
      max-width: 300px; /* Ajusta para pantallas móviles */
  }
}
