/* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */
/**
 * Deprecated. Not for use in new websites.
 * https://developer.mozilla.org/en-US/docs/Web/CSS/word-break#break-word
 */
:host {
  display: inline-block;
  vertical-align: middle;
}

:host .vega-image-uploader-select {
  box-sizing: border-box;
  background-color: rgba(var(--v-bg-tertiary, 240, 243, 247, 1));
  border-radius: 8px;
  border-color: rgba(var(--v-border-color-input-field, 171, 198, 216, 1));
  display: flex;
  flex-direction: row;
  align-items: center;
  border-width: 1px;
  border-style: dashed; /* TODO: Will replace this line after new token add */
  min-width: 120px;
  min-height: 120px;
}

:host .vega-image-uploader-select .action-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  padding: 12px;
  box-sizing: border-box;
  cursor: pointer;
  flex-grow: 1;
  outline: none;
}

:host(.disabled) .vega-image-uploader-select.disabled-border {
  border-color: rgba(var(--v-border-color-input-field-disabled, 222, 225, 227, 1));
}

:host(:not(.disabled)) .vega-image-uploader-select:hover {
  background-color: rgba(var(--v-bg-secondary, 245, 247, 247, 1));
  border-color: rgba(var(--v-border-color-input-field-hover, 115, 160, 190, 1));
  background-color: rgba(var(--v-bg-secondary, 245, 247, 247, 1));
}
:host(:not(.disabled)) .vega-image-uploader-select:hover .vega-image-uploader-text {
  color: rgba(var(--v-text-link-hover, 4, 112, 236, 1));
}
:host(:not(.disabled)) .vega-image-uploader-select .action-wrapper:focus-visible {
  outline: 2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));
  outline-offset: 3px;
  border: 1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1));
  border-style: none;
}
:host(:not(.disabled)) .vega-image-uploader-select .actions-backdrop:focus-visible {
  outline: 2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));
  outline-offset: 3px;
  border: 1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1));
  border-style: none;
}
:host(:not(.disabled)) .vega-image-uploader-select .error .action-wrapper:focus-visible {
  outline: 2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));
  outline-offset: 3px;
  border: 1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1));
}

:host(.disabled) .vega-image-uploader-select .action-wrapper {
  cursor: not-allowed;
}

:host(.disabled) .vega-image-uploader-select .action-wrapper vega-icon {
  color: rgba(var(--v-text-disabled, 176, 180, 181, 1));
}

:host(.disabled) .vega-image-uploader-select .action-wrapper .vega-image-uploader-text {
  color: rgba(var(--v-text-disabled, 176, 180, 181, 1));
}

:host .vega-image-uploader-select .vega-image-uploader-text {
  padding-top: 20px;
  color: rgba(var(--v-text-link, 19, 98, 226, 1));
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: center;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  :host .vega-image-uploader-select .vega-image-uploader-text {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  :host .vega-image-uploader-select .vega-image-uploader-text {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0px;
  }
}
@media screen and (min-width: 1440px) and (max-width: 9999px) {
  :host .vega-image-uploader-select .vega-image-uploader-text {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0px;
  }
}

:host .vega-image-uploader-select .action-wrapper vega-icon {
  color: rgba(var(--v-text-link, 19, 98, 226, 1));
}

:host .image-preview-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 8px;
  outline: none;
}

:host .image-preview-container img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

:host .image-preview-container.actions-backdrop::before {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  background-color: rgba(0, 0, 0, 0.6);
  content: " ";
}

:host .vega-image-uploader-select .actions {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: none;
}

:host .image-preview-container.actions-backdrop:hover::before {
  opacity: 1;
  pointer-events: auto;
}
:host .image-preview-container:hover .actions {
  opacity: 1;
  pointer-events: auto;
}

:host .vega-image-uploader-select .actions-backdrop:focus-visible::before {
  opacity: 1;
  pointer-events: auto;
}
:host .vega-image-uploader-select .actions-backdrop:focus-visible .actions {
  opacity: 1;
  pointer-events: auto;
}

:host .vega-image-uploader-select .actions-backdrop:focus-within::before {
  opacity: 1;
  pointer-events: auto;
}
:host .vega-image-uploader-select .actions-backdrop:focus-within .actions {
  opacity: 1;
  pointer-events: auto;
}

:host .vega-image-uploader-select .action-loading {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
}

:host .vega-image-uploader-select .action-loading::before {
  content: " ";
  display: block;
  border-radius: 9999px;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  border: 4px solid rgb(229, 239, 255);
}

:host .vega-image-uploader-select .action-loading::after {
  display: block;
  border-radius: 9999px;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  content: " ";
  border-style: solid;
  border-width: 4px;
  border-color: rgb(153, 192, 255) transparent transparent transparent;
  animation: loading 1.2s linear infinite;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
:host .vega-image-uploader-select .action-wrapper .cancel-action {
  color: rgba(var(--v-text-secondary, 107, 116, 125, 1));
}

:host vega-input {
  display: none;
}
:host input[type=file] {
  display: none;
}

:host .vega-error {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0px;
  color: rgba(var(--v-text-error, 189, 41, 71, 1));
  display: block;
  padding-top: 12px;
  padding-right: 8px;
  padding-left: 8px;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  :host .vega-error {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  :host .vega-error {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0px;
  }
}
@media screen and (min-width: 1440px) and (max-width: 9999px) {
  :host .vega-error {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0px;
  }
}

:host .vega-image-uploader-select.error {
  border-color: rgba(var(--v-border-color-input-field-danger, 230, 50, 87, 1));
}
:host .vega-image-uploader-select.error:hover {
  border-color: rgba(var(--v-border-color-input-field-danger-hover, 255, 87, 114, 1));
}
:host .vega-image-uploader-select.error .action-wrapper:focus-within {
  outline: 2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));
  outline-offset: 3px;
  border: 1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1));
  border-style: none;
}
:host .vega-image-uploader-select.error .actions-backdrop:focus-visible {
  outline: 2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));
  outline-offset: 3px;
  border: 1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1));
  border-style: none;
}

:host .vega-hidden {
  display: none;
}

:host vega-field-label {
  margin-bottom: 8px;
}

:host .sub-title {
  padding-top: 4px;
  color: rgba(var(--v-text-primary, 32, 54, 69, 1));
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  :host .sub-title {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  :host .sub-title {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
  }
}
@media screen and (min-width: 1440px) and (max-width: 9999px) {
  :host .sub-title {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
  }
}
:host .vega-hint {
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0px;
  color: rgba(var(--v-text-secondary, 107, 116, 125, 1));
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  :host .vega-hint {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  :host .vega-hint {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0px;
  }
}
@media screen and (min-width: 1440px) and (max-width: 9999px) {
  :host .vega-hint {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0px;
  }
}