/* LifeLoveMe shared Ask widget */

.llm-ask-widget {
  --llm-ask-accent: #3d5a80;
  --llm-ask-bg: #eef3f9;
  width: 100%;
}

.llm-ask-widget__form {
  background: var(--llm-ask-bg);
  border: 2px solid var(--llm-ask-accent);
  border-radius: 14px;
  padding: 1rem 1.1rem 1.05rem;
}

.llm-ask-widget__label {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--llm-ask-accent);
  margin-bottom: 0.55rem;
}

.llm-ask-widget__row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .llm-ask-widget__row {
    flex-direction: row;
    align-items: stretch;
  }
}

.llm-ask-widget__input {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--llm-ask-accent);
  border-radius: 10px;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.llm-ask-widget__btn {
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  min-height: 3rem;
  border: none;
  border-radius: 10px;
  background: var(--llm-ask-accent);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

.llm-ask-widget__btn:hover,
.llm-ask-widget__btn:focus-visible {
  filter: brightness(1.08);
}

.llm-ask-widget__message {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.llm-ask-widget__message--error {
  color: #b00020;
  font-weight: 600;
}

.llm-ask-widget__message--routing {
  color: #2d6a4f;
  font-weight: 600;
}

.llm-ask-widget__message--info {
  color: #5c4a00;
  background: #fff8e6;
  border: 1px solid #e6c200;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}

.llm-ask-widget__examples {
  margin-top: 1.1rem;
}

.llm-ask-widget__examples-title {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
}

.llm-ask-widget__examples-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.llm-ask-widget__example {
  font: inherit;
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  min-height: 2.5rem;
  border: 1px solid #bbb;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  line-height: 1.3;
}

.llm-ask-widget__example:hover,
.llm-ask-widget__example:focus-visible {
  border-color: var(--llm-ask-accent);
  background: #f8fbff;
}

.llm-ask-widget__scope {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: #5a6b7d;
  font-weight: 600;
}

.llm-ask-widget__guidance {
  margin-top: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: #f8fafc;
  border: 1px solid #c5d3e3;
  border-radius: 10px;
}

.llm-ask-widget__guidance-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--llm-ask-accent, #3d5a80);
}

.llm-ask-widget__guidance-msg {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #444;
}

.llm-ask-widget__guidance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.llm-ask-widget__guidance-chip {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--llm-ask-accent, #3d5a80);
  border-radius: 999px;
  background: #fff;
  color: var(--llm-ask-accent, #3d5a80);
  cursor: pointer;
}

.llm-ask-widget__guidance-chip:hover,
.llm-ask-widget__guidance-chip:focus-visible {
  background: var(--llm-ask-accent, #3d5a80);
  color: #fff;
}

@media (max-width: 479px) {
  .llm-ask-widget__input {
    font-size: 1rem;
  }

  .llm-ask-widget__btn {
    width: 100%;
  }
}
