body {
  padding-top: var(--header-height, 0);
}

.theChat {
  position: relative;
}
.theChat .theChatPadd {
  padding: 0.625rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: calc(var(--app-vh, 100dvh) - var(--header-height, 0px) - var(--footer-space, 0px));
  /* Minimum height for usability */
}
@media screen and (min-width: 768px) {
  .theChat .theChatPadd {
    padding: 1.125rem 1rem;
  }
}
#chat-tabs {
  position: relative;
  width: 100%;
  max-width: 454px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
  padding: 0 0 0.75rem;
  overflow: visible;
}
#chat-provider-tab-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  transition: -webkit-mask-image 0.15s ease, mask-image 0.15s ease;
}
#chat-provider-tab-list::-webkit-scrollbar {
  display: none;
}
#chat-provider-tab-list.has-scroll {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
}
#chat-provider-tab-list.has-scroll.at-start {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 1.25rem), transparent 100%);
          mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 1.25rem), transparent 100%);
}
#chat-provider-tab-list.has-scroll.at-end {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 1.25rem, #000 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 1.25rem, #000 100%);
}
#chat-provider-controls {
  position: relative;
  flex: 0 0 auto;
}
.chat-tab-scroll-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--global-button-color) 55%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--global-button-color) 10%, transparent);
  color: var(--global-primary-text-color);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.chat-tab-scroll-button[hidden] {
  display: none;
}
.chat-tab-scroll-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.chat-tab-scroll-button:not(:disabled):hover, .chat-tab-scroll-button:not(:disabled):focus {
  border-color: var(--global-button-color);
  background: color-mix(in srgb, var(--global-button-color) 28%, transparent);
  color: var(--global-primary-text-color);
  outline: none;
}
.chat-tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  max-width: 9rem;
  min-height: 2.25rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--global-button-color) 55%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--global-button-color) 10%, transparent);
  color: var(--global-primary-text-color);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.chat-tab-button:hover, .chat-tab-button:focus {
  border-color: var(--global-button-color);
  background: color-mix(in srgb, var(--global-button-color) 28%, transparent);
  color: var(--global-primary-text-color);
  outline: none;
}
.chat-tab-button[aria-selected=true] {
  border-color: var(--global-button-color);
  background: var(--global-button-color);
  color: var(--global-button-text-color);
}
.chat-tab-button[aria-selected=true]:hover, .chat-tab-button[aria-selected=true]:focus {
  color: var(--global-button-text-color);
}
#chat-tab-general,
#chat-tab-new {
  max-width: none;
}
#chat-new-panel {
  position: absolute;
  z-index: 10;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(22rem, calc(100vw - 1.25rem));
  max-height: min(28rem, calc(var(--app-vh, 100dvh) - var(--header-height, 0px) - var(--footer-space, 0px) - 5.5rem));
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--global-button-color) 45%, transparent);
  border-radius: 0.75rem;
  background: var(--global-primary-modal-color);
  color: var(--global-primary-text-color);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.35);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#chat-new-panel * {
  box-sizing: border-box;
}
#chat-new-panel[hidden],
#chat-support-category-view[hidden],
#chat-support-list-view[hidden],
#provider-option-list[hidden],
#payment-gateway-option-list[hidden] {
  display: none;
}
#chat-support-category-view,
#chat-support-list-view {
  display: block;
}
.chat-new-title {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.chat-support-list-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}
.chat-support-list-header .chat-new-title {
  margin: 0;
}
#chat-support-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--global-button-color) 55%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--global-button-color) 10%, transparent);
  color: var(--global-primary-text-color);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
#chat-support-back:hover, #chat-support-back:focus {
  border-color: var(--global-button-color);
  background: color-mix(in srgb, var(--global-button-color) 28%, transparent);
  color: var(--global-primary-text-color);
  outline: none;
}
.chat-support-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 4rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--global-button-color) 45%, transparent);
  border-radius: 0.625rem;
  background: color-mix(in srgb, var(--global-button-color) 10%, transparent);
  color: var(--global-primary-text-color);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.chat-support-choice + .chat-support-choice {
  margin-top: 0.625rem;
}
.chat-support-choice:hover, .chat-support-choice:focus-within {
  border-color: var(--global-button-color);
  background: color-mix(in srgb, var(--global-button-color) 22%, transparent);
  transform: translateY(-1px);
}
.chat-support-choice input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  accent-color: var(--global-button-color);
}
.chat-support-choice span:nth-of-type(1) {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.chat-support-choice b {
  font-size: 0.875rem;
  line-height: 1.2;
}
.chat-support-choice small {
  color: var(--global-secondary-text-color);
  font-size: 0.72rem;
  line-height: 1.25;
}
.chat-support-choice span[aria-hidden=true] {
  flex: 0 0 auto;
  color: var(--global-primary-text-color);
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.75;
}
.chat-support-choice:has(input:checked) {
  border-color: var(--global-button-color);
  background: color-mix(in srgb, var(--global-button-color) 28%, transparent);
}
#provider-option-list,
#payment-gateway-option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.chat-provider-option,
.chat-payment-gateway-option {
  min-height: 2.75rem;
  padding: 0.65rem;
  border: 1px solid color-mix(in srgb, var(--global-button-color) 45%, transparent);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--global-button-color) 10%, transparent);
  color: var(--global-primary-text-color);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.chat-provider-option:hover,
.chat-provider-option:focus,
.chat-provider-option[aria-selected=true],
.chat-payment-gateway-option:hover,
.chat-payment-gateway-option:focus,
.chat-payment-gateway-option[aria-selected=true] {
  border-color: var(--global-button-color);
  background: color-mix(in srgb, var(--global-button-color) 28%, transparent);
  color: var(--global-primary-text-color);
  outline: none;
}

.chat-provider-option:disabled {
    cursor: not-allowed;
    opacity: .45;
}
.chat-new-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
#provider-continue,
#provider-cancel {
  min-height: 2.25rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--global-button-color) 55%, transparent);
  border-radius: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
#provider-continue {
  border-color: var(--global-button-color);
  background: var(--global-button-color);
  color: var(--global-button-text-color);
}
#provider-continue:hover, #provider-continue:focus {
  background: var(--global-button-color);
  color: var(--global-button-text-color);
  outline: none;
}
#provider-continue:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
#provider-cancel {
  background: color-mix(in srgb, var(--global-button-color) 10%, transparent);
  color: var(--global-primary-text-color);
}
#provider-cancel:hover, #provider-cancel:focus {
  border-color: var(--global-button-color);
  background: color-mix(in srgb, var(--global-button-color) 28%, transparent);
  color: var(--global-primary-text-color);
  outline: none;
}
#chat-support-status {
  width: 100%;
  max-width: 454px;
  color: var(--global-secondary-text-color);
  font-size: 0.75rem;
}
.theChat .theChatBox {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  /* Add flexbox */
  flex-direction: column;
  /* Stack vertically */
  height: 100%;
  /* Take full height */
  min-height: 0;
}
@media screen and (min-width: 768px) {
  .theChat .theChatBox {
    max-width: 454px;
  }
}
.theChat .theCScroll {
  flex: 1;
  /* Take remaining space */
  overflow-x: hidden;
  overflow-y: auto;
  /* Change to auto for better behavior */
  margin: 0 0 1rem;
  padding: 0 0.5rem 0 0;
  /* Remove max-height: 55% */
}
.theChat .rich-chat-content iframe {
  max-width: min(100%, var(--chat-embed-max-width, 100%)) !important;
}
.theChat .rich-chat-content iframe.rich-chat-sized-embed {
  display: block;
  width: var(--chat-embed-width);
  height: auto !important;
  aspect-ratio: var(--chat-embed-ratio);
}
.theChat .theChatUser {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 70%;
  border-radius: 0.325rem;
  margin: 0 0 0.5rem auto;
}
.theChat .theChatUser picture {
  display: block;
  width: 100%;
  height: auto;
}
.theChat .theChatUser .theCUPadd {
  padding: 0.5rem 1rem 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: column;
}
.theChat .theChatUser .theCUPadd .theCUText {
  width: 100%;
  flex: 1;
  font-weight: 500;
  font-size: 0.875rem;
  text-align: left;
  word-break: break-word;
  margin: 0 0 0.5rem;
  line-height: normal;
}
.theChat .theChatUser .theCUPadd .theCUText .rich-chat-content img {
  display: block;
  max-width: 100%;
  height: auto;
}
.theChat .theChatUser .theCUPadd .theCUText .rich-chat-content a {
  color: inherit;
  text-decoration: underline;
}
.theChat .theChatUser .theCUPadd .theCUTime {
  width: -moz-fit-content;
  width: fit-content;
  align-self: flex-end;
  font-weight: 500;
  font-size: 0.5rem;
  line-height: normal;
}
.theChat .theChatPlatformSelection {
  width: 100%;
  max-width: 278px;
  border-radius: 0.325rem;
  margin: 0 auto 0.5rem 0;
}
.theChat .theChatPlatformSelection .theCUPadd {
  padding: 0.5rem 1rem 0.5rem 1rem;
}
.theChat .theChatPlatformSelection .theCUPadd .theChatPSPlatform {
  display: flex;
  align-items: center;
  margin: 0 0 0.5rem;
}
.theChat .theChatPlatformSelection .theCUPadd .theChatPSPlatform .theChatPSPLogoBox {
  width: 50px;
  padding: 0.9375rem 0.375rem;
  margin: 0 0.9375rem 0 0;
}
.theChat .theChatPlatformSelection .theCUPadd .theChatPSPlatform .theChatPSPLogoBox .theChatPSPLogo {
  width: 100%;
}
.theChat .theChatPlatformSelection .theCUPadd .theChatPSPlatform .theChatPSPLogoBox .theChatPSPLogo img {
  width: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}
.theChat .theChatPlatformSelection .theCUPadd .theChatPSPlatform .theChatPSPName {
  flex: 1;
  font-weight: 700;
  font-size: 0.8125rem;
  word-break: break-word;
}
.theChat .theChatPlatformSelection .theCUPadd .theChatPSText {
  font-weight: 500;
  font-size: 0.8125rem;
  word-break: break-word;
  margin: 0 0 0.5rem;
}
.theChat .theChatPlatformSelection .theCUPadd .theChatPSFlexWrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 0.5rem;
  margin: 0 0 0.5rem;
}
.theChat .theChatPlatformSelection .theCUPadd .theChatPSFlexWrap .theChatPSFWButton {
  width: 48%;
  text-align: center;
  font-weight: 700;
  font-size: 0.625rem;
  border-radius: 0.1875rem;
  padding: 0.375rem;
  cursor: pointer;
}
.theChat .theChatPlatformSelection .theCUPadd .theChatPSTime {
  font-weight: 500;
  font-size: 0.625rem;
  text-align: right;
}
.theChat .theChatPlatform {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 70%;
  border-radius: 0.325rem;
  margin: 0 auto 0.5rem 0;
}
.theChat .theChatPlatform picture {
  display: block;
  width: 100%;
  height: auto;
}
.theChat .theChatPlatform .theCUPadd {
  padding: 0.5rem 1rem 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: column;
}
.theChat .theChatPlatform .theCUPadd .theCUText {
  width: 100%;
  flex: 1;
  font-weight: 500;
  font-size: 0.875rem;
  text-align: left;
  word-break: break-word;
  margin: 0 0 0.5rem;
  line-height: normal;
}
.theChat .theChatPlatform .theCUPadd .theCUText .rich-chat-content img {
  display: block;
  max-width: 100%;
  height: auto;
}
.theChat .theChatPlatform .theCUPadd .theCUText .rich-chat-content a {
  color: inherit;
  text-decoration: underline;
}
.theChat .theChatPlatform .theCUPadd .theCUTime {
  width: -moz-fit-content;
  width: fit-content;
  align-self: flex-end;
  font-weight: 500;
  font-size: 0.5rem;
  line-height: normal;
}
.theChat .theCAction {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  /* Prevent shrinking */
}
.theChat .theCAction .theCAUpload svg {
  display: block;
}
.theChat .theCAction .theCASend svg {
  display: block;
}
.theChat .theCAction .theCAForm {
  position: relative;
  padding: 0.5rem 0.5rem;
  background: var(--global-secondary-modal-color);
  border-radius: 0.5rem;
  flex: 1;
  margin: 0 0.5rem;
}
@media screen and (min-width: 1024px) {
  .theChat .theCAction .theCAForm {
    padding: 0.625rem 1.25rem;
  }
}
.theChat .theCAction .theCAForm input {
  width: 100%;
  color: var(--global-primary-text-color);
  font-size: 0.75rem;
  background: transparent;
  outline: none;
  border: none;
}
@media screen and (min-width: 1024px) {
  .theChat .theCAction .theCAForm input {
    font-size: 1rem;
  }
}
.theChat .theCAction .theCAForm input::-webkit-outer-spin-button, .theChat .theCAction .theCAForm input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.theChat .theCAction .theCAForm input::-moz-placeholder {
  color: var(--global-secondary-text-color);
  opacity: 1;
}
.theChat .theCAction .theCAForm input::placeholder {
  color: var(--global-secondary-text-color);
  opacity: 1;
}
.theChat .theCAction .theCAForm input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--global-secondary-modal-color) inset !important;
  -webkit-text-fill-color: var(--global-primary-text-color) !important;
}
.theChat .theCAction .theCAForm input[type=number] {
  -moz-appearance: textfield;
}
.theChat .theCAction .theCAForm input[type=date]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.theChat .theCAction .theCAForm input[type=date] {
  -moz-appearance: textfield;
}
.theChat .theCAction .theCAForm:-webkit-autofill {
  box-shadow: 0 0 0 1000px var(--global-secondary-modal-color) inset !important;
  -webkit-text-fill-color: var(--global-primary-text-color) !important;
  caret-color: var(--global-secondary-text-color) !important;
}/*# sourceMappingURL=chat.css.map */
