@font-face {
  font-family: 'Montserrat';
  /* Name your font */
  src: url('./fonts/ToyotaType-Regular.woff2') format('truetype');
  /* Path to your .ttf file */
}

@font-face {
  font-family: "UAESymbol";
  src: url('./uae-symbol.woff2') format("woff2");
  font-weight: normal;
  font-style: normal;
}

/* UAE Dirham Symbol using Unicode */
.dirham-currency-icon::before {
  content: "ê";
  font-family: "UAESymbol" !important;
}

@font-face {
  font-family: "saudi_riyal";
  src: url('./saudi-riyal.woff2') format("truetype");
  font-weight: normal;
  font-style: normal;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

@media(max-width: 600px) {
  .kore-chat-window-main-section {
    width: calc(100%);
    height: 100% !important;
    right: 0px !important;
    left: 0px !important;
    bottom: 0px !important;
    max-width: 100% !important;
  }

  .arabic-kore-chat {
    right: unset !important;
    left: 0px;
  }

  .chat-widgetwrapper-main-container {
    height: 95%;
    bottom: 100px;
    max-width: 100%;
  }
}

/* Root container */
.kore-chat-window-main-section {
  width: 450px;
  z-index: 1000000;
}

/* Flattened children of .kore-chat-window-main-section */
.kore-chat-window-main-section .hide {
  display: none !important;
}

.kore-chat-window-main-section .hidden {
  visibility: hidden !important;
}

.kore-chat-window-main-section .disableBtn {
  pointer-events: none;
  opacity: 0.4;
}

.kore-chat-window-main-section .slide-state {
  text-align: center;
  font-size: 12px;
  position: relative;
  top: 24px;
}

.kore-chat-window-main-section .riyal-currency-icon::before {
  content: "\e900";
  vertical-align: middle;
  font-family: "saudi_riyal" !important;
}

.kore-chat-window-main-section .agent-bubble-comp .agent-bubble-content .bubble-msg-with-img .bubble-msg {
  border-radius: 16px 16px 0px 16px !important;
  /* padding: 8px 32px !important; */
  padding: 10px !important;
}

.kore-chat-window-main-section .bot-bubble-comp .bot-bubble-content .bubble-msg-with-img .bubble-msg {
  border-radius: 16px 16px 16px 0px !important;
  border: 1px solid #ffffff40 !important;
  background: #f5f6f7 !important;
  /* padding: 8px 32px !important; */
  padding: 10px !important;
}

.kore-chat-window-main-section .bot-bubble-comp .bot-bubble-content {
  padding-left: 0px !important;
}

.kore-chat-window-main-section .bot-bubble-comp,
.kore-chat-window-main-section .agent-bubble-comp {
  padding: 0px 4px !important;
}

.kore-chat-window-main-section .chat-widget-body-wrapper,
.kore-chat-window-main-section .chat-widget-composebar {
  background-color: #12161c !important;
  border-bottom-left-radius: 4px;
}

/*=== Footer ===*/
.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper {
  padding: 16px 4px !important;
}

/* typing indictor */
.kore-chat-window-main-section .typing-indicator-wraper {
  top: -14px !important;
  min-width: 60px !important;
  border-radius: 12px !important;
  padding: 4px !important;
}

.kore-chat-window-main-section .typing-indicator-wraper .dot-flashing {
  left: 20px;
}

.kore-chat-window-main-section .agent-bubble-comp .agent-bubble-content .top-info .you-text,
.kore-chat-window-main-section .agent-bubble-comp .agent-bubble-content .top-info .copied-text,
.kore-chat-window-main-section .date-saperator .date-text,
.kore-chat-window-main-section .bot-bubble-comp .bot-bubble-content .top-info .you-text,
.kore-chat-window-main-section .bot-bubble-comp .bot-bubble-content .top-info .time-stamp,
.kore-chat-window-main-section .bot-bubble-comp .bot-bubble-content .top-info .copied-text {
  color: #ffffff !important;
}

.kore-chat-window-main-section .agent-bubble-comp .agent-bubble-content .top-info .time-stamp time {
  color: #ffffff !important;
}

.kore-chat-window-main-section .chat-widgetwrapper-main-container {
  background: #191920 !important;
}

.kore-chat-window-main-section .chat-widget-header {
  border-bottom: 1px solid #ffffff33 !important;
  padding: 16px 4px !important;
}

.kore-chat-window-main-section .chat-widget-composebar {
  border-top: 1px solid #ffffff33 !important;
}

.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper .compose-text-area .typing-text-area {
  border: 1px solid #1b2e36 !important;
  border-radius: 25px !important;
  padding: 12px 32px !important;
  color: #000000 !important;
  background-color: white !important;
}

.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper .compose-text-area .emoji-btn svg path,
.kore-chat-window-main-section .bot-bubble-comp .bot-bubble-content .bubble-msg-with-img .copy-bubble svg path,
.kore-chat-window-main-section .agent-bubble-comp .agent-bubble-content .bubble-msg-with-img .copy-bubble svg path {
  fill: black !important;
}

.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper .compose-text-area .typing-text-area::placeholder {
  color: black !important;
  opacity: 0.5;
}

.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper .compose-text-area .typing-text-area:-moz-placeholder,
.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper .compose-text-area .typing-text-area::-moz-placeholder,
.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper .compose-text-area .typing-text-area:-ms-input-placeholder,
.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper .compose-text-area .typing-text-area::-webkit-input-placeholder,
.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper .compose-text-area .typing-text-area::placeholder {
  /* Modern browsers */
  color: #ffffff !important;
  opacity: 0.5;
}

.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper .send-btn {
  background-color: #ffffff !important;
  margin-left: 16px !important;
  border-radius: 25px !important;
}

.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper .send-btn svg {
  width: 16px !important;
  height: 16px !important;
  transform: rotate(45deg);
}

.kore-chat-window-main-section .chat-widget-composebar .compose-bar-wrapper .send-btn svg path {
  fill: #104962 !important;
}

/* carousel template changes */
.kore-chat-window-main-section .list-template-carousel-wrapper .list-carousel {
  width: 100%;
  gap: 10px !important;
}

.kore-chat-window-main-section .list-template-carousel-wrapper .list-carousel .list-carousel-item {
  width: 100%;
  max-width: 326px !important;
  min-width: 326px !important;
  padding: 0px !important;
  background: #191920 !important;
  border: 1px solid #ffffff33 !important;
}

.kore-chat-window-main-section .list-template-carousel-wrapper .list-carousel .list-carousel-item .img-block {
  width: 95% !important;
  aspect-ratio: 16 / 9 !important;
  /* Or use 4/3 or 1/1 depending on your design */
  overflow: hidden !important;
  border-radius: 4px !important;
  margin: 0 auto;
}

.kore-chat-window-main-section .list-template-carousel-wrapper .list-carousel .list-carousel-item .img-block figure {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.kore-chat-window-main-section .list-template-carousel-wrapper .list-carousel .list-carousel-item .img-block figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  /* Ensures image covers area without distortion */
  display: block !important;
  border-radius: 4px !important;
}

.kore-chat-window-main-section .list-template-carousel-wrapper .list-carousel .list-carousel-item .content-block {
  padding: 0px 16px 0px 16px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  align-items: flex-start;
}

.kore-chat-window-main-section .list-template-carousel-wrapper .list-carousel .list-carousel-item .kr-button-primary {
  width: 94px !important;
  height: 30px !important;
  justify-content: space-between;
  align-items: center !important;
  color: #000000 !important;
  font-size: 10px !important;
  font-style: normal;
  font-weight: 600 !important;
  line-height: 170%;
  /* 17px */
  text-transform: uppercase;
  padding: 8px !important;

  position: relative !important;
  inset-inline-start: 205px !important;
  bottom: 50px !important;
  border-radius: 1px !important;
}

/* ==== carousel block level =========== */
.kore-chat-window-main-section .list-template-carousel-wrapper.carousel-block-level .list-carousel .list-carousel-item .content-block .heading-block,
.kore-chat-window-main-section .list-template-carousel-wrapper.carousel-block-level .list-carousel .list-carousel-item .content-block p {
  width: 100% !important;
}

.kore-chat-window-main-section .list-template-carousel-wrapper.carousel-block-level .list-carousel .list-carousel-item .kr-button-primary {
  width: 100% !important;
  left: auto !important;
  bottom: auto !important;
}

.kore-chat-window-main-section .list-template-carousel-wrapper .list-carousel .list-carousel-item .content-block .heading-block {
  width: 70% !important;
}

.kore-chat-window-main-section .list-template-carousel-wrapper .list-carousel .list-carousel-item .content-block .heading-block h1 {
  font-size: 12px !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.kore-chat-window-main-section .list-template-carousel-wrapper .list-carousel .list-carousel-item .content-block p {
  color: #fff !important;
  font-size: 14px !important;
  font-style: normal;
  font-weight: 400 !important;
  width: 70% !important;
}

/* Productview template */

/* Parent Container */
.kore-chat-window-main-section .product_feature_view {
  width: 100%;
  padding: 0px 4px 0px 4px;
  margin: 12px 0 8px 0;
}

.kore-chat-window-main-section .product_feature_view .product-container {
  margin: auto;
  color: #000000;
  margin-top: 10px;
  text-align: center;
  border: 1px solid #ffffff40;
  background: #f5f6f7;
}

.kore-chat-window-main-section .product_feature_view .bot_message_bubble {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  border-radius: 16px 16px 16px 0px;
  border: 1px solid #ffffff40;
  background: #f5f6f7;
  padding: 8px 32px;
  color: #000000;
}

/* ========== IMAGE SLIDER ========== */
.kore-chat-window-main-section .product_feature_view .product-container .image-slider {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.kore-chat-window-main-section .product_feature_view .product-container .image-slider .slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.kore-chat-window-main-section .product_feature_view .product-container .image-slider .slider-container .product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.kore-chat-window-main-section .product_feature_view .product-container .image-slider .next-slide {
  background: #f00;
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
}

.kore-chat-window-main-section .product_feature_view .product-container .image-slider .slider-buttons {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  top: -10px;
}

.kore-chat-window-main-section .product_feature_view .product-container .image-slider .next-slide {
  margin-right: 8px;
  margin-left: auto;
}

.kore-chat-window-main-section .product_feature_view .product-container .image-slider .prev-slide {
  margin-left: 8px;
  margin-right: auto;
}

/* ========== PRODUCT DETAILS ========== */
.kore-chat-window-main-section .product_feature_view .product-container .product-details {
  padding: 15px 8px;
  padding-right: 0px;
  padding-top: 0px;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .prod-title {
  font-size: 14px;
  font-weight: bold;
  text-align: left;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .prod-sub-title {
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
  text-align: left;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications {
  margin-top: 10px;
  text-align: left;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications h3 {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
  text-align: center;
  width: 97%;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications .features-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications .features-parent {
  display: flex;
  flex-direction: row;
  transition: transform 0.3s ease;
  padding-right: 8px;
  gap: 10px;
  width: 100%;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications .features-parent::-webkit-scrollbar {
  width: 4px !important;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications .features-parent .features-container {
  flex: 0 0 100%;
  display: flex;
  justify-content: flex-start;
  padding-top: 16px;
  box-sizing: border-box;
  width: 100%;
  flex-direction: column;
  flex-wrap: nowrap;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications .features-parent .features-container .feature-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  height: 28px;
  width: 100%;
  overflow: hidden;
  /* Prevent content from overflowing */
  text-overflow: ellipsis;
  /* Truncate long text */
  white-space: nowrap;
  /* Prevent text wrapping */
}

.kore-chat-window-main-section .product_feature_view .product-container .image-slider .slide-state {
  top: 15px !important;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications .features-carousel .prev-features,
.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications .features-carousel .next-features {
  background: #f00;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10;
  position: relative;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications .features-carousel .next-features {
  float: right;
  margin-right: 8px;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications .features-carousel .prev-features {
  float: none;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications .features-parent .features-container .feature-name {
  font-weight: 500;
  font-size: 12px;
  color: #2d2d2d;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 4px;
  max-width: 50%;
}

.kore-chat-window-main-section .product_feature_view .product-container .product-details .specifications .features-parent .features-container .feature-value {
  color: #000000;
  font-weight: 500;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 50%;
}

/* ========== BUTTONS ========== */
.kore-chat-window-main-section .product_feature_view .product-container .buttons {
  margin-top: 15px;
  padding-right: 8px;
}

.kore-chat-window-main-section .product_feature_view .product-container .buttons .action-btn {
  background: #ffffff;
  color: #333333;
  border: none;
  padding: 12px 12px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  border-radius: 2px;
  margin-bottom: 5px;
  font-size: 14px;
  display: block;
}

.kore-chat-window-main-section .product_feature_view .product-container .buttons .action-btn:hover {
  background: #abdbf0fa;
}

/* ProductComparisonview template */
/* Parent Container */
.kore-chat-window-main-section .product_comparison_view {
  width: 100%;
  padding: 0px 4px;
  margin: 12px 0 8px 0;
}

.kore-chat-window-main-section .product_comparison_view .product-container {
  margin: auto;
  color: rgb(0, 0, 0);
  margin-top: 10px;
  text-align: center;
  border: 1px solid #ffffff40;
  background: #f5f6f7;
}

.kore-chat-window-main-section .product_comparison_view .bot_message_bubble {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  border-radius: 16px 16px 16px 0px;
  border: 1px solid #ffffff40;
  background: #191920;
  padding: 8px 32px;
  color: #ffffff;
}

/* ========== PRODUCT DETAILS ========== */
.kore-chat-window-main-section .product_comparison_view .product-container .product-details {
  padding: 15px 8px;
  /* padding-right: 0px; */
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .prod-titles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .prod-titles .prod-title1,
.kore-chat-window-main-section .product_comparison_view .product-container .product-details .prod-titles .prod-title2 {
  border-radius: 6px;
  border: 1px solid var(--sdk-gloabl-border-color);
  background: white !important;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);
  display: flex;
  height: 40px;
  padding: 8px 12px;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--sdk-gloabl-text-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  width: 45%;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .prod-titles .dropdown-title {
  border: none;
  cursor: pointer;
  outline: none;
  width: 100%;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications {
  margin-top: 10px;
  text-align: left;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications h3 {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 26px;
  padding-top: 10px;
  text-align: center;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-parent {
  display: flex;
  flex-direction: row;
  transition: transform 0.3s ease;
  padding-right: 8px;
  gap: 10px;
  width: 100%;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-parent::-webkit-scrollbar {
  width: 4px !important;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-parent .features-container {
  flex: 0 0 100%;
  display: flex;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  flex-direction: column;
  flex-wrap: nowrap;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-parent .features-container .feature-item {
  display: block;
  border-bottom: 1px solid #ccc !important;
  margin-bottom: 10px;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-parent .features-container .feature-item:last-child {
  border: none;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-carousel .prev-features,
.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-carousel .next-features {
  background: #f00;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10;
  position: relative;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-carousel .next-features {
  float: right;
  margin-right: 8px;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-carousel .prev-features {
  float: none;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-parent .features-container:last-child {
  border: none;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-parent .features-container .feature-values {
  display: flex;
  justify-content: space-between;
  padding: 16px 0px;
  font-size: 12px;
  font-weight: 500;
  gap: 10px;
  padding-bottom: 8px;
  padding-top: 8px;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-parent .features-container .feature-name {
  color: #808080;
  text-transform: uppercase;
  text-align: center;
  font-size: 10px;
  font-weight: normal;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-parent .features-container .feature-value {
  color: rgb(0, 0, 0);
  max-width: 50%;
  word-break: break-word;
  white-space: normal;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .specifications .features-parent .features-container .feature-value:last-child {
  text-align: end;
}

/* ========== BUTTONS ========== */
.kore-chat-window-main-section .product_comparison_view .product-container .buttons {
  margin-top: 15px;
  padding-right: 8px;
}

.kore-chat-window-main-section .product_comparison_view .product-container .buttons .action-btn {
  background: #ffffff;
  color: #333333;
  border: none;
  padding: 12px 12px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  border-radius: 2px;
  margin-bottom: 5px;
  font-size: 14px;
  display: block;
}

.kore-chat-window-main-section .product_comparison_view .product-container .buttons .action-btn:hover {
  background: #abdbf0fa;
}

/* Custom form — Lexus-geometry redesign */

/* Sheet handle bar (top of bottom-sheet) */
.kore-chat-window-main-section .custom-form-container .sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 auto 16px;
}

.kore-chat-window-main-section .custom-form-container {
  background-color: #11151c;
  padding: 20px 20px 28px;
  color: #ffffff;
  max-height: 100%;
  height: 100%;
  overflow-y: scroll;
  border-radius: 20px 20px 0 0;
}

/* Header */
.kore-chat-window-main-section .custom-form-container .custom-form-header {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: white;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.kore-chat-window-main-section .custom-form-container .custom-form-header .close-btn img,
.kore-chat-window-main-section .custom-form-container .custom-form-header .close-btn svg {
  position: absolute;
  right: 0px;
  top: 0px;
  height: 22px;
  width: 22px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  color: #ffffff;
}

.kore-chat-window-main-section .custom-form-container .custom-form-header .close-btn img:hover,
.kore-chat-window-main-section .custom-form-container .custom-form-header .close-btn svg:hover {
  opacity: 1;
}

/* Field group spacing */
.kore-chat-window-main-section .custom-form-container .custom-form .input-field,
.kore-chat-window-main-section .custom-form-container .custom-form .dropdown-field,
.kore-chat-window-main-section .custom-form-container .custom-form .radio-field,
.kore-chat-window-main-section .custom-form-container .custom-form .checkbox-field {
  margin-bottom: 18px;
}

.kore-chat-window-main-section .custom-form-container .custom-form .radio-field .radio-child,
.kore-chat-window-main-section .custom-form-container .custom-form .checkbox-field .checkbox-child {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 12px;
}

/* Labels — Lexus: 14px / weight 500 / tight tracking */
.kore-chat-window-main-section .custom-form-container .custom-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
  /* min-height locks blank labels to the same height as labelled ones,
     keeping inputs in flex rows vertically aligned */
  min-height: calc(14px * 1.4 + 8px);
  line-height: 1.4;
}

/* Inputs & Selects — Lexus: 48px height, 8px radius, generous padding */
.kore-chat-window-main-section .custom-form-container .custom-form input,
.kore-chat-window-main-section .custom-form-container .custom-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d0d5dd;
  border-radius: 8px;
  height: 48px !important;
  color: #000000 !important;
  font-size: 14px;
  background-color: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Chevron-down arrow for <select> (appearance:none globally hides native arrow) */
.kore-chat-window-main-section .custom-form-container .custom-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555555' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px !important;
  cursor: pointer;
}

.kore-chat-window-main-section .custom-form-container .custom-form input:focus,
.kore-chat-window-main-section .custom-form-container .custom-form select:focus {
  outline: none;
  border-color: #F0A500 !important;
  border-width: 2.5px !important;
  box-shadow: none;
}

.kore-chat-window-main-section .custom-form-container .custom-form input[type="radio"],
.kore-chat-window-main-section .custom-form-container .custom-form input[type="checkbox"] {
  width: auto;
  height: auto !important;
  margin-right: 6px;
  padding: 0;
  border: none;
  box-shadow: none;
}

/* flexInput row — match Lexus side-by-side gap */
.kore-chat-window-main-section .custom-form-container .custom-form .input-field[style*="flex"] {
  gap: 12px;
  align-items: flex-start !important;
}

/* Remove double bottom-margin from nested field-groups inside the flex row */
.kore-chat-window-main-section .custom-form-container .custom-form .input-field[style*="flex"] > div > .input-field,
.kore-chat-window-main-section .custom-form-container .custom-form .input-field[style*="flex"] > div > .dropdown-field {
  margin-bottom: 0;
}

/* Title (MR/Mrs) column — match Lexus width: first child of flex row gets a minimum comfortable width */
.kore-chat-window-main-section .custom-form-container .custom-form .input-field[style*="flex"] > div:first-child {
  min-width: 90px;
  width: 28% !important;
}

/* Remaining flex columns fill available space */
.kore-chat-window-main-section .custom-form-container .custom-form .input-field[style*="flex"] > div:not(:first-child) {
  flex: 1 1 0;
  width: auto !important;
}

/* Error / hint container — Lexus style hint text */
.kore-chat-window-main-section .custom-form-container .errorContainer {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 5px;
  margin-bottom: 2px;
  line-height: 1.4;
}

/* Submit button — Lexus: 52px height, 12px radius, bold 16px */
.kore-chat-window-main-section .custom-form-container button.submit-btn {
  background: #ff5858;
  color: #fff;
  padding: 0 20px;
  border: none;
  width: 100%;
  height: 52px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 8px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.kore-chat-window-main-section .custom-form-container button.submit-btn:hover {
  background: #f83535;
  transform: translateY(-1px);
}

.kore-chat-window-main-section .custom-form-container button.submit-btn:active {
  transform: translateY(0);
}

.kore-chat-window-main-section .custom-form-container .custom-form input:invalid {
  border: 1.5px solid #ff5858;
}

/* button template */
.kore-chat-window-main-section .button-template-container {
  padding: 0px !important;
  font-family: Montserrat;
}

.kore-chat-window-main-section .button-template-container .button-temp .kr-btn {
  font-weight: 400 !important;
  font-size: 12px !important;
}

/* dropdown wrapper container */
.kore-chat-window-main-section .dropdwon-wrapper-contaner .kr-button-primary.lg {
  width: auto;
  background-color: #ff5858 !important;
  margin: auto;
  margin-top: 0px !important;
  border-radius: 12px !important;
  height: 35px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  color: #ffffff !important;
}

/*============= Disable Button ============*/
.kore-chat-window-main-section .chat-widgetwrapper-main-container {
  padding: 10px;
  padding-bottom: 0px;
}

.kore-chat-window-main-section .chat-actions-bottom-wraper {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(1px) !important;
  border-radius: 4px;
  z-index: 99;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: flex-end;
  transition: .3s all ease-in-out;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  display: flex;
}

.kore-chat-window-main-section .chat-actions-bottom-wraper .actions-contnet-data.actions-contnet-full-height {
  max-height: 85% !important;
  height: 100%;
}

.kore-chat-window-main-section .dropdwon-wrapper-section .dropdwon-wrapper-contaner {
  border-radius: 16px 16px 16px 0px !important;
  border: 1px solid #ffffff40 !important;
  background: #191920 !important;
}

.kore-chat-window-main-section .dropdwon-wrapper-section .dropdwon-wrapper-contaner .heading-block h1 {
  color: #ffffff !important;
  font-weight: normal !important;
}

.kore-chat-window-main-section .dropdwon-wrapper-section {
  padding: 0px 4px !important;
}

/*===== scroll chevron =====*/
.kore-chat-window-main-section .kore-scroll-icon {
  position: absolute;
  bottom: 90px;
  display: none;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.kore-chat-window-main-section .kore-scroll-icon .jumpToBottom {
  display: block;
  width: 40px;
  height: 40px;
  background: var(--agent-bubble-msg-bg) 0% 0% no-repeat padding-box;
  box-shadow: 0px 0px 30px #a9a9a9;
  opacity: 999;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
}

.kore-chat-window-main-section .kore-scroll-icon .jumpToBottom::before {
  border-style: solid;
  border-width: 2px 2px 0px 0px;
  content: '';
  display: inline-block;
  height: 10px;
  left: 0px;
  position: relative;
  top: 1px;
  transform: rotate(135deg);
  vertical-align: top;
  width: 10px;
}

.kore-chat-window-main-section .product_feature_view .product-container .image-slider .prev-slide {
  background: #f00;
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
}

.kore-chat-window-main-section .chat-widget-composebar .emoji-picker-section::before {
  display: none;
}

.kore-chat-window-main-section .button-template-container .button-temp .kr-btn {
  border-radius: 16px !important;
}

.kore-chat-window-main-section .product_feature_view .product-container {
  border-radius: 16px !important;
}

.kore-chat-window-main-section .list-template-carousel-wrapper .list-carousel .list-carousel-item {
  border-radius: 16px !important;
}

.kore-chat-window-main-section .list-template-carousel-wrapper .carousel-left-click,
.kore-chat-window-main-section .list-template-carousel-wrapper .carousel-right-click {
  background: #ffffff82 !important;
}

.kore-chat-window-main-section .chat-widgetwrapper-main-container {
  height: 100% !important;
}

.kore-chat-window-main-section .avatar-variations-footer {
  padding: 10px 40px !important;
  bottom: 14%;
}

.kore-chat-window-main-section .avatar-variations-footer .primary-button {
  margin-top: 4px;
}

.kore-chat-window-main-section .button-template-container .button-temp .kr-btn {
  background-color: #f00 !important;
  margin-top: 0px !important;
  border-radius: 12px !important;
  height: 35px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  color: #ffffff !important;
}

.kore-chat-window-main-section .quick-replies .quick-replies-buttons .kr-btn {
  background: #ff0000 !important;
  color: white !important;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .prod-titles .prod-title1,
.kore-chat-window-main-section .product_comparison_view .product-container .product-details .prod-titles .prod-title2 {
  border-radius: 6px;
  border: 1px solid var(--sdk-gloabl-border-color);
  background: #598999;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);
  display: flex;
  height: 40px;
  padding: 8px 12px;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--sdk-gloabl-text-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  width: 45%;
}

.kore-chat-window-main-section .product_comparison_view .product-container .product-details .prod-titles .dropdown-title {
  border: none;
  cursor: pointer;
  outline: none;
  width: 100%;
  background: white;
  font-weight: 500 !important;
  font-size: 14px !important;
  color: black !important;
}

/* Tooltip */
.kore-chat-window-main-section .tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.kore-chat-window-main-section .custom-tooltip {
  visibility: hidden;
  width: 200px;
  background-color: #000000;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  font-size: 10px !important;
  text-align: left !important;
  padding: 3px 6px;
  line-height: 14px;
  /* Position above the tooltip container */
  right: 0%;
  margin-left: -150px;
  /* Center the tooltip */
}

.kore-chat-window-main-section .tooltip-container:hover .custom-tooltip {
  visibility: visible;
}

.kore-chat-window-main-section .avatar-variations-footer .avatar-actions {
  display: flex;
  align-items: flex-end;
  position: relative;
  gap: 10px;
  display: flex !important;
  justify-content: start !important;
  align-items: start !important;
}

.kore-chat-window-main-section input,
.kore-chat-window-main-section select {
  -webkit-appearance: none !important;
  /* Optional - for consistent styling */
}

.kore-chat-window-main-section .input-error {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: red !important;
}

.kore-chat-window-main-section .button-wave {
  position: relative;
  overflow: hidden;
  height: 30px !important;
  border-radius: 20px !important;
  font-size: 15px;
  background: linear-gradient(to right, #101111, #06212b);
  color: white;
  font-weight: 500;
  padding: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.kore-chat-window-main-section .button-wave:hover {
  transform: scale(1.05);
}

.kore-chat-window-main-section .button-wave::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0.2) 100%);
  transform: skewX(-20deg);
  animation: shine 2s infinite linear;
}

.kore-chat-window-main-section .compareToggle {
  min-width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transform: translateY(-24px);
  font-family: inherit;
  padding-right: 10px;
}

/* Toggle Switch */
.kore-chat-window-main-section .toggle-switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.kore-chat-window-main-section .toggle-switch input {
  display: none;
}

.kore-chat-window-main-section .slider {
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 999px;
  position: relative;
  transition: 0.3s;
  margin-right: 8px;
}

.kore-chat-window-main-section .slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 16px;
  height: 16px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.kore-chat-window-main-section .toggle-switch input:checked + .slider {
  background-color: #f00;
}

.kore-chat-window-main-section .toggle-switch input:checked + .slider::before {
  transform: translateX(18px);
}

.kore-chat-window-main-section .toggle-buttons {
  text-align: center;
  z-index: 10;
  font-size: 12px !important;
}

.kore-chat-window-main-section .toggle-btn {
  background: #b1acac85;
  cursor: pointer;
  border-radius: 12px;
  color: rgb(0, 0, 0);
  border: 1px solid #b1acacd8;
  transition: all 0.2s ease;
}

.kore-chat-window-main-section .toggle-btn.active {
  background: #f00;
  padding: 2px 4px;
  color: rgb(0, 0, 0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.kore-chat-window-main-section .stickyBanner {
  width: 100%;
  height: auto;
  background-color: #012433;
  position: sticky;
  top: 0;
  z-index: 150;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
  margin-bottom: -6px;
}

.kore-chat-window-main-section .stickyButton {
  width: 50% !important;
  background: #4c7c8c;
  color: rgb(0, 0, 0) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  font-size: small !important;
  background-color: #fff !important;
  color: black !important;
  height: 35px !important;
  border-radius: 12px;
  font-weight: bold;
}

.kore-chat-window-main-section .compareTitle {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 26px;
  padding-top: 10px;
  text-align: center !important;
}

.kore-chat-window-main-section .errorContainer {
  width: 100%;
  height: 20px;
  font-size: 13px !important;
  padding: 2px;
  line-height: 16px;
  transform: translateY(-10px);
  color: rgb(244, 29, 29) !important;
  display: none;
  font-weight: 500;
}

.kore-chat-window-main-section .showERROR {
  display: block !important;
}

.kore-chat-window-main-section .chat-widget-body-wrapper {
  overflow-x: hidden !important;
  scrollbar-width: none;
}

.kore-chat-window-main-section .chat-widget-body-wrapper {
  overflow-x: hidden !important;

  /* Firefox (modern only; harmless to keep) */
  scrollbar-width: none;

  /* IE 10–11, Edge Legacy */
  -ms-overflow-style: none; /* hides scrollbar without disabling scroll */

  /* Chrome, Safari, Opera (2015) */
}
.kore-chat-window-main-section .chat-widget-body-wrapper::-webkit-scrollbar {
  display: none;              /* hides scrollbar (WebKit/Blink) */
  width: 0 !important;        /* fallback */
  height: 0 !important;
}


.kore-chat-window-main-section .chat-widgetwrapper-main-container {
  padding: 10px 10px 0px 10px !important;
}

/*=================== ARABIC view changes ===================*/
[dir="rtl"] .chat-widget-header .back-to-chat {
  transform: rotate(180deg);
}

[dir="rtl"] .chat-widget-composebar .compose-bar-wrapper .send-btn {
  transform: rotate(180deg);
  margin-left: unset !important;
  margin-right: 16px !important;
}

[dir="rtl"] .chat-widget-composebar .compose-bar-wrapper .compose-text-area.only-emoji-btn .emoji-btn {
  right: unset !important;
  left: 12px !important;
}

[dir="rtl"] .typing-indicator-wraper {
  left: unset !important;
}

[dir="rtl"] .typing-indicator-wraper .dot-flashing {
  right: 20px !important;
  left: unset !important;
}

[dir="rtl"] .agent-bubble-comp .agent-bubble-content {
  padding-left: unset !important;
  padding-right: 10% !important;
}

[dir="rtl"] .bot-bubble-comp {
  /*  justify-content: flex-end !important;*/
}

.bot-bubble-comp .bot-bubble-content {
  padding-inline-start: 0 !important;
  padding-inline-end: 32px !important;
}

[dir="rtl"] .bot-bubble-content {
  align-items: flex-end !important;
  padding-inline-start: 0 !important;
  padding-inline-end: 32px !important;
}

[dir="rtl"] .bot-bubble-comp .bot-bubble-content .bubble-msg-with-img .copy-bubble {
  inset-inline-end: -24px !important;
  right: unset !important;
}

[dir="rtl"] .agent-bubble-comp .agent-bubble-content .bubble-msg-with-img .copy-bubble {
  inset-inline-start: -24px !important;
  left: unset !important;
}

[dir="rtl"] .bot-bubble-comp .bot-bubble-content .bubble-msg-with-img .bubble-msg {
  border-radius: 16px 16px 0px 16px !important;
}

[dir="rtl"] .agent-bubble-comp .agent-bubble-content .bubble-msg-with-img .bubble-msg {
  border-radius: 16px 16px 16px 0px !important;
}

[dir="rtl"] .custom-form-container .custom-form-header .close-btn img {
  right: unset !important;
  left: 6px !important;
}

/* carousel template ARABIC */
[dir="rtl"] .list-template-carousel-wrapper .carousel-left-click,
[dir="rtl"] .list-template-carousel-wrapper .carousel-right-click {
  transform: rotate(180deg);
}

/* Product Comparison */
[dir="rtl"] .product_comparison_view .product-container .product-details .specifications .features-carousel .next-features,
[dir="rtl"] .product_feature_view .product-container .product-details .specifications .features-carousel .next-features,
[dir="rtl"] .product_feature_view .product-container .image-slider .next-slide {
  float: left !important;
}

[dir="rtl"] .product_comparison_view .product-container .product-details .specifications .features-carousel .prev-features,
[dir="rtl"] .product_feature_view .product-container .product-details .specifications .features-carousel .prev-features,
[dir="rtl"] .product_feature_view .product-container .image-slider .prev-slide {
  float: right !important;
  margin-right: 8px;
}

[dir="rtl"] .product_feature_view .product-container .image-slider .next-slide {
  float: right !important;
  margin-left: 8px;
  margin-right: auto !important;
}

[dir="rtl"] .product_feature_view .product-container .product-details .prod-title {
  text-align: right !important;
  padding-right: 8px;
}

.arabic-kore-chat {
  right: unset !important;
  left: 40px;
}

.arabic-kore-chat-icon {
  right: auto;
  left: 0px;
  bottom: calc(40% + 50px);
  width: unset !important;
}

button {
  pointer-events: auto !important;
}

.avatar-variations-footer .avatar-actions .avatar-bg.click-to-rotate-icon .custom-img-uploaded {
  display: none !important;
}

.kore-chat-window-main-section.minimize-chat {
  height: calc(100% - 80px) !important;
  width: 0px;
  top: auto;
}

.avatar-minimize {
  bottom: 0px !important;
  right: 0px !important;
  left: unset !important;
  top: unset !important;
  width: unset !important;
}

.isLink #linkEvent {
  color: blue !important;
  text-decoration: underline !important;
}

.arabic-kore-chat .avatar-minimize {
  bottom: 0px !important;
  left: 0px !important;
  right: unset !important;
  top: unset !important;
  width: unset !important;
}

/* --------------------------
   Model tags (compact badges)
   -------------------------- */
.modelsLayer .ModelTag {
  border: 1px solid black !important;
  padding: 6px 12px;
  border-radius: 20px;
  background: #f5f6f7;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  margin: 0;
  /* remove vertical margins that cause extra gaps */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: pointer;
}

/* --------------------------
   Container (hidden by default via max-height)
   -------------------------- */
.modelsLayer {
  width: 100%;
  box-sizing: border-box;
  position: sticky;
  z-index: 50;
  background-color: #12161d;
  margin: auto;
  margin-top: 2px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  gap: 5px;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition:
    max-height 360ms ease,
    opacity 220ms ease,
    visibility 0s linear 360ms;
}

/* visible / active state */
.modelsLayer.active {
  height: 440px;
  max-height: 440px;
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
  transition:
    max-height 360ms ease,
    opacity 220ms ease,
    visibility 0s linear 0s;
}

.modelsLayer .ModelTagSelected {
  background-color: #f00;
}

/* ensure immediate children don't flex-grow or stretch vertically */
.modelsLayer > * {
  flex: 0 0 auto;
  align-self: auto;
  display: inline-flex;
  vertical-align: middle;
  margin: 0;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .modelsLayer,
  .modelsLayer.active {
    transition: none;
  }
}

[dir="rtl"] .filterScrollLeft {
  transform: rotate(180deg);
}

[dir="rtl"] .filterScrollRight {
  transform: rotate(180deg);
}

.info-content-data .img-block {
  background: white;
  width: 36px;
  height: 36px;
  border-radius: 36px;
  justify-content: center;
  align-items: center;
}

/* Apply to BOTH message types */
.kore-chat-window-main-section .chat-widget-body-wrapper .fromOtherUsers,
.kore-chat-window-main-section .chat-widget-body-wrapper .fromCurrentUser {
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  display: block ;
}
