.chat-container {
  background-color: #f8f8f8 !important;
  border: 1px solid #ddd !important;
  border-radius: 5px !important;
  padding: 0px !important;
  margin: auto !important;
  display: flex !important;
  flex-direction: column !important;
    z-index: 1000;
}

.message {
  background-color: #A39661;
  color: white;
  border-radius: 25px !important;
  padding: 10px 20px !important;
  margin-bottom: 25px !important;
  width: fit-content !important;
  max-width: 80% !important;
    border: 1px solid;
}

.message.user {
  border-radius: 25px !important;
  background-color: #ffffff;
  color: black;
  border-style: solid;
  border-color: #A39661;
  margin-left: auto !important;
}

#input-area {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #FFFFFF;
  border-radius: 50px !important;
  overflow: hidden !important;
  margin-top: 60px !important;
  border-color: #A39661;
  border-style: solid !important;
  box-shadow: 0px 0px 15px 0px #A39661;

  position: relative;
  padding: 10px;
}

#input-area #ai-chat-input {
    height: auto !important;
    margin-left: 10px !important;
    border: none !important;
    background-color: unset !important;
    width: calc(100% - 80px) !important;
    max-height: 100px !important;
    border-radius: 25px !important;
    margin-bottom: -5px !important;
    margin-top: 10px !important;
}

#input-area #ai-chat-input:focus {
  outline: none;
  border: 1px solid transparent;
}

#chat-submit {
    background-color: #A39661;
    position: absolute;
    right: 38px;
    border-radius: 25px;
    max-height: 32px;
    font-size: 12px;
    padding: 10px;
    color: white;
    border: none;
    cursor: pointer;
}

.bot {
    background-color: #A39661;
    border-radius: 20px;
    padding: 5px;
}

.message-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.loading-dots {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: -23px;
  margin-left: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: #333;
  border-radius: 50%;
  animation: dotFlashing 1s infinite linear alternate;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotFlashing {
  0% {
    background-color: #333;
  }
  50%, 100% {
    background-color: #ccc;
  }
}

#wp-floating-chat-container{
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

#wp-floating-chat-content{
  display: none;
  background-color: #f1f1f1;
  padding: 0px;
  border: 1px solid #ccc;
  border-radius: 10px;
  bottom: 20px;
  right: 137px;
  position: fixed;
  width: 400px;
}

#wp-floating-chat-messages{
  height: 400px;
  overflow-y: auto;
  background-color: white;
  margin-bottom: 10px;
  padding: 5px;
  border-radius: 5px;
  padding: 10px;
}

#wp-floating-chat-input{

    width: calc(100% - 20px) !important;
    margin-bottom: 10px;
    border: none !important;
    border-radius: 25px;
    /* padding: 10px; */
    padding-left: 16px;
    padding-top: 12px;
    outline: none;
    max-height: 50px !important;
    min-height: 50px !important;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-questions-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
    position: absolute;
    bottom: 120px;
}

.chat-question-button {
    display: inline-block;
    padding: 8px 12px !important;
    margin: 5px !important;
    background-color: white !important;
    color: black !important;
    border: 1px solid !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: background-color 0.3s, box-shadow 0.3s;
    text-transform: none !important;
}

.chat-question-button:hover {
    background-color: #a1a1a1 !important;
}

.chat-question-button:focus {
    outline: none;
}

#wp-floating-chat-send, #reset-chat-btn {
    display: inline-block;
    box-sizing: border-box;
    padding: 10px;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 10px;
}

/* Send gomb */
#wp-floating-chat-send {
    width: 70%;
    background-color: #A39661;
}

/* Új chat gomb */
#reset-chat-btn {
    width: 25%;
    background-color: #8f8f8f;
    margin-left: 5px;
    margin-right: 10px;
    font-size: 12px;
}

#reset-chat-btn:hover {
    background-color: #535353;
}

.wp-floating-chat-header-container {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background-color: #A39661;
    border-radius: 9px 9px 0px 0px;
}

/* Nyitó gomb stílusa */
.wp-floating-chat-header {
    background-color: #A39661;
    color: white;
    padding: 18px;
    border-radius: 9px 9px 0px 0px;
    cursor: pointer;
    width: 60px;
    margin-left: auto;
}

/* Chat header stílusa a megnyitott ablakban */
.chat-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: white;
    border-radius: 9px 9px 0px 0px;
}

.ai-header-text {
    display: inline-block;
    margin-left: 10px;
}

.ai-header-text h1 {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    padding: 0;
    color: black;
}

.ai-status {
    margin: 0;
    font-size: 13px;
    color: #4caf50;
}

/* Záró gomb stílusa */
.chat-close-btn {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
}




