// scss-lint:disable SelectorDepth QualifyingElement NestingDepth

#create-task-modal {
  .modal-dialog {
    width: 360px;

    .description {
      margin-bottom: 20px;
    }

    .select-block {
      display: inline-block;
      padding-bottom: 16px;
      position: relative;
      width: 100%;

      label {
        @include font-small;
        display: inline-block;
        font-weight: bold;
        margin-bottom: 5px;
        user-select: none;
      }

      &::after {
        display: block;
        color: $brand-danger;
        content: attr(data-error);
      }
    }

    .dropdown-selector-container {
      .create-new {
        padding: 0 5px;
      }

      .dropdown-option {
        &[data-value = '0'] {
          overflow: hidden;
          text-overflow: clip;
          white-space: nowrap;
        }
      }
    }

    .new-projects-visibility {
      position: relative;
    }

    .project-visibility-container {
      display: inline-block;
      width: 260px;
    }

    .project-visibility-title {
      @include font-small;
      display: inline-block;
      font-weight: bold;
      margin-bottom: 5px;
    }

    .sci-toggles-group {
      .sci-toggle-item {
        width: 130px;
      }

      .sci-toggle-item-label {
        margin-left: -130px;
        margin-bottom: 0;
        width: 130px;
      }
    }

    .modal-footer {
      text-align: center;
    }
  }
}
