.elementor-815 .elementor-element.elementor-element-39569e8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:30px;--margin-bottom:30px;--margin-left:0px;--margin-right:0px;}/* Start custom CSS for shortcode, class: .elementor-element-589913f */.chat-container {
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 750px;
}

@media screen and (max-width: 768px){
    .chat-container {
        height: 95vh;
    }
    
    .chat-messages{
        padding: 1em !important;
    }
}

.chat-header {
  background-color: var(--e-global-color-accent);
  color: var(--e-global-color-text);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chat-persona-name {
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
  color: var(--e-global-color-primary) !important;
}

.chat-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}

.chat-branding {
  padding: 0rem;
  text-align: center;
  max-width: 120px;
}

.chat-branding-image {
  max-width: 120px;
  border-radius: 0.5rem;
}

.chat-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.5rem 5rem;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.chat-message-user {
  flex-direction: row-reverse;
}

.chat-message-assistant {
  flex-direction: row;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.avatar-user {
  background-color: var(--e-global-color-primary)
}

.avatar-assistant {
  background-color: var(--e-global-color-accent);
}

.chat-message-content-wrapper {
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.chat-message-content {
  padding: 1rem;
  border-radius: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.3;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
  border: 1px solid #ddd;
  background-color: white;
  color: #374151;
}

.chat-message-content p{
    margin: unset !important;
}

.chat-message-user .chat-message-content {
  background-color: #374151;
  color: white;
  border-radius: 1.5rem 1.5rem 0.25rem 1.5rem;
}

.chat-message-assistant .chat-message-content {
  border-radius: 1.5rem 1.5rem 1.5rem 0.25rem;
}

.chat-message-time {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.chat-input-area {
  padding: 1rem 1.5rem;
  background-color: white;
  border-top: 1px solid #ddd;
  display: flex;
  flex-direction: column;
}

.chat-input {
  resize: none;
  border: 1px solid #d1d5db;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.chat-input:focus {
  border-color: var(--e-global-color-accent);
  box-shadow: 0 0 0 3px rgb(192 237 58 / 30%);
}

.chat-buttons {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.chat-button {
  background-color: #7c3aed;
  border: none;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-button:disabled,
.chat-button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}



.chat-footer-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}

/* Gépelés animáció */
.typing-indicator {
  background-color: white;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem 1.5rem 1.5rem 0.25rem;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
  border: 1px solid #ddd;
}

.typing-dots {
  display: flex;
  gap: 0.25rem;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #9ca3af;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.dot1 {
  animation-delay: -0.32s;
}

.dot2 {
  animation-delay: -0.16s;
}

.dot3 {
  animation-delay: 0;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  } 40% {
    transform: scale(1);
  }
}/* End custom CSS */