@import url(https://fonts.googleapis.com/css2?family=Inter:wght@500;700&family=Montserrat:wght@400;500;600&family=Roboto:wght@400;500;700&display=swap);
.dc-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  background-color: #fafafa;
  border: 1px solid #c8c9ca;
  border-radius: 32px;
  padding: 8px;
  box-sizing: border-box;
  font-family: Roboto, sans-serif;
  color: #222;
}

.dc-card__image-wrap {
  position: relative;
}

.dc-card__image {
  width: 100%;
  display: block;
}

.dc-share__preview .dc-card__image {
  max-width: 100%;
  max-height: 530px;
  border-radius: 12px;
  object-fit: cover;
}

.dc-widget__preview-inner .dc-card__image {
  width: 100%;
  height: 336px;
  border-radius: 24px;
  object-fit: cover;
}

.dc-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  gap: 24px;
  padding: 24px 16px 16px;
  box-sizing: border-box;
}

.dc-tag {
  display: flex;
  align-items: flex-start;
  align-self: flex-start;
  background-color: #e9f5fe;
  border-radius: 30px;
  padding: 6px 12px;
}

.dc-tag__text {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  background-image: linear-gradient(265deg, #7561b8, #34a2c5 40% 60%, #7561b8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dc-card__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dc-title {
  color: #222;
  font-size: 32px;
  font-weight: 400;
  line-height: 100%;
}

.dc-value-row {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.dc-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 50px;
}

.dc-info {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 10px;
  height: 10px;
  margin-top: 6px;
}

.dc-info__icon {
  display: block;
  width: 10px;
  height: 10px;
  color: #222;
  cursor: help;
}

.dc-info__tooltip {
  z-index: 9;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background-color: #fff;
  color: #000;
  text-align: left;
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  line-height: 150%;
  box-shadow: 0 4px 12px rgba(10, 10, 23, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.dc-info__tooltip--active {
  opacity: 1;
}

.dc-card__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dc-description {
  color: #222;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 120%;
}

@media screen and (min-width: 1440px) {
  .dc-description {
    font-size: 18px;
  }
}

.dc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px 12px;
  width: 100%;
}

.dc-row--wrap {
  flex-wrap: wrap;
  align-items: center;
}

.dc-row__label {
  color: #969696;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 120%;
  flex: none;
}

.dc-row__value {
  color: #222;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 120%;
}

.dc-card__body--modal .dc-title,
.dc-card__body--modal .dc-value {
  font-family: Inter, sans-serif;
}

.dc-card__body--modal .dc-description,
.dc-card__body--modal .dc-row__label,
.dc-card__body--modal .dc-row__value {
  font-size: 18px;
}

.dc-card__body--compact {
  padding: 5px;
  gap: 4px;
}

.dc-card__body--compact .dc-card__heading {
  gap: 4px;
}

.dc-card__body--compact .dc-title {
  font-size: 13px;
}

.dc-card__body--compact .dc-value,
.dc-card__body--compact .dc-value span {
  font-size: 18px;
  line-height: 18px;
}

.dc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
}

.dc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  height: 40px;
  border-radius: 30px;
  padding: 6px 15px;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.dc-btn--outline {
  border: 1px solid #000;
  background-color: #fff;
  color: #000;
}

.dc-btn--outline:hover {
  background-color: #000;
  color: #fff;
}

.dc-btn--solid {
  border: 1px solid #000;
  background-color: #000;
  color: #fff;
}

.dc-btn--solid:hover {
  background-color: #fff;
  color: #000;
}

.dc-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  border-radius: 30px;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.dc-icon-btn:hover {
  background-color: #fff;
  color: #000;
}

.dc-icon-btn svg {
  width: 20px;
  height: 20px;
}

.dc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.dc-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dc-modal__body {
  display: flex;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  height: 100%;
  max-height: 700px;
  background-color: #fff;
  border-radius: 32px;
  padding: 40px;

  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}

.dc-modal__body--compact {
  max-width: 600px;
  max-height: 770px;
}

.dc-modal__body--sheet {
  width: auto;
  height: auto;
  min-width: 550px;
  max-width: 70%;
  max-height: 90vh;
}

.dc-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  cursor: pointer;
  transition: transform 0.25s;
}

.dc-modal__close:hover {
  transform: scale(0.9);
}

@media (max-width: 767px) {
  .dc-modal {
    padding: 16px;
  }

  .dc-modal__body {
    padding: 24px 20px;
    border-radius: 24px;
  }
}

.dc-spinner {
  width: 40px;
  height: 40px;
  border: 5px solid #eee;
  border-top-color: #7561b8;
  border-radius: 50%;
  animation: dc-spin 1s linear infinite;
}

@keyframes dc-spin {
  to {
    transform: rotate(360deg);
  }
}

.dc-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.dc-share__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.dc-share__header h3 {
  margin: 0;
  color: #222;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  text-align: center;
}

.dc-share__socials {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.dc-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  color: #222;
  cursor: pointer;
}

.dc-social-btn svg {
  width: 33px;
  height: 33px;
}

.dc-social-btn--disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.dc-share__preview-wrap {
  position: relative;
  width: 303.28px;
}

.dc-share__preview-scale {
  width: 446px;
  transform: scale(0.68);
  transform-origin: top left;
}

.dc-share__preview {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 446px;
  gap: 32px;
  background-color: #fafafa;
  border: 1px solid #c8c9ca;
  border-radius: 32px;
  padding: 8px;
  box-sizing: border-box;
}

.dc-share__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 32px;
}

.dc-share__link {
  position: relative;
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.dc-share__link input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 50px 12px 16px;
  border: 1px solid #222;
  border-radius: 16px;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  color: #222;
  background: transparent;
}

.dc-share__link button {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #222;
  cursor: pointer;
  padding: 0;
}

.dc-share__link button svg {
  width: 25px;
  height: 25px;
}

.dc-share__link button:disabled {
  opacity: 0.5;
  cursor: default;
}

.dc-share__download {
  width: 125px;
  height: 44px;
  flex: none;
  font-family: Inter, sans-serif;
  border-radius: 100px;
}

.dc-widget {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  justify-content: center;
  margin: auto 0;
}

.dc-widget__row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  position: relative;

  overflow-x: hidden;
  overflow-y: visible;
}

.dc-widget__preview-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.dc-widget__preview-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  flex: none;
  transition:
    width 0.3s ease,
    height 0.3s ease;
}

.dc-widget__preview-inner {
  transform-origin: center center;
  flex: none;
  background-color: #fafafa;
  border: 1px solid #c8c9ca;
  border-radius: 32px;
  padding: 8px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  width: 100% !important;
}

.dc-widget__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.dc-widget__logo {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 72px;
  height: auto;
  color: #222;
  transition:
    width 0.3s ease,
    top 0.3s ease,
    left 0.3s ease;
}

.dc-widget__logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.dc-widget__logo--compact {
  width: 42px;
  top: 8px;
  left: 8px;
}

.dc-gauge-preview {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  height: 100%;
}

.dc-gauge-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
  height: 100%;
  margin: 0 auto;
  background: #e9f5fe;
  border-radius: 24px;
  padding: 16px;
  box-sizing: border-box;
  overflow: hidden;
}

.dc-gauge-card--compact {
  padding: 4px;
}

.dc-gauge-card__logo {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 69px;
  height: 46px;
  color: #222;
}

.dc-gauge-card__logo--compact {
  left: 6px;
  top: 6px;
}

.dc-gauge-card__expand {
  position: absolute;
  right: 24px;
  top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
}

.dc-gauge-card__expand--compact {
  right: 6px;
  top: 6px;
}

.dc-gauge-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 14px 0 0;
}

.dc-gauge-card__dropdowns {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  border-radius: 41px;
  border: 1px solid #fff;
  background: linear-gradient(181deg, rgba(255, 255, 255, 0.5) 1.15%, rgba(255, 255, 255, 0) 98.91%);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  padding: 5px;
  gap: 5px;
  z-index: 10;
}

.dc-gauge-card__dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 30px;
  border: 1px solid #d3e3eb;
  background: rgba(211, 227, 235, 0.5);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  padding: 4px;
  color: #1a1b1f;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  line-height: 150%;
  cursor: pointer;
}

.dc-gauge-card__dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 60px;
  border-radius: 20px;
  border: 1px solid #fff;
  background: #e9f5fe;
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  max-height: 250px;
  overflow-y: auto;
  box-sizing: border-box;
  z-index: 9999;
}

.dc-gauge-card__dropdown-item {
  border-radius: 30px;
  border: 1px solid #d3e3eb;
  background: rgba(211, 227, 235, 0.5);
  padding: 0 4px;
  text-align: center;
  cursor: pointer;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  line-height: 150%;
  color: #1a1b1f;
  white-space: nowrap;
}

.dc-gauge-card__dropdown-item:hover {
  background: rgba(211, 227, 235, 0.8);
}

.dc-gauge-card__tabbar {
  max-width: 230px;
  border-radius: 41px;
  border: 1px solid #fff;
  background: linear-gradient(181deg, rgba(255, 255, 255, 0.5) 1.15%, rgba(255, 255, 255, 0) 98.91%);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  padding: 5px;
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
}

.dc-gauge-card__tabbar button {
  outline: none;
  border: none;
  background: none;
  width: 40px;
  height: 40px;
  border-radius: 30px;
  color: #1a1b1f;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  cursor: pointer;
}

.dc-gauge-card__tabbar button.dc-gauge-card__tabbar-btn--active {
  border-radius: 30px;
  border: 1px solid #d3e3eb;
  background: rgba(211, 227, 235, 0.5);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
}

.dc-gauge-preview__title {
  font-family: Inter, sans-serif;
  font-weight: 500;
  text-align: center;
  margin: 0 0 12px;
  padding: 0 4px;
  width: 100%;
  box-sizing: border-box;
  text-transform: uppercase;
  text-align: left;
}

.gauge {
  position: relative;
  width: 270px;
  height: 300px;
  margin: 0 auto;
  transform: scale(0.8);
}

.dc-gauge-card--compact .gauge {
  transform: scale(0.5);
  transform-origin: center;
}

.dc-gauge-card--medium .gauge {
  margin-top: -10px;
}

.gauge h2 {
  display: none;
}

.gauge>svg {
  display: block;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  border-radius: 50%;
}

.gauge .gauge-key {
  transform-origin: center;
  transition: transform 0.6s ease;
}

.gauge .gauge__value-container {
  position: absolute;
  bottom: 65px;
  left: 0;
  right: 0;
  font-family: Roboto, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 34px;
  text-align: center;
  color: #ffffff;
  user-select: none;
}

.gauge .level {
  display: none;
}

.gauge-value__wrapper {
  position: relative;
  top: 10px;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gauge__value-container .bg {
  position: absolute;
  left: 0;
  right: 0;
}

.gauge .level {
  padding: 0;
  white-space: nowrap;
  max-width: 80px;
  margin: 0 auto;
  font-family: Roboto, sans-serif;
  font-weight: 500;
  font-size: 14px;
  border-radius: 50px;
}

.risk-unknown {
  background-color: #6c757d;
}

.risk-very-low {
  background-color: #7865b3;
}

.risk-low {
  background-color: #73c5df;
}

.risk-medium {
  background-color: #9fbef2;
}

.risk-high {
  background-color: #cdc1e4;
}

.risk-very-high {
  background-color: #faa99e;
}

.dc-widget__expand {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  color: #222;
}

.dc-theme-dark {
  background-color: rgb(63, 63, 63);
  border-radius: 32px;
}

.dc-theme-dark .dc-title,
.dc-theme-dark .dc-row__value,
.dc-theme-dark .dc-description {
  color: #fff;
}

.dc-theme-dark .dc-gauge-card {
  background: rgb(63, 63, 63);
}

.dc-theme-dark .dc-gauge-card__logo,
.dc-theme-dark .dc-gauge-card__expand {
  color: #fff;
}

.dc-widget__config {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  flex: none;
  max-width: 300px;
  min-height: 600px;
}

.dc-widget__config-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dc-widget__header h2 {
  width: 95%;
  margin: 0 auto;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.dc-widget__header p {
  margin: 8px 0 0;
  color: #222;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
}

.dc-widget__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dc-widget__field>label {
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
}

.dc-dropdown {
  position: relative;
  width: 100%;
  font-family: Montserrat, sans-serif;
}

.dc-dropdown__selected {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border: 1px solid #222;
  border-radius: 20px;
  background: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-sizing: border-box;
  text-align: left;
}

.dc-dropdown__selected--open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
}

.dc-dropdown__list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #222;
  border-top: none;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.dc-dropdown__list li button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border: none;
  background: none;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dc-dropdown__list li button:hover,
.dc-dropdown__item--active button {
  background: rgba(211, 227, 235, 0.4);
}

.dc-widget__custom-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dc-widget__custom-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.dc-widget__custom-row .dc-widget__field {
  flex: 1;
  min-width: 0;
}

.dc-widget__input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 8px 12px;
  box-sizing: border-box;
}

.dc-widget__input-wrap input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-family: Roboto, sans-serif;
  font-size: 14px;
}

.dc-widget__input-wrap span {
  color: #969696;
  font-size: 14px;
}

@media (max-width: 767px) {
  .dc-widget__row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .dc-widget__preview-area {
    width: 100%;

    min-width: 0;
  }

  .dc-widget__preview-frame {

    width: 100% !important;
    max-width: 100%;
  }

  .dc-widget__config {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    gap: 32px;
  }
}

.dc-widget__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.dc-toggle {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid #fff;
  background: #f6f6f6;
}

.dc-toggle button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 11px 32px;
  border-radius: 999px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  cursor: pointer;
}

.dc-toggle__btn--active {
  border-radius: 30px !important;
  border: 1px solid #d3e3eb !important;
  background: rgba(211, 227, 235, 0.5) !important;
  backdrop-filter: blur(35px) !important;
}

.dc-widget-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 0;
  gap: 6px;
  height: 48px;
  max-width: 200px;
  padding: 12px 16px;
  border-radius: 100px;
  border: 1px solid #222;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
}

.dc-widget-btn--primary {
  background: #222;
  color: #fff;
}

.dc-widget-btn--secondary {
  background: #fff;
  color: #222;
}

.dc-widget__code {
  width: 100%;
  margin: 0;
  padding: 16px;
  background: #282c34;
  color: #f5deb3;
  font-size: 13px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  box-sizing: border-box;
}

.dc-widget__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 640px;
}

@media (max-width: 767px) {
  .dc-card {
    gap: 24px;
    border-radius: 24px;
  }

  .dc-card__body {
    gap: 16px;
    padding: 0;
  }

  .dc-actions {
    gap: 8px;
  }
}

@media (max-width: 479px) {
  .dc-title {
    font-size: 22px;
    line-height: 110%;
  }

  .dc-value {
    font-size: 24px;
    line-height: 28px;
  }
}
