:root {
  --mqChatFontSize: 16px;
  --mqChatBackgroundColour: 255, 255, 255;
  --mqChatBorderRadius: 15px;
  --mqChatPrimaryColour: 250, 112, 112;
  --mqChatSecondaryColour: 249, 249, 249;
  --mqChatBodyTextColour: 51, 51, 51;
  --mqChatErrorColour: 255, 0, 0;
  --mqChatWarningColour: #ffcc00;

  --mqChatMessageReceivedBackgroundColour: #f0f0f0;
  --mqChatMessageReceivedTextColour: #333333;
  --mqChatMessageSentBackgroundColour: #000000;
  --mqChatMessageSentTextColour: #ffffff;
  --mqChatMessageBorderRadius: 15px;

  --mqChatSuccess-bg: hsl(143, 85%, 96%);
  --mqChatSuccess-text: hsl(140, 100%, 27%);
  --mqChatSuccess-border: hsl(145, 92%, 91%);

  --mqChatWarning-bg: hsl(49, 100%, 97%);
  --mqChatWarning-text: hsl(31, 92%, 45%);
  --mqChatWarning-border: hsl(49, 91%, 91%);

  --mqChatError-bg: hsl(359, 100%, 97%);
  --mqChatError-text: hsl(360, 100%, 45%);
  --mqChatError-border: hsl(359, 100%, 94%);

  --mqChatInfo-bg: hsl(208, 100%, 97%);
  --mqChatInfo-text: hsl(210, 92%, 45%);
  --mqChatInfo-border: hsl(221, 91%, 91%);

  --mqArrowIcon: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='currentColor' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
}

*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: var(--mqChatFontSize);
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: "";
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
  tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

.relative {
  position: relative;
}

.w-full {
  width: 100%;
}

a {
  color: hsl(var(--mqChatPrimaryColour));
  text-decoration: underline;
}

#mq-chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 500px;
  height: 100%;
}

#mq-chatbot-toggler {
  position: absolute;
  bottom: 0;
  right: 0;
  outline: none;
  border: none;
  height: 50px;
  width: 50px;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: hsl(var(--mqChatPrimaryColour));
  transition: all 0.2s ease;
  z-index: 9999;
  display: grid;
}

.mq-chatbot-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--mqChatSecondaryColour));
  grid-area: 1/1;
  transition: all 0.25s cubic-bezier(0.42, 0.97, 0.52, 1.49);
}

.mq-chatbot-icon svg {
  width: 25px;
  height: 25px;
}

#mq-chatbot-toggler-icon-close {
  transform: scale(0);
}

#mq-chatbot-container.mq-chatbot-active #mq-chatbot-toggler-icon-close {
  transform: scale(1);
}

#mq-chatbot-toggler-icon-open {
  transform: scale(1);
}

#mq-chatbot-container.mq-chatbot-active #mq-chatbot-toggler-icon-open {
  transform: scale(0);
}

#mq-chat {
  /* position: absolute;
  right: 0;
  bottom: 60px;
  width: 420px;
  height: 750px;
  background: rgba(hsl(var(--mqChatBackgroundColour)), 1);
  border-radius: var(--mqChatBorderRadius);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
  transform-origin: bottom right;
  box-shadow: 0px 0px 28px 0px rgba(0, 0, 0, 0.1);
  transition: all 0.1s ease;
  z-index: 9999;
  transition: all 0.25s ease-in-out; */

  background: hsl(var(--mqChatBackgroundColour));
  z-index: 9999;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

#mq-chat-main-body {
  height: calc(100% - 40px);
  width: 100%;
  position: relative;
  overflow: hidden;
}

#mq-chat-section-container {
  height: 100%;
  display: flex;
  transition: all 0.25s ease-in-out;
  position: relative;
}

#mq-chat-menu-close-button {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: hsl(var(--mqChatSecondaryColour));
  transition: all 0.25s cubic-bezier(0.42, 0.97, 0.52, 1.49);
  font-size: calc(var(--mqChatFontSize) * 1);
  padding: 25px;
}

#mq-chat-menu {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#mq-chat-menu-header {
  background: hsl(var(--mqChatPrimaryColour));
  padding: 100px 40px 25px 40px;
  flex: 1 1 0;
}

#mq-chat-menu #mq-chat-menu-logo img {
  width: 200px;
  height: auto;
}

#mq-chat-menu h3 {
  color: hsl(var(--mqChatSecondaryColour));
  font-size: calc(var(--mqChatFontSize) * 2);
  font-weight: 600;
}

#mq-chat-menu h3:nth-child(1) {
  color: hsl(var(--mqChatSecondaryColour));
}

#mq-chat.mq-chat-mobile #mq-chat-menu #mq-chat-menu-header {
  padding: 50px 25px 25px 25px;
}

#mq-chat.mq-chat-mobile #mq-chat-menu h3 {
  font-size: calc(var(--mqChatFontSize) * 1.5);
}

#mq-chat-menu #mq-chat-menu-body {
  overflow-y: auto;
  height: 100%;
  padding: 25px;
}

#mq-chat-menu .mq-chat-menu-items {
  display: grid;
  gap: 6px;
}

#mq-chat-menu .mq-chat-menu-item {
  box-shadow: hsl(var(--mqChatBodyTextColour), 8%) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.06) 0px 2px 8px;
  border-radius: var(--mqChatBorderRadius);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  background: hsl(var(--mqChatBackgroundColour));
  align-items: center;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

#mq-chat-menu .mq-chat-menu-item:hover {
  box-shadow: hsl(var(--mqChatPrimaryColour)) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.06) 0px 2px 8px;
}

#mq-chat-menu #mq-whatsapp-menu-item {
  text-decoration: none;
}

#mq-chat-menu #mq-whatsapp-menu-item:hover {
  box-shadow: #27d045 0px 0px 0px 1px, rgba(0, 0, 0, 0.06) 0px 2px 8px;
}

#mq-chat-menu .mq-chat-menu-item .mq-chat-menu-item-title {
  color: hsl(var(--mqChatBodyTextColour));
  font-size: calc(var(--mqChatFontSize) * 1);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

#mq-chat-menu .mq-chat-menu-item .mq-chat-menu-item-description {
  color: hsl(var(--mqChatBodyTextColour));
  font-size: calc(var(--mqChatFontSize) * 0.75);
  font-weight: 400;
  margin: 0;
}

#mq-chat-menu .mq-chat-submenu {
  border-radius: var(--mqChatMessageBorderRadius);
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0px;
  background: hsl(var(--mqChatBackgroundColour));
  box-shadow: hsl(var(--mqChatBodyTextColour), 8%) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.06) 0px 2px 8px;
  padding: 8px;
  margin-top: 15px;
}

.mq-chat-submenu-title {
  color: hsl(var(--mqChatBodyTextColour));
  font-size: calc(var(--mqChatFontSize) * 1);
  background: hsl(var(--mqChatBodyTextColour), 0.05);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: var(--mqChatMessageBorderRadius);
  margin-bottom: 5px;
}

.mq-chat-submenu-item {
  color: hsl(var(--mqChatBodyTextColour));
  font-size: calc(var(--mqChatFontSize) * 0.9);
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: var(--mqChatMessageBorderRadius);
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  width: 100%;
}

.mq-chat-submenu-item svg {
  width: calc(var(--mqChatFontSize) * 0.9);
  height: calc(var(--mqChatFontSize) * 0.9);
}

.mq-chat-submenu-item:hover {
  background: hsl(var(--mqChatPrimaryColour), 0.1);
  color: hsl(var(--mqChatPrimaryColour));
}

.live-chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: calc(var(--mqChatFontSize) * 0.75);
  color: hsl(var(--mqChatBodyTextColour));
}

.live-chat-status .live-chat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #8bcd24;
}

#mq-chat-menu .mq-chat-menu-item svg {
  width: 25px;
  height: 25px;
  fill: hsl(var(--mqChatBodyTextColour));
  transition: all 0.25s ease-in-out;
}

#mq-chat-menu .mq-chat-menu-item:hover svg {
  fill: hsl(var(--mqChatPrimaryColour));
}

#mq-chatbot,
#mq-livechat {
  width: 100%;
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#mq-chatbot-container.mq-chatbot-active #mq-chat {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.mq-chat-header {
  background: hsl(var(--mqChatPrimaryColour));
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 25px;
}

.mq-chat-header-navigation {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin-bottom: 20px;
}

.mq-chat-header-navigation button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: hsl(var(--mqChatSecondaryColour));
  transition: all 0.25s cubic-bezier(0.42, 0.97, 0.52, 1.49);
  font-size: calc(var(--mqChatFontSize) * 1);
}

.mq-chat-header h3 {
  color: hsl(var(--mqChatSecondaryColour));
  font-size: calc(var(--mqChatFontSize) * 1.5);
  font-weight: 600;
  line-height: 1.25;
}

.mq-chat-header p {
  color: hsl(var(--mqChatSecondaryColour));
  font-size: calc(var(--mqChatFontSize) * 1);
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
  padding-top: 5px;
}

/* Body */
#mq-chatbot-body,
#mq-livechat-body {
  overflow: hidden;
  width: 100%;
  flex: 1;
}

#chatbox-body-container {
  width: 100%;
  height: 100%;
  display: flex;
  transition: all 0.25s ease-in-out;
}

#mq-chatbot-page-0,
#mq-chatbot-page-1,
#mq-chatbot-page-2,
#mq-chatbot-page-3 {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
}

#mq-chatbot-page-0 {
  display: flex;
  flex-direction: column;
}

#mq-chatbot-chatbox {
  overflow-y: auto;
  flex: 1;
  scroll-behavior: smooth;
  padding: 25px;
}

/* custom scrollbar */
/* .mq-custom-scrollbar::-webkit-scrollbar {
  width: 20px;
}

.mq-custom-scrollbar::-webkit-scrollbar-track {
  background-color: transparent;
}

.mq-custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #d6dee1;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}

.mq-custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #a8bbbf;
} */

/* Message */

.mq-system-message {
  text-align: center;
  font-size: calc(var(--mqChatFontSize) * 0.75);
  padding: 20px 0px;
}

.mq-message {
  display: flex;
  margin-bottom: 10px;
  width: 100%;
  gap: 10px;
  align-items: flex-start;
}

.mq-message-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mq-message-avatar-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mq-message-avatar-img svg {
  fill: hsl(var(--mqChatPrimaryColour));
  width: 26px;
  height: 26px;
}

.mq-message-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  line-height: 1.5;
}

.mq-message-text {
  padding: 10px 15px;
  border-radius: var(--mqChatMessageBorderRadius);
  font-size: 14px;
  max-width: 70%;
  margin-bottom: 5px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0.6px 0.54px -1.33px,
    rgba(0, 0, 0, 0.13) 0px 2.29px 2.06px -2.67px,
    rgba(0, 0, 0, 0.04) 0px 10px 9px -4px;
  overflow: hidden;
  min-height: 40px;
  overflow-wrap: break-word;
}

.mq-message-text.mq-message-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
}

/* Message received */
.mq-message-received .mq-message-text {
  background: hsl(var(--mqChatMessageReceivedBackgroundColour));
  color: hsl(var(--mqChatMessageReceivedTextColour));
  line-height: 1.5;
}

.mq-message-options {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.mq-message-options .mq-select-option input {
  display: none;
}

.mq-message-options .mq-select-option input + label {
  cursor: pointer;
  padding: 10px 15px;
  border-radius: var(--mqChatMessageBorderRadius);
  background: hsl(var(--mqChatMessageReceivedBackgroundColour));
  font-size: calc(var(--mqChatFontSize) * 0.8);
  color: hsl(var(--mqChatMessageReceivedTextColour));
  border: 1px solid hsl(var(--mqChatMessageReceivedTextColour));
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0.6px 0.54px -1.33px,
    rgba(0, 0, 0, 0.13) 0px 2.29px 2.06px -2.67px,
    rgba(0, 0, 0, 0.04) 0px 10px 9px -4px;
  box-sizing: border-box;
  display: block;
  transition: all 0.15s ease-in-out;
}

.mq-message-options .mq-select-option input:checked + label {
  background: hsl(var(--mqChatMessageSentBackgroundColour));
  color: hsl(var(--mqChatMessageSentTextColour));
}

/* Message sent */
.mq-message-sent {
  justify-content: flex-end;
}

.mq-message-sent .mq-message-text-container {
  flex-direction: row;
  gap: 8px;
  justify-content: end;
  align-items: center;
}

.mq-message-sent .mq-message-text {
  background: hsl(var(--mqChatMessageSentBackgroundColour));
  color: hsl(var(--mqChatMessageSentTextColour));
}

.mq-message-sent .mq-edit-button {
  cursor: pointer;
  color: hsl(var(--mqChatBodyTextColour));
}

/* Chatbot Form */
.mq-chat-form-container {
  padding: 0 25px;
}

.mq-chat-form {
  position: relative;
}

.mq-chat-input {
  box-sizing: border-box;
  width: 100%;
  padding: 20px 15px 6px 15px;
  font-size: calc(var(--mqChatFontSize) * 1);
  color: hsl(var(--mqChatBodyTextColour));
  border: 1px solid hsl(var(--mqChatBodyTextColour), 8%);
  border-radius: var(--mqChatBorderRadius);
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 8px;
  transition: all 0.25s ease-in-out;
  background-color: hsl(var(--mqChatBackgroundColour));
}

select.mq-chat-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  outline: 0;
  width: 100%;
  padding: 20px 15px 6px 15px;
  min-height: 52px;
  background: var(--mqArrowIcon) no-repeat;
  background-position: calc(100% - 0.75rem) center !important;
  cursor: pointer;
}

#mq-chatbot-input {
  padding: 15px 10% 15px 15px;
}

.mq-chat-input:focus {
  border-color: hsl(var(--mqChatPrimaryColour));
  outline: none;
}

.mq-chat-input-send {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: hsl(var(--mqChatPrimaryColour));
  transition: all 0.25s cubic-bezier(0.42, 0.97, 0.52, 1.49);
  margin: 0 10px 0 auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.mq-chat-input-send:disabled {
  cursor: default;
  color: hsl(var(--mqChatPrimaryColour));
  opacity: 0.7;
}

.mq-chat-error-message {
  color: hsl(var(--mqChatErrorColour));
  font-size: calc(var(--mqChatFontSize) * 0.7);
  min-height: 30px;
  display: flex;
  align-items: center;
}

/* Custom Checkbox */
.mq-custom-checkbox-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mq-custom-checkbox-container span {
  font-size: calc(var(--mqChatFontSize) * 0.8);
  color: hsl(var(--mqChatBodyTextColour));
}

.mq-custom-checkbox {
  display: flex;
}

.mq-custom-checkbox input[type="checkbox"] {
  display: none;
  visibility: hidden;
}

.mq-custom-checkbox label {
  display: inline-block;
}

.mq-custom-checkbox .mq-check {
  cursor: pointer;
  position: relative;
  margin: auto;
  width: 18px;
  height: 18px;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(0, 0, 0);
}
/* .mq-custom-checkbox .mq-check:before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(34, 50, 84, 0.03);
  opacity: 0;
  transition: opacity 0.2s ease;
} */
.mq-custom-checkbox .mq-check svg {
  position: relative;
  z-index: 1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: hsl(var(--mqChatBodyTextColour));
  stroke-width: 1;
  transform: translate3d(0, 0, 0);
  transition: all 0.2s ease;
}
.mq-custom-checkbox .mq-check svg path {
  stroke-dasharray: 60;
  stroke-dashoffset: 0;
}
.mq-custom-checkbox .mq-check svg polyline {
  stroke-dasharray: 22;
  stroke-dashoffset: 66;
}
.mq-custom-checkbox .mq-check:hover:before {
  opacity: 1;
}
.mq-custom-checkbox .mq-check:hover svg {
  stroke: hsl(var(--mqChatBodyTextColour));
}
.mq-custom-checkbox input[type="checkbox"]:checked + .mq-check svg {
  stroke: hsl(var(--mqChatBodyTextColour));
}
.mq-custom-checkbox input[type="checkbox"]:checked + .mq-check svg path {
  stroke-dashoffset: 60;
  transition: all 0.3s linear;
}
.mq-custom-checkbox input[type="checkbox"]:checked + .mq-check svg polyline {
  stroke-dashoffset: 42;
  transition: all 0.2s linear;
  transition-delay: 0.15s;
}

/* Details Form */
#mq-chatbot-details-form {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.mq-chat-input-container {
  position: relative;
}

.mq-chat-input-container .mq-chat-input + label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: calc(var(--mqChatFontSize) * 0.9);
  color: hsl(var(--mqChatBodyTextColour), 0.7);
  transition: all 0.15s ease-in-out;
  box-sizing: border-box;
  padding: 0 5px;
  cursor: text;
}

.mq-chat-input-container textarea.mq-chat-input + label {
  top: 25px;
  transform: translateY(-50%);
}

.mq-chat-input-container .mq-chat-input:focus + label {
  top: 14px;
  left: 10px;
  font-size: calc(var(--mqChatFontSize) * 0.65);
  color: hsl(var(--mqChatPrimaryColour));
  background-color: hsl(var(--mqChatBackgroundColour));
}

.mq-chat-input-container .mq-chat-input:not(:focus):valid + label {
  top: 14px;
  left: 10px;
  font-size: calc(var(--mqChatFontSize) * 0.65);
  color: hsl(var(--mqChatBodyTextColour), 0.8);
  background-color: hsl(var(--mqChatBackgroundColour));
}

.mq-chat-input-container .mq-chat-input:focus + label {
  color: hsl(var(--mqChatPrimaryColour));
}

/*Input affix*/
.mq-chat-input-container.mq-input-prefix {
  display: flex;
}

.mq-chat-input-container.mq-input-suffix {
  display: flex;
  flex-direction: row-reverse;
}

.mq-chat-affix {
  min-width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: calc(var(--mqChatFontSize) * 0.9);
  border: 2px solid hsl(var(--mqChatBodyTextColour));
  background-color: hsl(var(--mqChatBodyTextColour));
  color: hsl(var(--mqChatBackgroundColour));
}

.mq-input-prefix .mq-chat-affix {
  border-radius: var(--mqChatBorderRadius) 0 0 var(--mqChatBorderRadius);
  border-right: none;
}

.mq-input-suffix .mq-chat-affix {
  border-radius: 0 var(--mqChatBorderRadius) var(--mqChatBorderRadius) 0;
  border-left: none;
}

.mq-input-prefix .mq-chat-input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.mq-input-suffix .mq-chat-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.mq-chat-button {
  text-align: center;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
  background: hsl(var(--mqChatPrimaryColour));
  color: hsl(var(--mqChatSecondaryColour));
  height: 50px;
  padding: 0 15px;
  border-radius: var(--mqChatBorderRadius);
  transition: all 0.25s cubic-bezier(0.42, 0.97, 0.52, 1.49);
  box-sizing: border-box;
  font-size: calc(var(--mqChatFontSize) * 1);
}

.mq-chat-button:disabled {
  cursor: default;
  opacity: 0.5;
}

.mq-chat-button-sm {
  padding: 0 10px;
  height: 40px;
  font-size: calc(var(--mqChatFontSize) * 0.8);
  border-radius: var(--mqChatMessageBorderRadius);
}

#mq-chatbot-details-submit {
  width: 100%;
}

/* Loader */

.mq-dot-falling {
  position: relative;
  left: -9999px;
  width: 8px;
  height: 8px;
  border-radius: 5px;
  background-color: hsl(var(--mqChatBodyTextColour));
  color: hsl(var(--mqChatBodyTextColour));
  box-shadow: 9999px 0 0 0 hsl(var(--mqChatBodyTextColour));
  animation: mq-dot-falling 1s infinite linear;
  animation-delay: 0.1s;
}
.mq-dot-falling::before,
.mq-dot-falling::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}
.mq-dot-falling::before {
  width: 8px;
  height: 8px;
  border-radius: 5px;
  background-color: hsl(var(--mqChatBodyTextColour));
  color: hsl(var(--mqChatBodyTextColour));
  animation: mq-dot-falling-before 1s infinite linear;
  animation-delay: 0s;
}
.mq-dot-falling::after {
  width: 8px;
  height: 8px;
  border-radius: 5px;
  background-color: hsl(var(--mqChatBodyTextColour));
  color: hsl(var(--mqChatBodyTextColour));
  animation: mq-dot-falling-after 1s infinite linear;
  animation-delay: 0.2s;
}

@keyframes mq-dot-falling {
  0% {
    box-shadow: 9999px -15px 0 0 rgba(255, 255, 255, 0);
  }
  25%,
  50%,
  75% {
    box-shadow: 9999px 0 0 0 hsl(var(--mqChatBodyTextColour));
  }
  100% {
    box-shadow: 9999px 15px 0 0 rgba(255, 255, 255, 0);
  }
}
@keyframes mq-dot-falling-before {
  0% {
    box-shadow: 9984px -15px 0 0 rgba(255, 255, 255, 0);
  }
  25%,
  50%,
  75% {
    box-shadow: 9984px 0 0 0 hsl(var(--mqChatBodyTextColour));
  }
  100% {
    box-shadow: 9984px 15px 0 0 rgba(255, 255, 255, 0);
  }
}
@keyframes mq-dot-falling-after {
  0% {
    box-shadow: 10014px -15px 0 0 rgba(255, 255, 255, 0);
  }
  25%,
  50%,
  75% {
    box-shadow: 10014px 0 0 0 hsl(var(--mqChatBodyTextColour));
  }
  100% {
    box-shadow: 10014px 15px 0 0 rgba(255, 255, 255, 0);
  }
}

.mq-chat-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--mqChatBodyTextColour));
  animation: mqChatbotSpinner 1s linear infinite;
}

.mq-chat-spinner-in-button {
  color: hsl(var(--mqChatSecondaryColour));
}

@keyframes mqChatbotSpinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Page 3 - Plans */
#mq-finding-plans-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

#mq-chatbot-plans {
  height: calc(100% - 50px);
  padding: 25px;
  overflow-y: auto;
}

#mq-chatbot-plans-list {
  display: grid;
  gap: 20px;
  height: 100%;
}

#mq-chat-no-plans-found {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

#mq-chat-no-plans-found svg {
  width: calc(var(--mqChatFontSize) * 2);
  height: calc(var(--mqChatFontSize) * 2);
}

#mq-chat-no-plans-found h3 {
  color: hsl(var(--mqChatBodyTextColour));
  font-size: calc(var(--mqChatFontSize) * 1.5);
  font-weight: 500;
}

#mq-chat-no-plans-found p {
  color: hsl(var(--mqChatBodyTextColour), 0.8);
  font-size: calc(var(--mqChatFontSize) * 1);
  font-weight: 400;
  margin-top: 10px;
}

.mq-chatbot-plan-snippet {
  border: 2px solid hsl(var(--mqChatBodyTextColour));
  border-radius: var(--mqChatMessageBorderRadius);
  padding: 25px;
  background-color: hsl(var(--mqChatBackgroundColour));
}

.mq-chatbot-plan-snippet .mq-chatbot-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.mq-chatbot-plan-snippet .mq-chatbot-plan-header img {
  width: 125px;
  height: 75px;
}

.mq-chatbot-plan-details {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(1, 1fr);
}

.mq-chatbot-plan-details .mq-chatbot-plan-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 10px;
  height: calc(var(--mqChatFontSize) + 24px);
  border-radius: var(--mqChatMessageBorderRadius);
  background: hsl(var(--mqChatMessageReceivedBackgroundColour));
}

.mq-chatbot-plan-details .mq-chatbot-plan-details-title {
  font-size: calc(var(--mqChatFontSize) * 0.8);
  color: hsl(var(--mqChatMessageReceivedTextColour));
}

.mq-chatbot-plan-details .mq-chatbot-plan-details-value {
  font-size: calc(var(--mqChatFontSize) * 0.8);
  color: hsl(var(--mqChatMessageReceivedTextColour));
  font-weight: 600;
}

.mq-chatbot-plan-detail-button-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  font-size: calc(var(--mqChatFontSize) * 0.8);
  gap: 10px;
}

.mq-chatbot-plan-button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--mqChatPrimaryColour));
  color: hsl(var(--mqChatSecondaryColour));
  padding: 0 10px;
  border-radius: var(--mqChatMessageBorderRadius);
  transition: all 0.25s cubic-bezier(0.42, 0.97, 0.52, 1.49);
  box-sizing: border-box;
  height: calc(var(--mqChatFontSize) + 24px);
  text-decoration: none;
}

/* Back Button */
.mq-chatbot-livechat-button {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
}

/* Plan Details Page */
#mq-chatbot-plan {
  height: calc(100% - 50px);
  padding: 25px;
  overflow-y: auto;
}

#mq-chatbot-plan .mq-chatbot-plan-header {
  text-align: center;
}

.mq-chatbot-header-buttons {
  display: flex;
  justify-content: space-between;
  height: 50px;
  padding: 0 25px;
  display: flex;
  align-items: center;
  background: hsl(var(--mqChatMessageReceivedBackgroundColour));
}

.mq-chatbot-header-buttons button {
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  color: hsl(var(--mqChatMessageReceivedTextColour));
  box-sizing: border-box;
  font-size: calc(var(--mqChatFontSize) * 0.8);
  font-weight: 600;
}

.mq-chatbot-header-buttons button svg {
  width: calc(var(--mqChatFontSize) * 0.8);
  height: calc(var(--mqChatFontSize) * 0.8);
}

/* Footer */
#mq-chatbot-footer {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--mqChatBackgroundColour));
}

#mq-chatbot-footer #powered-by-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: calc(var(--mqChatFontSize) * 0.6);
  color: hsl(var(--mqChatBodyTextColour));
}

#mq-chatbot-footer #powered-by-section a img {
  display: flex;
  align-items: center;
  justify-content: center;
}

#mq-chatbot-footer #powered-by-section img {
  width: 75px;
  height: auto;
}

.mq-chatbot-table {
  margin: 10px 0;
}

.mq-chatbot-table li {
  border-bottom: 1px solid;
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.75rem;
}

.mq-chatbot-table li:last-child {
  border-bottom: none;
}

.mq-chatbot-table li dt {
  color: var(--mqCardPrimaryTextColour) !important ;
  margin: 0 !important;
  padding: 0 !important;
}

.mq-chatbot-table li dd {
  color: var(--mqCardPrimaryTextColour) !important ;
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 600;
}

/*Live Chat*/
#mq-livechat-header {
  height: auto;
  align-items: flex-start;
}

#mq-livechat-chatbox-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

#mq-livechat-chatbox {
  overflow-y: auto;
  flex: 1;
  scroll-behavior: smooth;
  padding: 25px;
}

#mq-livechat-info-popup {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 25px;
  left: 0;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}

#mq-livechat-info-popup[is-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#mq-livechat-info-popup-message {
  background-color: hsl(var(--mqChatSecondaryColour));
  color: hsl(var(--mqChatBodyTextColour));
  min-height: 40px;
  border-radius: var(--mqChatBorderRadius);
  padding: 0 20px;
  max-width: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: calc(var(--mqChatFontSize) * 0.8);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0.6px 0.54px -1.33px,
    rgba(0, 0, 0, 0.13) 0px 2.29px 2.06px -2.67px,
    rgba(0, 0, 0, 0.04) 0px 10px 9px -4px;
  transition: all 0.25s ease-in-out;
  border: 1px solid hsl(var(--mqChatSecondaryColour));
}

#mq-livechat-info-popup-message[data-type="error"] {
  background-color: hsl(var(--mqChatErrorColour));
  color: hsl(var(--mqChatBackgroundColour));
  border-color: hsl(var(--mqChatErrorColour));
}

#mq-livechat-info-popup-message[data-type="warning"] {
  background-color: var(--mqChatWarningColour);
  color: #000000;
  border-color: var(--mqChatWarningColour);
}

#mq-livechat-form-container {
  border-top: 1px solid hsl(var(--mqChatBodyTextColour));
  border-bottom: 1px solid hsl(var(--mqChatBodyTextColour));
}

#mq-livechat-form {
  display: flex;
  padding: 10px 0px 10px 20px;
  position: relative;
}

#mq-livechat-form textarea {
  background: none;
  font-family: "Poppins", sans-serif;
  width: 100%;
  color: hsl(var(--mqChatBodyTextColour));
  resize: none;
  overflow-y: hidden;
  padding: 7px 75px 7px 0;
  max-height: 200px;
}

#mq-livechat-form textarea:focus {
  outline: none;
}

#mq-livechat-form .mq-livechat-form-options {
  flex: 1 1 auto;
  position: absolute;
  right: 20px;
  top: 10px;
}

#mq-livechat-form .mq-livechat-form-options button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--mqChatBodyTextColour));
  padding: 5px;
  border-radius: var(--mqChatBorderRadius);
  transition: all 0.25s cubic-bezier(0.42, 0.97, 0.52, 1.49);
  box-sizing: border-box;
  font-size: calc(var(--mqChatFontSize) * 1);
}

.message-details {
  font-size: calc(var(--mqChatFontSize) * 0.7);
  display: flex;
  align-items: center;
  gap: 4px;
  color: hsl(var(--mqChatBodyTextColour));
}

.message-details .message-details-seperator {
  width: 4px;
  height: 4px;
  display: block;
  background: hsl(var(--mqChatBodyTextColour));
  border-radius: 999px;
}

#mq-livechat-body {
  flex: 1;
  overflow: auto;
}

#mq-livechat-body .mq-message-sent .mq-message-text-container {
  flex-direction: column;
  gap: 0px;
  align-items: end;
}

#mq-live-chat-leave-message-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 25px;
}

#mq-live-chat-leave-message-container p {
  margin: 0;
  padding-bottom: 10px;
  color: hsl(var(--mqChatBodyTextColour));
  font-size: calc(var(--mqChatFontSize) * 1);
}

#mq-leave-message-form,
#mq-start-conversation-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mq-hide {
  display: none !important;
}

.mq-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mq-form-error-message {
  color: hsl(var(--mqChatErrorColour));
  font-size: calc(var(--mqChatFontSize) * 0.7);
  line-height: calc(var(--mqChatFontSize) * 1.25);
}

.start-conversation-button {
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  color: hsl(var(--mqChatBodyTextColour));
  box-sizing: border-box;
  font-size: calc(var(--mqChatFontSize) * 0.8);
  font-weight: 600;
}

.start-conversation-button svg {
  height: calc(var(--mqChatFontSize) + 2px);
  width: calc(var(--mqChatFontSize) + 2px);
}

.start-conversation-button:hover svg {
  fill: hsl(var(--mqChatPrimaryColour));
  transition: all 0.25s ease;
}

#mq-chatbot-show-more-plan-header img {
  padding-bottom: 10px;
  height: 75px;
  width: 125px;
}

.mq-chat-modal {
  width: 100%;
  height: 100%;
  position: absolute;
  backdrop-filter: blur(8px);
  top: 0;
  background: rgba(0, 0, 0, 0.25);
  left: 0;
  display: flex;
  z-index: 2;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease-in-out;
}

.mq-chat-modal.mq-modal-active {
  visibility: visible;
  opacity: 1;
}

.mq-chat-modal-block {
  background: hsl(var(--mqChatBackgroundColour));
  width: 80%;
  border-radius: var(--mqChatBorderRadius);
  padding: 20px;
  position: relative;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s ease-in-out;
}

.mq-chat-modal.mq-modal-active .mq-chat-modal-block {
  opacity: 1;
  transform: scale(1);
}

.mq-chat-modal-block
  .mq-chat-modal-block-header
  .mq-chat-modal-block-header-title {
  font-weight: 500;
  color: hsl(var(--mqChatBodyTextColour));
  font-size: calc(var(--mqChatFontSize) * 1.2);
}

.mq-chat-modal-block
  .mq-chat-modal-block-header
  .mq-chat-modal-block-header-description {
  font-size: calc(var(--mqChatFontSize) * 0.8);
  color: hsl(var(--mqChatBodyTextColour), 0.8);
  margin-top: 5px;
}

.mq-chat-modal-block .mq-chat-modal-block-header .mq-chat-close-modal-button {
  position: absolute;
  top: 15px;
  right: 15px;
}

.mq-chat-modal-block
  .mq-chat-modal-block-header
  .mq-chat-close-modal-button
  svg {
  width: 18px;
  height: 18px;
}

.mq-chat-modal-body {
  margin-top: 20px;
}

.mq-chat-modal-body form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#mq-chat-toaster {
  position: absolute;
  bottom: 65px;
  left: 0;
  width: 100%;
  padding: 0 25px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.25s ease-in-out;
}

#mq-chat-toaster.mq-toast-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#mq-chat-toast {
  background: hsl(var(--mqChatBackgroundColour));
  color: hsl(var(--mqChatBodyTextColour));
  font-size: calc(var(--mqChatFontSize) * 0.8);
  display: flex;
  align-items: center;
  border-radius: var(--mqChatMessageBorderRadius);
  padding: 10px 15px;
  border: 1px solid hsl(var(--mqChatBodyTextColour));
  min-height: calc(var(--mqChatFontSize) * 3);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

#mq-chat-toaster.mq-chat-toaster-success #mq-chat-toast {
  background: var(--mqChatSuccess-bg);
  color: var(--mqChatSuccess-text);
  border: 1px solid var(--mqChatSuccess-border);
}

#mq-chat-toaster.mq-chat-toaster-warning #mq-chat-toast {
  background: var(--mqChatWarning-bg);
  color: var(--mqChatWarning-text);
  border: 1px solid var(--mqChatWarning-border);
}

#mq-chat-toaster.mq-chat-toaster-error #mq-chat-toast {
  background: var(--mqChatError-bg);
  color: var(--mqChatError-text);
  border: 1px solid var(--mqChatError-border);
}

#mq-chat-toaster.mq-chat-toaster-info #mq-chat-toast {
  background: var(--mqChatInfo-bg);
  color: var(--mqChatInfo-text);
  border: 1px solid var(--mqChatInfo-border);
}

#mq-chat-toast-message {
  flex: 1;
}

/*Drawer*/
#mq-chat-drawer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  background: rgba(0, 0, 0, 0.25);
  left: 0;
  display: flex;
  z-index: 999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease-in-out;
}

#mq-chat-drawer.mq-chat-drawer-active {
  visibility: visible;
  opacity: 1;
}

#mq-chat-drawer #mq-chat-drawer-block {
  background: hsl(var(--mqChatBackgroundColour));
  width: 100%;
  height: 90%;
  border-top-right-radius: var(--mqChatBorderRadius);
  border-top-left-radius: var(--mqChatBorderRadius);
  position: relative;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  margin-top: auto;
  transform: translateY(100%);
  display: flex;
  flex-direction: column;
}

#mq-chat-drawer.mq-chat-drawer-active #mq-chat-drawer-block {
  transform: translateY(0);
}

#mq-chat-drawer #mq-chat-drawer-close-button {
  width: 100%;
  height: 60px;
}

#mq-chat-drawer #mq-chat-drawer-close-button svg {
  margin: auto;
}

#mq-chat-drawer .mq-chat-drawer-content {
  padding: 0 20px 20px 20px;
  overflow-y: auto;
}

#mq-chat-drawer .mq-chat-drawer-header h3 {
  font-size: calc(var(--mqChatFontSize) * 1.5);
  font-weight: 600;
  color: hsl(var(--mqChatBodyTextColour));
}

#mq-chat-drawer .mq-chat-drawer-header p {
  font-size: calc(var(--mqChatFontSize) * 0.85);
  color: hsl(var(--mqChatBodyTextColour), 0.8);
  margin-top: 5px;
  line-height: calc(var(--mqChatFontSize) * 1);
}

#mq-chat-drawer .mq-chat-drawer-body {
  padding-top: 20px;
}

/* Warnings */
.mq-warning-box {
  background: var(--mqChatWarning-bg);
  color: var(--mqChatWarning-text);
  border: 1px solid var(--mqChatWarning-border);
  border-radius: var(--mqChatMessageBorderRadius);
  padding: 15px;
  font-size: calc(var(--mqChatFontSize) * 1);
  font-size: calc(var(--mqChatFontSize) * 0.8);
}

/* Calculator Inputs */
.mq-chat-calculator-form {
  display: grid;
  gap: 10px;
}

.mq-chat-calculators-input {
  width: 100%;
  padding: 15px;
  font-size: calc(var(--mqChatFontSize) * 1);
  color: hsl(var(--mqChatBodyTextColour));
  border: 1px solid hsl(var(--mqChatBodyTextColour));
  border-radius: var(--mqChatBorderRadius);
  transition: all 0.25s ease-in-out;
}

.mq-chat-calculators-input:focus {
  border-color: hsl(var(--mqChatPrimaryColour));
  outline: none;
}

.mq-chat-calculators-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.mq-chat-calculators-radio + label {
  display: flex;
  position: relative;
  padding: 15px;
  background: hsl(var(--mqChatBackgroundColour));
  border: 1px solid hsl(var(--mqChatBodyTextColour), 8%);
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 8px;
  border-radius: var(--mqChatBorderRadius);
  -webkit-box-align: center;
  align-items: center;
  transition: all 0.2s ease 0s;
  cursor: pointer;
  color: hsl(var(--mqChatBodyTextColour));
  height: 100%;
  line-height: unset;
  font-size: calc(var(--mqChatFontSize) * 1);
  font-family: inherit;
}

.mq-chat-calculators-radio:checked + label {
  background: hsl(var(--mqChatPrimaryColour));
  border-color: hsl(var(--mqChatPrimaryColour));
  color: hsl(var(--mqChatSecondaryColour));
}

.mq-chat-calculators-radio + label span {
  width: 20px;
  height: 20px;
  background: hsl(var(--mqChatBackgroundColour));
  box-shadow: hsl(var(--mqChatBodyTextColour), 8%) 0px 0px 0px 1px;
  margin-right: 10px;
  border-radius: 100%;
  position: relative;
  transition: all 0.2s ease 0s;
  flex-shrink: 0;
}

.mq-chat-calculators-radio:checked + label span {
  background: hsl(var(--mqChatSecondaryColour));
  box-shadow: hsl(var(--mqChatSecondaryColour)) 0px 0px 0px 1px;
}

.mq-chat-calculators-radio + label span:after {
  content: "";
  position: absolute;
  inset: 0px;
  margin: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--mqChatPrimaryColour));
  transform: scale(0);
  transform-origin: center center;
  transition: all 0.2s ease 0s;
}

.mq-chat-calculators-radio:checked + label span:after {
  transform: scale(1);
}

.mq-chat-calculator-results-list {
  padding: 20px;
  border-radius: var(--mqChatBorderRadius);
  margin-top: 15px;
  background-color: hsl(var(--mqChatMessageReceivedBackgroundColour));
  opacity: 1;
  transition: all 0.25s ease-in-out;
}

.mq-chat-calculator-results-list.calculating-results {
  opacity: 0.5;
}

.mq-chat-calculator-results-list li {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.mq-chat-calculator-result-title {
  font-size: calc(var(--mqChatFontSize) * 0.9);
  color: hsl(var(--mqChatMessageReceivedTextColour));
}

.mq-chat-calculator-legal-notice {
  color: hsl(var(--mqChatBodyTextColour));
  font-size: calc(var(--mqChatFontSize) * 0.65);
  margin-top: 10px;
}

.mq-chat-calculator-result-seperator {
  width: 100%;
  height: 1px;
  background: hsl(var(--mqChatBodyTextColour));
  opacity: 0.1;
  margin: 0 10px;
  flex: 1 1 0;
}

.mq-chat-calculator-result-value {
  font-size: calc(var(--mqChatFontSize) * 0.9);
  color: hsl(var(--mqChatBodyTextColour));
  font-weight: 600;
}

#mq-custom-privacy-policy-link {
  display: flex;
  gap: 4px;
  font-size: calc(var(--mqChatFontSize) * 0.8);
  color: hsl(var(--mqChatBodyTextColour));
}

.mq-chat-friendly-reminder {
  font-size: calc(var(--mqChatFontSize) * 0.8);
  color: hsl(var(--mqChatBodyTextColour));
  margin-top: 10px;
}
