/* General  */
.cx-widget {
  font-family: 'Neue Montreal', sans-serif;
}

.cx-webchat {
  position: fixed;
  bottom: 0;
  width: 320px;
  z-index: 40;
}

.cx-common-container.cx-loading .cx-loading-screen,
.cx-common-container.cx-loading .cx-smokescreen {
  display: block;
}

.cx-common-container .cx-dialog-container,
.cx-common-container .cx-smokescreen {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: none;
}

.cx-common-container.cx-waiting .cx-loading-screen {
  display: block;
  pointer-events: none;
  background: none;
}

.cx-loading-screen {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.cx-common-screen-reader {
  width: 1px;
  height: 1px;
  overflow: hidden;
  text-indent: -9999px;
  border: 0;
}

.cx-common-container {
  box-shadow: none;
}

.cx-widget.cx-theme-custom {
  background: #ffffff;
  border-radius: 12px 12px 0 0;
}

.cx-widget.cx-sidebar .cx-footer,
.cx-widget.cx-sidebar .cx-branding,
.cx-widget.cx-mobile.position-right .cx-icon,
.cx-widget .cx-footer .cx-powered-by,
.cx-widget .cx-branding-icon,
.cx-widget .cx-footer,
.cx-widget-status {
  display: none !important;
}

.cx-webchat.cx-minimized .cx-body,
.cx-webchat.cx-minimized .cx-footer {
  display: none;
}

.cx-widget.cx-webchat.cx-desktop.cx-minimized {
  position: fixed;
  right: 46px !important;
  bottom: 0 !important;
}
@media screen and (max-width: 768px) {
  .cx-widget.cx-webchat.cx-desktop.cx-minimized {
    position: fixed;
    right: 0 !important;
    bottom: 0 !important;
  }

  .cx-widget.cx-webchat.cx-desktop {
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: auto !important;
    width: 100% !important;
  }
}

.cx-widget.cx-minimize.cx-minimized {
  z-index: 10 !important;
}

.cx-widget.cx-theme-custom .cx-smokescreen {
  background-color: #000000;
  opacity: 0.5;
}

.cx-widget.cx-theme-custom .cx-button-group .cx-svg-icon-tone1 {
  fill: #ffffff;
  stroke: #ffffff;
  stroke-linecap: round;
}

/* Title bar */
.cx-widget.cx-theme-custom .cx-titlebar {
  background-color: #000000;
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
  height: 60px;
}

.cx-widget.cx-theme-custom .cx-titlebar .cx-icon {
  display: none;
}

.cx-widget.cx-theme-custom .cx-titlebar .cx-title {
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.cx-common-container .cx-buttons-window-control {
  position: absolute;
  top: 18px;
  right: 16px;
}

.cx-common-container .cx-buttons-window-control button {
  background-color: transparent;
  border: 0;
  width: 20px;
  height: 20px;
  padding: 2px;
  margin-left: 6px;
  cursor: pointer;
}

.cx-common-container .cx-buttons-window-control button:focus-visible {
  outline: revert;
}

/* Form */
.cx-webchat .cx-body {
  padding: 0;
  overflow: visible;
  position: relative;
}

.cx-widget .cx-form-control,
.cx-widget output {
  display: block;
  font-size: 16px;
  line-height: 150%;
  font-style: normal;
  letter-spacing: 0.5px;
}

.cx-webchat .cx-form-wrapper {
  height: auto !important;
}

.cx-webchat .cx-form {
  padding: 13px 16px 16px;
}

.cx-webchat .cx-form table {
  width: 100%;
  margin-bottom: 7px;
}

.cx-webchat .cx-form table th {
  padding-right: 0;
}

.cx-webchat .cx-form table td {
  width: 100%;
  padding: 7px 0;
}

.cx-widget.cx-theme-custom .cx-control-label,
.cx-widget.cx-theme-custom .cx-form-control,
.cx-widget.cx-mobile.cx-theme-custom .cx-form-control {
  height: 60px;
  border-radius: 4px;
}

.cx-widget .cx-form-control {
  width: 100%;
  padding: 18px 16px;
  background-image: none;
}

.cx-widget input,
.cx-widget textarea {
  font-weight: 600;
  color: #000000;
}

.cx-widget input::placeholder,
.cx-widget textarea::placeholder {
  font-weight: 400;
  color: #606060;
}

.cx-widget.cx-theme-custom .cx-input {
  background: #ffffff;
  border: 1px solid #93918d;
}

.cx-widget.cx-desktop .cx-input-focus {
  border-color: #000000 !important;
  box-shadow: none !important;
}

.cx-widget.cx-theme-custom .cx-input:hover,
.cx-widget.cx-theme-custom .cx-input:focus {
  border: 1px solid #000000;
}

.cx-widget.cx-theme-custom .cx-input.cx-error {
  border: 1px solid #ff0200;
}

.cx-widget.cx-theme-custom input.cx-input:focus,
.cx-widget.cx-theme-custom input.cx-input:hover {
  outline: 2px solid #000000;
}

.cx-widget.cx-theme-custom input.cx-input.cx-error:focus,
.cx-widget.cx-theme-custom input.cx-input.cx-error:hover {
  outline: 2px solid #ff0200;
}

.cx-widget.cx-theme-custom .cx-btn {
  color: #000000;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  padding: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.cx-webchat .cx-form .cx-button-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cx-widget.cx-theme-custom .cx-btn.cx-btn-default {
  border: 1px solid #000000;
}

.cx-widget.cx-theme-custom .cx-btn.cx-btn-default:hover {
  border: 1px solid #c2bfb8;
  color: #404040;
}

.cx-widget.cx-theme-custom .cx-btn.cx-btn-primary {
  border: 1px solid #ff4639;
  background: #ff4639;
}

.cx-widget.cx-theme-custom .cx-btn.cx-btn-primary:hover {
  border: 1px solid #ff6b61;
  background: #ff6b61;
}

.cx-common-container .cx-footer {
  padding: 0 0 16px;
}

/* Chat */
.cx-widget.cx-theme-custom .cx-agent .cx-bubble,
.cx-widget.cx-theme-custom .cx-agent-typing .cx-bubble {
  border: 2px solid #000000;
}

.cx-widget.cx-theme-custom .cx-agent .cx-bubble-arrow,
.cx-widget.cx-theme-custom .cx-agent-typing .cx-bubble-arrow {
  fill: #000000;
}

.cx-widget.cx-theme-custom .cx-participant.cx-you .cx-bubble {
  background-color: #f0efec;
}

.cx-widget.cx-theme-custom .cx-participant.cx-you .cx-bubble-arrow {
  fill: #f0efec;
}

.cx-webchat .cx-transcript {
  color: #171717;
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.5px;
  padding: 16px;
}

.cx-webchat .cx-transcript .cx-message .cx-time {
  display: block;
  font-size: 12px;
}

.cx-webchat div.cx-input-container {
  display: none;
  width: unset;
  padding: 18px 16px 18px 16px;
  border: 1px solid #93918d;
  border-radius: 4px;
  margin: 16px;
}

.cx-webchat div.cx-input-container:hover {
  border: 1px solid #000000;
  outline: 2px solid #000000;
}

.cx-webchat .cx-send {
  width: 20px;
  top: 4px;
}

.cx-webchat .cx-emoji-menu {
  white-space: nowrap;
  border: 1px solid #93918d;
  padding: 0;
  margin: 0 0 14px;
  background: #ffffff;
  border-radius: 4px;
}

.cx-webchat div.cx-input-container .cx-message-input {
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.5px;
  color: #000000;
}

.cx-webchat div.cx-input-container .cx-message-input textarea::placeholder {
  font-weight: 400;
  color: #606060;
}

/* Alerts */
.cx-webchat .cx-alert {
  display: none;
  z-index: 100;
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
}

.cx-webchat .cx-alert.cx-normal-alert .cx-buttons-binary {
  display: none;
}

.cx-webchat .cx-alert.cx-binary-alert .cx-binary-button {
  display: grid;
  gap: 16px;
}

.cx-webchat .cx-alert.cx-binary-alert .cx-button-single {
  display: none;
}

.cx-widget.cx-theme-custom .cx-alert.cx-chat-close .cx-wrapper .cx-button-group.cx-buttons-binary,
.cx-widget.cx-theme-custom .cx-alert.cx-chat-end .cx-wrapper .cx-button-group.cx-buttons-binary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 20px;
}

.cx-widget.cx-theme-custom .cx-alert.cx-normal-alert .cx-wrapper .cx-button-group.cx-button-single {
  display: grid;
  text-align: left;
  padding-top: 20px;
}

.cx-webchat .cx-alert > .cx-wrapper {
  margin: 0 16px;
  background-color: #fff;
  padding: 16px;
  border-radius: 10px;
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  text-transform: uppercase;
}

.cx-widget.cx-theme-custom .cx-alert .cx-wrapper .cx-button-group {
  padding-top: 10px;
}

.cx-widget.cx-theme-custom .cx-alert .cx-wrapper .cx_chat_error_desc > div {
  text-align: left !important;
}
