.loading-container {
  justify-content: center;
  align-items: center;
  display: flex;
}

.loading-container .ant-spin, .loading-container .ant-spin .ant-spin-dot-holder {
  color: var(--widgetThemeColor);
}

.loading-container.full-screen {
  z-index: 1000;
  background-color: #f9f9fb;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

.loading-container .loading-content {
  text-align: center;
  padding: 50px;
}

.page-header {
  background-color: var(--widgetThemeColor);
  color: #fff;
  z-index: 100;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 68px;
  padding: 0 15px;
  display: flex;
  position: sticky;
  top: 0;
}

.page-header .page-title {
  color: var(--widgetTextColor);
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  flex: 1;
  padding: 0 24px 0 2px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  overflow: hidden;
}

.page-header .back-button, .page-header .close-button {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

.bottom-nav {
  z-index: 100;
  box-sizing: border-box;
  background-color: #fff;
  border-top: 1px solid #eee;
  justify-content: space-between;
  width: 100%;
  padding: 10px 20px;
  display: flex;
}

.bottom-nav .nav-item {
  cursor: pointer;
  flex-direction: column;
  flex: 1;
  align-items: center;
  transition: all .3s;
  display: flex;
  overflow: hidden;
}

.bottom-nav .nav-item .nav-icon {
  color: #777;
  margin-bottom: 5px;
  font-size: 20px;
}

.bottom-nav .nav-item .nav-icon svg {
  width: 24px;
  height: 24px;
}

.bottom-nav .nav-item .nav-label {
  text-align: center;
  color: #595959;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  font-size: 12px;
  transition: color .3s;
  overflow: hidden;
}

.bottom-nav .nav-item.active .nav-icon svg path, .bottom-nav .nav-item.active .nav-icon svg circle, .bottom-nav .nav-item.active .nav-icon svg rect, .bottom-nav .nav-item.active .nav-icon svg polygon {
  fill: var(--widgetThemeColor);
}

.bottom-nav .nav-item.active .nav-label {
  color: var(--widgetThemeColor);
}

.order-track-container {
  flex-direction: column;
  height: 100%;
  display: flex;
}

.order-track-container .order-content {
  background-color: #fff;
  flex: 1;
  padding: 0 16px 16px;
  overflow: auto;
}

.order-track-container .order-content .tab-container {
  margin-bottom: 16px;
  display: flex;
}

.order-track-container .order-content .tab-container .tab {
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6c6b80;
  cursor: pointer;
  flex: 1;
  padding: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  position: relative;
  overflow: hidden;
}

.order-track-container .order-content .tab-container .tab.active {
  color: #000;
  font-weight: 550;
}

.order-track-container .order-content .tab-container .tab.active:after {
  content: "";
  background-color: var(--widgetThemeColor);
  border-radius: 4px;
  width: 100%;
  height: 4px;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
}

.order-track-container .order-content .order-from-item {
  margin-bottom: 8px;
}

.order-track-container .order-content .input-container {
  margin-bottom: 15px;
}

.order-track-container .order-content input {
  box-sizing: border-box;
  border-radius: 5px;
  width: 100%;
  height: 40px;
  font-size: 14px;
}

.order-track-container .order-content .track-button {
  width: 100%;
  color: var(--widgetTextColor);
  cursor: pointer;
  border: none;
  border-radius: 38px;
  justify-content: center;
  align-items: center;
  height: 38px;
  margin-top: 48px;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  display: flex;
}

.order-track-container .order-content .track-button .ant-btn-icon {
  width: 20px;
  height: 20px;
}

.order-list-container {
  flex-direction: column;
  height: 100%;
  display: flex;
}

.order-list-container .order-content {
  background-color: #f9f9fb;
  flex: 1;
  padding: 10px;
  overflow: auto;
}

.order-list-container .order-content .order-item {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 15px;
  box-shadow: 0 1px 3px #0000001a;
}

.order-list-container .order-content .order-item .order-item-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  display: flex;
}

.order-list-container .order-content .order-item .order-item-header .order-id-container {
  align-items: center;
  display: flex;
}

.order-list-container .order-content .order-item .order-item-header .order-id-container .order-id {
  font-weight: bold;
}

.order-list-container .order-content .order-item .order-item-header .order-id-container .order-arrow {
  color: #777;
  margin-left: 5px;
}

.order-list-container .order-content .order-item .order-item-header .order-status {
  color: #777;
  font-size: 14px;
}

.order-list-container .order-content .order-item .order-item-header .order-status.out-for-delivery {
  color: #f39c12;
}

.order-list-container .order-content .order-item .order-item-header .order-status.delivered {
  color: #2ecc71;
}

.order-list-container .order-content .order-item .order-item-header .order-status.ordered {
  color: #3498db;
}

.order-list-container .order-content .order-item .order-date {
  color: #777;
  margin-bottom: 15px;
  font-size: 14px;
}

.order-list-container .order-content .order-item .order-details {
  margin-bottom: 15px;
  display: flex;
}

.order-list-container .order-content .order-item .order-details .order-image {
  background-color: #f9f9fb;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  margin-right: 15px;
  font-size: 24px;
  display: flex;
}

.order-list-container .order-content .order-item .order-details .order-info {
  flex: 1;
}

.order-list-container .order-content .order-item .order-details .order-info .order-info-row {
  justify-content: space-between;
  margin-bottom: 5px;
  display: flex;
}

.order-list-container .order-content .order-item .order-details .order-info .order-info-row .info-label {
  color: #777;
  font-size: 14px;
}

.order-list-container .order-content .order-item .order-details .order-info .order-info-row .info-value {
  font-weight: bold;
}

.order-list-container .order-content .order-item .order-actions {
  gap: 10px;
  display: flex;
}

.order-list-container .order-content .order-item .order-actions .more-button, .order-list-container .order-content .order-item .order-actions .action-button {
  cursor: pointer;
  text-align: center;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  flex: 1;
  padding: 8px;
  font-size: 14px;
}

.order-list-container .order-content .order-item .order-actions .more-button.track, .order-list-container .order-content .order-item .order-actions .action-button.track, .order-list-container .order-content .order-item .order-actions .more-button.report, .order-list-container .order-content .order-item .order-actions .action-button.report {
  color: #fff;
  background-color: #6c5ce7;
  border: none;
}

.order-list-container .order-content .order-item .order-actions .more-button {
  flex: 0 0 40px;
}

.order-details-container {
  flex-direction: column;
  height: 100%;
  display: flex;
}

.order-details-container .order-content {
  background-color: #f9f9fb;
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.order-details-container .order-content.loading-container {
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
}

.order-details-container .order-content.loading-container .ant-spin .ant-spin-text {
  margin-top: 8px;
}

.order-details-container .order-content .order-number-shipping-info {
  color: #000;
  background-color: #fff;
  border: 1px solid #e5e5eb;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.order-details-container .order-content .order-number-shipping-info .order-detail-item {
  border-bottom: 1px solid #f3f3f6;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.order-details-container .order-content .order-number-shipping-info .order-detail-item .order-item-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  display: flex;
}

.order-details-container .order-content .order-number-shipping-info .order-detail-item .order-item-header .order-id-container {
  align-items: center;
  display: flex;
}

.order-details-container .order-content .order-number-shipping-info .order-detail-item .order-item-header .order-id-container .order-id {
  margin-right: 4px;
}

.order-details-container .order-content .order-number-shipping-info .order-detail-item .order-item-header .out-for-delivery {
  color: #6c6b80;
}

.order-details-container .order-content .order-number-shipping-info .order-detail-item .order-item-header .order-status {
  color: #6c6b80;
  max-width: 60%;
}

.order-details-container .order-content .order-number-shipping-info .order-detail-item .order-date {
  color: #6c6b80;
  font-size: 12px;
  line-height: 20px;
}

.order-details-container .order-content .order-number-shipping-info .shipping-info .shipping-info-title {
  color: #6c6b80;
  margin-bottom: 4px;
}

.order-details-container .order-content .order-number-shipping-info .shipping-info .shipping-info-address {
  margin: 0;
}

.order-details-container .order-content .order-details-help {
  cursor: pointer;
  color: var(--widgetThemeColor);
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  font-size: 13px;
  font-weight: 550;
  line-height: 20px;
  display: flex;
}

.order-details-container .order-content .order-details-help svg {
  margin-right: 4px;
}

.order-details-container .order-content .order-details-help svg path, .order-details-container .order-content .order-details-help svg circle, .order-details-container .order-content .order-details-help svg rect, .order-details-container .order-content .order-details-help svg polygon {
  fill: var(--widgetThemeColor);
}

.order-details-container .order-content .order-not-found-container {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
}

.order-details-container .order-content .order-not-found-container .order-not-found-title {
  margin: 16px 0;
}

.order-details-container .order-content .order-not-found-container .order-not-found-button {
  border-radius: 36px;
}

.track-info-item {
  color: #000;
  background-color: #fff;
  border: 1px solid #e5e5eb;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.track-info-item .track-item-package {
  border-bottom: 1px solid #f3f3f6;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  display: flex;
}

.track-info-item .track-item-package .track-item-package-status {
  align-items: center;
  max-width: 60%;
  display: flex;
}

.track-info-item .track-item-package .track-item-package-status:before {
  content: "";
  background-color: #000;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  display: inline-block;
}

.track-info-item .tracking-header {
  margin-bottom: 15px;
}

.track-info-item .tracking-header .delivery-status {
  color: #1890ff;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.track-info-item .tracking-header .tracking-item {
  margin-bottom: 16px;
}

.track-info-item .tracking-header .tracking-item .item-label {
  color: #6c6b80;
  min-width: 80px;
  margin-bottom: 4px;
  font-weight: 400;
}

.track-info-item .track-info-item-wrapper .tracking-timeline {
  position: relative;
}

.track-info-item .track-info-item-wrapper .tracking-timeline:before {
  content: "";
  background-color: #e8e8e8;
  width: 2px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
}

.track-info-item .track-info-item-wrapper .tracking-timeline .timeline-item {
  margin: 15px 0;
  padding-left: 30px;
  position: relative;
}

.track-info-item .track-info-item-wrapper .tracking-timeline .timeline-item:first-child .timeline-point {
  background-color: var(--widgetThemeColor);
}

.track-info-item .track-info-item-wrapper .tracking-timeline .timeline-item .timeline-point {
  background-color: #d0d0d0;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 5px;
  left: 5px;
}

.track-info-item .track-info-item-wrapper .tracking-timeline .timeline-item .timeline-content .timeline-date {
  color: #6c6b80;
  margin-bottom: 4px;
  font-weight: 500;
}

.track-info-item .track-info-item-wrapper .tracking-timeline .timeline-item .timeline-content .timeline-location {
  color: #888;
  font-size: 12px;
}

.track-info-item .track-info-item-wrapper .track-info-item-line-btn {
  justify-content: center;
  align-items: center;
  display: flex;
}

.track-info-item .track-info-item-wrapper .track-info-item-line-btn .show-more-btn, .track-info-item .track-info-item-wrapper .track-info-item-line-btn .show-less-btn {
  text-align: center;
  height: 10px;
}

.emailus-container {
  background-color: #fff;
  flex-direction: column;
  height: 100%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  display: flex;
}

.emailus-container .emailus-content {
  flex: 1;
  padding: 16px;
  overflow: auto;
}

.emailus-container .emailus-content .emailus-info-item {
  margin-bottom: 16px;
}

.emailus-container .emailus-content .emailus-info-item.details {
  margin-bottom: 24px;
}

.emailus-container .emailus-content .emailus-info-item .emailus-content-title {
  color: #000;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.emailus-container .emailus-content .emailus-info-item .emailus-form-item {
  margin-bottom: 8px;
}

.emailus-container .emailus-content .emailus-info-item .emailus-form-item input {
  border-radius: 5px;
  width: 100%;
  height: 40px;
  font-size: 14px;
}

.emailus-container .emailus-content .emailus-info-item .emailus-form-item .ant-input-textarea-show-count .ant-input-data-count {
  bottom: 3px;
  right: 12px;
}

.emailus-container .emailus-content .emailus-info-item .emailus-info-item-attach {
  color: #6c6b80;
  margin: 8px 0;
  font-size: 12px;
  line-height: 20px;
}

.emailus-container .emailus-content .emailus-info-item .emailus-info-item-attach .emailus-file-uploader {
  align-items: center;
  display: flex;
}

.emailus-container .emailus-content .emailus-info-item .emailus-info-item-attach .emailus-attach-files-wrapper {
  cursor: pointer;
  align-items: center;
  display: flex;
}

.emailus-container .emailus-content .emailus-info-item .emailus-info-item-attach .emailus-attach-files-wrapper.disabled {
  cursor: not-allowed;
}

.emailus-container .emailus-content .emailus-info-item .emailus-info-item-attach .files-maxcount-error {
  color: #f5222d;
  flex: 1;
}

.emailus-container .emailus-content .emailus-info-item .emailus-uploaded-files .emailus-uploaded-file {
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  line-height: 20px;
  display: flex;
}

.emailus-container .emailus-content .emailus-info-item .emailus-uploaded-files .emailus-uploaded-file .emailus-uploaded-file-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 10px;
  overflow: hidden;
}

.emailus-container .emailus-content .emailus-info-item .emailus-uploaded-files .emailus-uploaded-file .remove-file-btn {
  color: #f5222d;
  height: 20px;
  font-size: 12px;
}

.emailus-container .emailus-content .emailus-info-item .emailus-uploaded-files .emailus-attach-files-text {
  flex: 1;
  margin-left: 5px;
}

.emailus-container .emailus-content .emailus-error-message {
  color: #f5222d;
  margin: 10px 0;
}

.emailus-container .emailus-content .track-button {
  width: 100%;
  color: var(--widgetTextColor);
  cursor: pointer;
  border: none;
  border-radius: 38px;
  justify-content: center;
  align-items: center;
  height: 38px;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  display: flex;
}

.emailus-container .emailus-content .emailus-content-success .emailus-content-success-icon {
  flex-direction: column;
  align-items: center;
  margin: 38px 0 77px;
  display: flex;
}

.emailus-container .emailus-content .emailus-content-success .emailus-content-success-description {
  color: #000;
  text-align: center;
  margin-top: 21px;
  font-size: 13px;
  font-weight: 450;
  line-height: 20px;
}

.file-uploader {
  position: relative;
}

.file-uploader.uploading {
  opacity: .7;
}

.file-uploader .file-upload-progress {
  color: #fff;
  text-align: center;
  background-color: #0009;
  padding: 4px 8px;
  font-size: 12px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.faq-feedback {
  border-top: 1px solid #f0f0f0;
  margin-top: 24px;
  padding-top: 16px;
}

.faq-feedback-title {
  color: #333;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
}

.faq-feedback-actions {
  gap: 24px;
  display: flex;
}

.faq-feedback-action {
  align-items: center;
  gap: 8px;
  display: flex;
}

.faq-feedback-count {
  color: #666;
  min-width: 24px;
  font-size: 14px;
}

.faq-feedback-message {
  color: var(--widgetThemeColor, #06f);
  margin-top: 12px;
  font-size: 13px;
  font-style: italic;
}

svg:hover {
  transition: transform .2s;
  transform: scale(1.05);
}

.faq-container {
  background-color: #f9f9fb;
  flex-direction: column;
  max-width: 400px;
  height: 100%;
  margin: 0 auto;
  font-family: Inter, sans-serif;
  display: flex;
}

.faq-container .faq-header {
  color: #fff;
  background-color: #6c5ce7;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  display: flex;
}

.faq-container .faq-header h2 {
  margin: 0;
  font-size: 20px;
}

.faq-container .faq-header .back-button, .faq-container .faq-header .close-button {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 20px;
}

.faq-container .faq-content {
  z-index: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
  flex: 1;
  position: relative;
  top: -1px;
  overflow: auto;
}

.faq-container .faq-content::-webkit-scrollbar {
  display: none;
}

.faq-container .faq-content .faq-search-box {
  background: var(--widgetThemeColor);
  z-index: 100;
  padding: 1.5px 36px 16px;
  position: sticky;
  top: 0;
}

.faq-container .faq-content .faq-search-box .search-container {
  background: #fff;
  border-radius: 20px;
  flex: 1 0 0;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 12px;
  display: flex;
}

.faq-container .faq-content .faq-search-box .search-container .search-icon {
  font-size: 16px;
}

.faq-container .faq-content .faq-search-box .search-container .search-input {
  border: none;
  outline: none;
}

.faq-container .faq-content .faq-categories {
  flex-direction: column;
  gap: 20px;
  padding: 16px 0;
  display: flex;
}

.faq-container .faq-content .faq-categories .faq-category .category-title-box {
  gap: 8px;
  margin-bottom: 8px;
  padding: 0 24px;
  display: flex;
}

.faq-container .faq-content .faq-categories .faq-category .category-title-box span {
  flex-shrink: 0;
  line-height: 0;
}

.faq-container .faq-content .faq-categories .faq-category .category-title {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: normal;
}

.faq-container .faq-content .faq-categories .faq-category .faq-list-box {
  padding: 4px 16px;
}

.faq-container .faq-content .faq-categories .faq-category .faq-list-box:hover {
  background-color: var(--wd_widgetHoverColor);
}

.faq-container .faq-content .faq-categories .faq-category .faq-list-box .faq-item {
  cursor: pointer;
  border-radius: 5px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px;
  text-decoration: none;
  display: flex;
}

.faq-container .faq-content .faq-categories .faq-category .faq-list-box .faq-item .faq-question {
  font-size: var(--wd_widgetTextFontSize);
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wd_widgetTextColor);
  flex: 1;
  overflow: hidden;
}

.faq-container .faq-content .faq-categories .faq-category .faq-list-box .faq-item .faq-arrow {
  color: #777;
  font-size: 20px;
  line-height: 0;
}

.faq-container .faq-loading, .faq-container .faq-empty {
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 300px;
  display: flex;
}

.faq-container .faq-loading {
  padding: 20px;
}

.faq-container .faq-loading .ant-spin .ant-spin-text {
  color: #00000073;
  margin-top: 8px;
  font-size: 14px;
}

.faq-container .faq-empty .ant-empty .ant-empty-description {
  color: #00000073;
}

.faq-detail-content {
  border-radius: 5px;
  flex: 1;
  padding: 15px;
}

.faq-detail-content .faq-detail-question {
  color: #333;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
}

.faq-feedback {
  border-top: 1px solid #eee;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  display: flex;
}

.faq-feedback .faq-feedback-title {
  color: #6c6b80;
  text-align: center;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 400;
}

.faq-feedback .faq-feedback-actions {
  gap: 24px;
  display: flex;
}

.faq-feedback .faq-feedback-actions .faq-feedback-action {
  align-items: center;
  gap: 8px;
  display: flex;
}

.faq-feedback .faq-feedback-actions .faq-feedback-action .faq-feedback-count {
  color: #666;
  min-width: 24px;
  font-size: 14px;
}

.faq-feedback .faq-feedback-actions .faq-feedback-action svg {
  transition: all .2s;
}

.faq-feedback .faq-feedback-actions .faq-feedback-action svg:hover {
  transform: scale(1.1);
}

[class*="editor-container"] {
  color: #333;
  text-align: left;
  border-radius: 10px 10px 2px 2px;
  max-width: 100%;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.6;
  position: relative;
}

[class*="editor-inner"] {
  background: #fff;
  position: relative;
}

[class*="editor-input"] {
  resize: none;
  caret-color: #444;
  -moz-tab-size: 1;
  tab-size: 1;
  outline: 0;
  min-height: 150px;
  padding: 10px;
  font-size: 16px;
  position: relative;
}

[class*="editor-image"], .editor-image, img.editor-image, span[class*="editor-image"], [class*="editor-editor-image"] {
  vertical-align: bottom;
  max-width: 100%;
  display: inline-block;
}

[class*="editor-paragraph"] span[class*="editor-image"], [class*="editor-paragraph"] img.editor-image {
  vertical-align: bottom;
  max-width: 100%;
}

[class*="editor-placeholder"] {
  color: #999;
  text-overflow: ellipsis;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  font-size: 13px;
  display: inline-block;
  position: absolute;
  top: 15px;
  left: 10px;
  overflow: hidden;
}

[class*="editor-text-bold"] {
  font-weight: bold;
}

[class*="editor-text-italic"] {
  font-style: italic;
}

[class*="editor-text-underline"] {
  text-decoration: underline;
}

[class*="editor-text-strikethrough"] {
  text-decoration: line-through;
}

[class*="editor-text-underlineStrikethrough"] {
  text-decoration: underline line-through;
}

[class*="editor-text-code"] {
  background-color: #f0f2f5;
  padding: 1px 4px;
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 94%;
}

[class*="editor-link"] {
  color: #216fdb;
  text-decoration: none;
}

.tree-view-output {
  color: #fff;
  white-space: pre-wrap;
  background: #222;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  max-height: 250px;
  padding: 5px;
  font-size: 12px;
  line-height: 14px;
  display: block;
  position: relative;
  overflow: auto;
}

[class*="editor-code"] {
  -moz-tab-size: 2;
  tab-size: 2;
  background-color: #f0f2f5;
  margin: 8px 0;
  padding: 8px 8px 8px 52px;
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.53;
  display: block;
  position: relative;
  overflow-x: auto;
}

[class*="editor-code"]:before {
  content: attr(data-gutter);
  color: #777;
  white-space: pre-wrap;
  text-align: right;
  background-color: #eee;
  border-right: 1px solid #ccc;
  min-width: 25px;
  padding: 8px;
  position: absolute;
  top: 0;
  left: 0;
}

[class*="editor-code"]:after {
  content: attr(data-highlight-language);
  text-transform: uppercase;
  color: #00000080;
  padding: 3px;
  font-size: 10px;
  position: absolute;
  top: 0;
  right: 3px;
}

.editor-tokenComment {
  color: #708090;
}

.editor-tokenPunctuation {
  color: #999;
}

.editor-tokenProperty {
  color: #905;
}

.editor-tokenSelector {
  color: #690;
}

.editor-tokenOperator {
  color: #9a6e3a;
}

.editor-tokenAttr {
  color: #07a;
}

.editor-tokenVariable {
  color: #e90;
}

.editor-tokenFunction {
  color: #dd4a68;
}

[class*="editor-paragraph"] {
  margin: 0 0 8px;
  position: relative;
}

[class*="editor-paragraph"]:last-child {
  margin-bottom: 0;
}

[class*="editor-heading-h1"] {
  margin: 0 0 12px;
  padding: 0;
  font-size: 32px;
  font-weight: 700;
}

[class*="editor-heading-h2"] {
  text-transform: uppercase;
  margin: 10px 0 0;
  padding: 0;
  font-size: 24px;
  font-weight: 600;
}

[class*="editor-heading-h3"] {
  text-transform: uppercase;
  margin: 10px 0 0;
  padding: 0;
  font-size: 20px;
  font-weight: 500;
}

[class*="editor-heading-h4"] {
  text-transform: uppercase;
  margin: 10px 0 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

[class*="editor-heading-h5"] {
  text-transform: uppercase;
  text-transform: uppercase;
  margin: 10px 0 0;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
}

[class*="editor-quote"] {
  color: #65676b;
  border-left: 4px solid #ced0d4;
  margin: 0 0 0 20px;
  padding-left: 16px;
  font-size: 13px;
}

[class*="editor-list-ol"], [class*="editor-list-ul"] {
  margin: 0 0 0 16px;
  padding: 0;
}

[class*="editor-listitem"] {
  margin: 8px 32px;
}

[class*="editor-nested-listitem"] {
  list-style-type: none;
}

pre::-webkit-scrollbar {
  background: none;
  width: 10px;
}

pre::-webkit-scrollbar-thumb {
  background: #999;
}

.debug-timetravel-panel {
  margin: auto;
  padding: 0 0 10px;
  display: flex;
  overflow: hidden;
}

.debug-timetravel-panel-slider {
  flex: 8;
  padding: 0;
}

.debug-timetravel-panel-button {
  color: #fff;
  background: none;
  border: 0;
  flex: 1;
  padding: 0;
  font-size: 12px;
}

.debug-timetravel-panel-button:hover {
  text-decoration: underline;
}

.debug-timetravel-button {
  color: #fff;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  position: absolute;
  top: 10px;
  right: 15px;
}

.debug-timetravel-button:hover {
  text-decoration: underline;
}

[class*="editor-table"] {
  border-collapse: collapse;
  border: 1px solid #ccc;
  margin: 8px 0;
}

[class*="editor-table-cell"] {
  border: 1px solid #ccc;
  min-width: 100px;
  padding: 8px;
}

[class*="editor-table-cell-header"] {
  background-color: #f5f5f5;
  font-weight: bold;
}

[class*="editor-text-align-left"] {
  text-align: left;
}

[class*="editor-text-align-center"] {
  text-align: center;
}

[class*="editor-text-align-right"] {
  text-align: right;
}

[class*="editor-text-align-justify"] {
  text-align: justify;
}

[class*="editor-indent"] {
  margin-left: 20px;
}

[class*="editor-outdent"] {
  margin-left: -20px;
}

[class*="editor-color-text"] {
  color: inherit;
}

[class*="editor-color-background"] {
  background-color: inherit;
}

[class*="editor-font-family"] {
  font-family: inherit;
}

[class*="editor-font-size"] {
  font-size: 16px;
}

[class*="editor-selected"], [class*="editor-selection"] {
  background-color: #216fdb1a;
}

[class*="editor-drag-handle"] {
  cursor: move;
  opacity: .5;
}

[class*="editor-drag-handle"]:hover {
  opacity: 1;
}

[class*="editor-error"] {
  color: #d32f2f;
  font-size: 13px;
}

[class*="editor-error-message"] {
  color: #d32f2f;
  margin-top: 4px;
}

[class*="editor-loading"] {
  min-height: 100px;
  position: relative;
}

[class*="editor-loading-spinner"] {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

[class*="editor-tooltip"] {
  color: #fff;
  z-index: 1000;
  background: #333;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 13px;
  position: absolute;
}

[class*="editor-tooltip-content"] {
  white-space: nowrap;
}

[class*="editor-popup"] {
  z-index: 1000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  position: absolute;
  box-shadow: 0 2px 8px #00000026;
}

[class*="editor-popup-content"] {
  padding: 8px;
}

[class*="editor-modal"] {
  z-index: 1000;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

[class*="editor-modal-content"] {
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px #00000026;
}

[class*="editor-modal-overlay"] {
  background: #00000080;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

body {
  margin: 0;
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
}

#root {
  width: 100%;
  height: 100%;
}

.content {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  line-height: 1.1;
  display: flex;
}

.content h1 {
  font-size: 3.6rem;
  font-weight: 700;
}

.content p {
  opacity: .5;
  font-size: 1.2rem;
  font-weight: 400;
}

.app-container {
  width: 100%;
  height: 100%;
  overflow: auto;
}

.app-container .app-content {
  word-break: break-word;
  background-color: #f9f9fb;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.app-container .close-panel-icon {
  z-index: 1000;
  cursor: pointer;
  opacity: .8;
  background-color: #0003;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  display: flex;
  position: fixed;
  top: 14px;
  right: 10px;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-thumb {
  background-color: #d9d9d9;
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-button {
  display: none;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #d9d9d9 transparent;
}

.ant-btn.ant-btn-primary {
  background-color: var(--widgetThemeColor) !important;
}

.ant-btn.ant-btn-primary:hover {
  filter: brightness(.8);
}

.ant-btn span:not(.ant-btn-icon) {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.ant-form-item .ant-form-item-additional {
  margin: 4px 0 8px;
}

.ant-input.ant-input-outlined:focus, .ant-input.ant-input-outlined:hover, .ant-input.ant-input-outlined:focus-within {
  border-color: var(--widgetThemeColor) !important;
}

body.willlink-preview-mode #root {
  transform-origin: 0 0;
  width: 125%;
  height: 125%;
  transform: scale(.8);
}

body.willlink-preview-mode .app-container, body.willlink-preview-mode .app-content {
  overflow: hidden;
}

