/*------------------------------------
  AI Chatbot Styles
------------------------------------*/

/*=== General Layout ===*/
.sec_ai_chatbot {
  padding: 20px 0 0;
  background-color: #fff;
}

.mb-3 {
  margin-bottom: 16px;
}

.font-weight-bold {
  font-weight: 600;
}

.container {
  max-width: 1200px;
  padding: 0;
  margin: 0 auto;
}

/*=== Chat Wrapper ===*/
.ai-chat-wrapper {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  margin: 0 auto;
}

.response-gallery-page {
  background: #fff;
  height: 100%;
  overflow-y: auto;
}

.response-gallery-page::-webkit-scrollbar {
  width: 8px;
  background-color: transparent;
}
.response-gallery-page::-webkit-scrollbar-thumb {
  background-color: #A0A5B4;
  border-radius: 10px;
}

/*=== Chat Container ===*/
.response-container {
  overflow-y: auto;
  height: 400px;
}

.response {
  margin-bottom: 18px;
}

.response-box {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.response-message {
  padding: 6px 10px 0;
}

.greeting-msg .response-box {
  background-color: #efefef;
  border: 1px solid #d1d1d1;
}

/*=== Question Box ===*/
.question_pre {
  background: none;
  color: inherit;
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  white-space: pre-wrap;
  word-wrap: break-word;
  padding-left: 10px;
  margin: 0;
}

.question-box {
  padding: 15px 20px;
  background-color: #0076c02b;
  border: 1px solid #dbdde5;
  border-radius: 5px;
  max-width: calc(100% - 50px);
}

.question {
  font-weight: 700;
  margin-bottom: 10px;
}

/*=== Chat Input ===*/
.chat-question-con {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  border-radius: 12px;
  justify-content: center;
  background-color: #F0F2F6;
  padding-right: 10px;
}

.textarea-container {
  position: relative;
  width: 100%;
}

textarea.chat-question {
    width: 100%;
    color: #000;
    resize: none;
    overflow-y: auto;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    margin: 0;
    line-height: 1.2em;
    min-height: 50px;
    background-color: #F0F2F6;
	padding-top: 15px;
    padding-left: 15px;
	padding-bottom: 0px;
}

.chat-question::placeholder {
  color: #999;
  font-size: 15px;
}

/*=== Send Button ===*/
.send_icon {
  background: url('/wp-content/uploads/2025/11/send.png') no-repeat center center;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 4px;
  cursor: pointer;
  background-size: 18px;
}

.send_icon.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/*=== Scrollbars ===*/
textarea.chat-question::-webkit-scrollbar {
  width: 6px;
  background-color: transparent;
}
textarea.chat-question::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #717684;
}

/*=== Feedback Section ===*/
.feedback_conatiner {
  color: #333740;
  padding: 25px 0 5px;
  text-align: center;
}
.feedback_conatiner a {
  text-decoration: underline;
  color: #0076c0;
  cursor: pointer;
}

span.feedback_error_message {
  color: red;
  font-weight: 500;
}
span.feedback_success_message {
  color: green;
  font-weight: 500;
}

/*=== Feedback Modal ===*/
.modal1 {
  position: fixed;
  z-index: 101;
  left: 0;
  top: 30%;
  width: 100%;
  height: 100%;
/*   background: #333740a6; */
  display: none;
}

.modal-content {
  background-color: #fff;
  border: 1px solid #888;
  border-radius: 12px;
  margin: 15% auto;
  width: 25%;
}

.fc_feedback_header {
  background: #333740;
  color: #fff;
  padding: 10px 16px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
  padding: 0 6px;
  opacity: 0.75;
  color: #fff;
}

.modal-content-inner-heading {
  background: #f8f6f4;
  padding: 16px 22px;
  text-align: center;
  line-height: 33px;
}

.modal-content-inner-heading h2 {
  font-size: 26px;
  font-weight: 600;
}

.modal-content-inner {
  padding: 16px;
  background: #fff;
  border-radius: 12px;
}

.feedback_p {
  text-align: center;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 28px;
}

.face-images-container {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  min-height: 70px;
}
.face-images {
  display: flex;
  cursor: pointer;
}

.feedback-item {
  display: inline-block;
  border-radius: 5px;
  padding: 4px 7px;
  background: #f8f6f4;
  border: 1px solid transparent;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .04);
}
.feedback-item:hover {
  border: 1px solid #333740;
}

#user-feedback-textarea {
  border: 1px solid #dbdde5;
  border-radius: 5px;
  min-height: 140px;
  padding: 8px;
  resize: none;
  width: 100%;
  margin: 8px 0;
  color: #333740;
  font-weight: 400;
}

.btn-primary-grad {
  background: #95c93d;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 12px 20px;
  width: 100%;
}

.btn-primary-grad-cancel {
  border: 1px solid #95c93d;
  border-radius: 5px;
  color: #000;
  cursor: pointer;
  font-weight: 500;
  padding: 8px 20px;
  width: 100%;
}

.questionMessage {
    background-color: #F0F2F6;
    padding: 10px;
    border-radius: 10px;
	margin-top: 15px;
    margin-bottom: 15px;
}

/*=== Prompts Boxes ===*/
.boxes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.box {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: left;
  padding: 7px 10px;
  min-width: 200px;
  flex: 1 1 200px;
  background-color: #fff;
  box-shadow: 0 6px 14px 0 rgba(33,35,68,.05);
  cursor: pointer;
  transition: all 0.2s ease;
}
.box:hover {
  transform: translateY(-4px);
}
.icon {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
}
.active {
    background: #EBE8E6;
    border: 1px solid #261155;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .04);
}
/*=== Responsive Fixes ===*/
@media (max-width: 600px) {
  .modal-content {
    width: 95%;
  }
  .modal-content-inner-heading h2 {
    font-size: 22px;
  }
}

@media (min-width: 768px) {
  h2 {
    font-weight: 600;
  }
}
