body.page-id-6,
body.page-id-6 html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}


:root {
  --input-height: 70px;
}

.hidden-upload {
  display: none;
}

.chat-wrapper {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  background: #f7f7f7;
  overflow: hidden;
}

.invoaice-chat-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.chat-output {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  padding-bottom: calc(var(--input-height) + 40px);
  background-image: url('https://invoaice.com/wp-content/uploads/2025/07/ChatGPT-Image-Jul-15-2025-11_25_30-PM.webp');
  background-size: 300px;
  background-repeat: repeat;
  background-position: center;
}

#ocr-status {
  width: 100%;
  padding: 6px 14px;
  font-size: 13px;
  color: #555;
  background: #ffffff;
  text-align: center;
  box-sizing: border-box;
  border-top: 1px solid #eee;
  z-index: 10;
}

.chat-input-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 -1px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.chat-input-container .input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
}

.chat-input-container textarea {
  flex: 1;
  padding: 10px;
  font-size: 15px;
  border-radius: 8px;
  border: none;
  resize: none;
  background: #f9f9f9;
  min-height: 36px;
  max-height: 120px;
  outline: none;
  overflow-y: auto;
}

.chat-input-container button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
  color: #333;
}

.chat-input-container .icon-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-bubble {
  max-width: 75%;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
  
  word-break: break-word;
  display: inline-block;
  clear: both;
  animation: popIn 0.3s ease-out;
}

.user-bubble {
  background-color: #daf1ff;
  align-self: flex-end;
  border-bottom-right-radius: 0;
  text-align: left;
  float: right;
}

.bot-bubble {
  background-color: #f1f1f1;
  align-self: flex-start;
  border-bottom-left-radius: 0;
  text-align: left;
  float: left;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  .chat-wrapper,
  .invoaice-chat-box,
  .chat-output,
  .chat-input-container {
    width: 100vw;
  }

  .chat-input-container {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
  }
}


.elementor-6 .elementor-element.elementor-element-6761e7e { 
  --display: contents !important;
}

.user-info {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    padding: 4px 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 240px;
    font-size: 14px;
}

.user-info .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info .user-name {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
