.block-textfeld-chat-block {
  overflow: hidden;
  padding: 1rem;
}

.path-node-1099 .block-textfeld-chat-block {
  filter: blur(6px);
  opacity: 0.35;
  transition: filter 1s ease, opacity 1s ease;
}

.path-node-1099 .block-textfeld-chat-block.tc-visible {
  filter: none;
  opacity: 1;
}

.tc-wrap {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.tc-header {
  background: white;
  color: black;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-shrink: 0;
  border-radius: 9px 9px 0 0;
}
.tc-header__sub {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-left: auto;
  display: none;
}
.tc-disclaimer {
  font-size: 0.7rem !important;
  color: #888;
  text-align: left;
  margin: 0.5rem 0 0 1rem;
}

.tc-messages {
  max-height: 360px;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #fff;
}

.tc-msg {
  display: flex;
}
.tc-msg--user {
  justify-content: flex-end;
}
.tc-msg--assistant {
  justify-content: flex-start;
}

.tc-msg__bubble {
  max-width: 82%;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-wrap;
  border-radius: 6px;
}
.tc-msg--user .tc-msg__bubble {
  background: #00b4fb;
  color: #fff;
}
.tc-msg--assistant .tc-msg__bubble {
  background: #f1f1f1;
  color: #000;
}

.tc-msg__bubble--typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.65rem 0.9rem;
}
.tc-msg__bubble--typing span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00b4fb;
  animation: tc-bounce 1.2s infinite ease-in-out;
}
.tc-msg__bubble--typing span:nth-child(2) { animation-delay: 0.2s; }
.tc-msg__bubble--typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes tc-bounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.tc-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  padding: 0.9rem;
  background: #fff;
  flex-shrink: 0;
}
.tc-input {
  flex: 1;
  border: 1px solid #ddd;
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  resize: none;
  font-family: inherit;
  line-height: 1.5;
  border-radius: 6px;
}
.tc-input:hover,
.tc-input:focus,
.tc-input:active {
  outline: none;
  border-radius: 6px;
}

.tc-input:focus {
  border-color: #00b4fb;
}
.tc-send {
  background: #00b4fb;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  border-radius: 6px;
}
.tc-send:hover,
.tc-send:active {
  border-radius: 6px;
}
.tc-send svg { color: #fff; fill: #fff; }
.tc-send:hover:not(:disabled) { background: #008FC7; }
.tc-send:disabled { opacity: 0.4; cursor: default; }

.tc-cta {
  padding: 0 0.6rem 0.6rem;
  background: #fff;
  flex-shrink: 0;
}
.tc-cta__btn {
  width: 100%;
  padding: 0.6rem;
  background: transparent;
  border: 2px solid #00b4fb;
  font-size: 0.9rem;
  font-weight: 600;
  color: #00b4fb;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-radius: 6px;
}
.tc-cta__btn:hover {
  background: #00b4fb;
  color: #fff;
}

.tc-form {
  padding: 0.8rem;
  border-top: 1px solid #e0e0e0;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}
.tc-form__intro {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}
.tc-form__input {
  border: 1px solid #ddd;
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  border-radius: 6px;
}
.tc-form__input:focus {
  outline: none;
  border-color: #00b4fb;
}
.tc-form__error {
  font-size: 0.8rem;
  color: #c0392b;
  margin: 0;
}
.tc-form__submit {
  background: #00b4fb;
  color: #fff;
  border: none;
  padding: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 6px;
}
.tc-form__submit:hover:not(:disabled) { background: #008FC7; }
.tc-form__submit:disabled { opacity: 0.5; cursor: default; }

.tc-done {
  padding: 1.5rem;
  text-align: center;
  color: #000;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.tc-done svg {
  color: #00b4fb;
}
.tc-done p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
