
/* Migrated from global-design-system.css: floating support AI widget. */
/* Asistente IA flotante: soporte global en todas las paginas autenticadas. */
.lf-support-ai-widget {
  position: fixed;
  right: 28px;
  bottom: 34px;
  z-index: 2147483000;
  font-family: inherit;
}

.lf-support-ai-launcher {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124, 58, 237, .22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(109, 74, 255, .95), rgba(37, 99, 235, .95));
  color: #fff;
  box-shadow: 0 20px 46px rgba(37, 99, 235, .28);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  animation: lf-support-ai-pulse 2.8s ease-in-out infinite;
}

.lf-support-ai-launcher:hover,
.lf-support-ai-widget.is-open .lf-support-ai-launcher {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(37, 99, 235, .34);
}

.lf-support-ai-launcher svg {
  width: 27px;
  height: 27px;
}

@keyframes lf-support-ai-pulse {
  0%,
  100% {
    box-shadow: 0 20px 46px rgba(37, 99, 235, .28), 0 0 0 0 rgba(109, 74, 255, .26);
  }

  50% {
    box-shadow: 0 22px 54px rgba(37, 99, 235, .34), 0 0 0 10px rgba(109, 74, 255, 0);
  }
}

.lf-support-ai-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(390px, calc(100vw - 28px));
  max-height: min(680px, calc(100vh - 122px));
  display: grid;
  grid-template-rows: auto minmax(190px, 1fr) auto auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(124, 58, 237, .18);
  border-radius: 24px;
  background: rgba(248, 250, 255, .78);
  box-shadow: 0 26px 70px rgba(15, 23, 42, .18);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform: translateY(10px) scale(.98);
  transform-origin: right bottom;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.lf-support-ai-panel[hidden] {
  display: none;
}

.lf-support-ai-widget.is-open .lf-support-ai-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lf-support-ai-head {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
}

.lf-support-ai-person {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lf-support-ai-orb {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(109, 74, 255, .12);
  color: #5b21b6;
}

.lf-support-ai-orb svg {
  width: 22px;
  height: 22px;
}

.lf-support-ai-person strong {
  display: block;
  overflow: hidden;
  color: #070b2d;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lf-support-ai-person span:not(.lf-support-ai-orb) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: #52617d;
  font-size: 12px;
  font-weight: 500;
}

.lf-support-ai-person i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .14);
}

.lf-support-ai-time {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(203, 213, 225, .64);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, .44);
  color: #4f46e5;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.lf-support-ai-time svg {
  width: 14px;
  height: 14px;
}

.lf-support-ai-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(203, 213, 225, .64);
  border-radius: 999px;
  background: rgba(255, 255, 255, .44);
  color: #52617d;
  cursor: pointer;
}

.lf-support-ai-close svg {
  width: 15px;
  height: 15px;
}

.lf-support-ai-thread {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 9px;
  overflow: auto;
  padding: 8px 2px;
}

.lf-support-ai-bubble {
  max-width: 86%;
  border: 1px solid rgba(203, 213, 225, .54);
  border-radius: 18px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .38);
  color: #101332;
}

.lf-support-ai-bubble p {
  margin: 0;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.45;
}

.lf-support-ai-bubble--bot {
  justify-self: start;
}

.lf-support-ai-bubble--user {
  justify-self: end;
  border-color: rgba(109, 74, 255, .18);
  background: rgba(109, 74, 255, .12);
}

.lf-support-ai-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.lf-support-ai-quick button {
  min-width: 0;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(124, 58, 237, .22);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(255, 255, 255, .36);
  color: #3b2ccb;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.lf-support-ai-quick button:hover {
  background: rgba(109, 74, 255, .1);
}

.lf-support-ai-quick svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.lf-support-ai-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 9px;
  border: 1px solid rgba(203, 213, 225, .6);
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, .46);
}

.lf-support-ai-form input {
  min-width: 0;
  min-height: 40px;
  border: 0;
  border-radius: 13px;
  padding: 0 10px;
  background: transparent;
  color: #172044;
  font: inherit;
  font-size: 13px;
  outline: 0;
}

.lf-support-ai-form button {
  width: 48px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #6d4aff, #2563eb);
  color: #fff;
  cursor: pointer;
}

.lf-support-ai-form button svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 700px) {
  .lf-support-ai-widget {
    right: 14px;
    bottom: 22px;
  }

  .lf-support-ai-launcher {
    width: 56px;
    height: 56px;
  }

  .lf-support-ai-panel {
    bottom: 68px;
    max-height: calc(100vh - 96px);
    border-radius: 22px;
  }

  .lf-support-ai-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
