// Export Dialog

.c-export {
  &-formats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: calc(100vw - 72px);
    max-width: 720px;

    &__opt1 {
      display: flex;
      flex-direction: column;
      gap: 20px;
      &-action {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        border-radius: 5px;
        bottom: -40px;
        margin: 0 -40px -32px;
        padding: 32px 40px;
        position: sticky;
      }
    }

    &__opt2 {
      display: flex;
      flex-direction: column;
      gap: 20px;

      .formats__select {
        display: flex;
        align-items: center;
        gap: 16px;

        &--copy {
          font-size: 14px;
          white-space: nowrap;
        }

        .c-select__content {
          height: 40px;
        }
      }
    }

    &__options {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    &__opt-item {
      border-radius: 4px;
      padding: 10px 9px 10px 38px;
      position: relative;
      border: none;
      outline: unset;
      background: #fff;
      border: 1px solid #111;

      &.selected {
        background: #fff;
      }
    }

    &__list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    &__item {
      padding: 10px 9px 10px 40px;
      &-name {
        color: #111;
        font-weight: 500;
      }
      opacity: 0.2;
      pointer-events: none;
      &.active {
        opacity: 1;
        pointer-events: initial;
      }
    }

    &__description {
      color: #111;
    }

    &__select {
      .c-select__item {
        padding-left: 0;
      }
    }

    .formats-item {
      position: relative;
      &.active {
        cursor: pointer;
      }
      &::after,
      &::before {
        border-radius: 100%;
        content: "";
        display: block;
        left: 10px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 21px;
        height: 21px;
      }

      &::before {
        box-shadow: 0 0 0 0.5px #fff;
        border: 1px solid #111;
      }

      &.selected {
        &::after {
          background-color: #2a46ff;
          height: 13px;
          left: 15px;
          width: 13px;
        }
      }
    }

    .msg-error {
      color: #c30052;
    }
  }
}
