.cf7-chat-btn {
  margin-top: 8px;
  padding: 8px 14px;
  background: #2271b1;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.cf7-chat-btn:hover {
  background: #135e96;
}

.cf7-chat-modal.hidden { display: none; }

.cf7-chat-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}
.cf7-chat-window {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 360px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
padding:10px;
}
.cf7-chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  max-height: 350px;
}


.cf7-chat-input {
  display: flex;
  flex-direction: column; /* Input und Button untereinander */
  gap: 6px;               /* Abstand zwischen Input und Button */
  border-top: 1px solid #ddd;
  padding: 6px;
}

.cf7-chat-input input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
}

.cf7-chat-send-btn {
  padding: 8px 14px;
  background: #2271b1;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.cf7-chat-send-btn:hover {
  background: #135e96;
}



.cf7-chat-input button {
  background: #2271b1;
  color: #fff;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
}
.msg {
  margin: 4px 0;
  padding: 8px 10px;
  border-radius: 8px;
  max-width: 80%;
  word-wrap: break-word;
}
.msg.bot {
  background: #f0f0f0;
  align-self: flex-start;
}
.msg.user {
  background: #d0ebff;
  align-self: flex-end;
}
