/* Efecto visual para que resalten las cards */
.card-activity {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border-left: 4px solid #3f51b5 !important; /* Banda lateral de color */
}

.card-activity:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Estilo para el switch más grande y colorido */
.custom-switch {
  width: 2.5em !important;
  height: 1.25em !important;
  cursor: pointer;
}

.custom-switch:checked {
  background-color: var(--card-color) !important;
  border-color: var(--primary-color) !important;
}

.icon-indicator {
  width: 8px;
  height: 8px;
  background-color: #dee2e6;
  border-radius: 50%;
}

/*DISEÑO PARA LOS RADIOS DE ESTABLECIMIENTO*/
.custom-switch-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.custom-switch-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  margin: 0;
  display: inline-block;
  flex-shrink: 0;
}

.custom-switch-group label {
  cursor: pointer;
  font-size: 1rem;
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}

.custom-switch-group input[type="radio"]:checked {
  opacity: 0;
  width: 0;
  margin: 0;
}

.custom-switch-group input[type="radio"]:checked + label {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  padding: 8px 16px;
  margin-left: -5px;
}

.custom-switch-group input[type="radio"]:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/*CTA PARA GUARDAR*/

.btn-save {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  border-radius: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/*BOTÓN GUARDADO ESTABLECIMIENTO*/

.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  /* IMPORTANTE: Columna inversa para que el botón principal sea la base */
  flex-direction: column-reverse;
  align-items: flex-end;
}

/* Botón Principal (Base) */
.btn-fab-main {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
  /* Espacio para que no choque con las opciones al bajar */
}

/* Contenedor de Opciones (Ahora aparecerá ARRIBA del botón) */
.fab-options {
  display: flex;
  /* Los items se apilan hacia arriba */
  flex-direction: column-reverse;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  /* Animación: sube un poco al aparecer */
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Estado Activo (Hover) */
.fab-container:hover .fab-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-container:hover .btn-fab-main {
  transform: scale(1.1);
  background-color: #0033a0;
}

.fab-container:hover .btn-fab-main i {
  transform: rotate(45deg);
}

/* Botones Secundarios */
.btn-fab {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: none;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.btn-registrar {
  background-color: var(--success-color);
}

.btn-guardar {
  background-color: var(--primary-color);
}

/* Etiquetas */
.fab-label {
  background: white;
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 8px;
  margin-right: 15px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  border: 1px solid #eee;
}

.fab-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
