$actionColor: var(--color-href);

header {
  font: var(--default-font-h1);
}

.content {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) repeat(5, 1fr) 120px;

  div {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--color-gray-888);

    &.child-name {
      padding-left: 65px;
    }

    &.actions {
      justify-content: flex-end;
    }
  }

  a {
    cursor: pointer;
    display: block;
    color: $actionColor;
  }

  .name {
    word-break: break-all;
  }
}

#input-file {
  visibility: hidden;
}

#file-upload {
  cursor: pointer;
  color: $actionColor;

  &:hover {
    text-decoration: underline;
  }
}

.tree-button {
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;

  line-height: 1;

  background: transparent;
  border: 0;

  &.action {
    margin: 0 5px;
  }
}

app-cmf-doodle-icon {
  display: flex;
}

.plugin-attachments-upload-container {
  min-height: 100px;
  margin-top: 12px;
}

.attachments-table-drop-zone {
  user-select: none;

  width: 100%;
  min-height: 100px;
  padding: 0;

  border-color: var(--color-gray-ccc, #ccc);
  border-style: dashed;
  border-width: 2px;
  border-radius: 5px;
}

.attachments-table-text {
  user-select: none;

  z-index: 0;

  width: max-content;
  margin: -68px 0 0 calc(50% - 143px);

  color: #888;
}

.attachments-table-drop-zone.dropzone.dragover {
  position: relative;
  z-index: 5;

  color: #ccc;

  border-color: #0053a0;
  border-style: dashed;
  border-width: 2px;
}

button.action.download-all {
  display: flex;
  align-items: center;
  margin: 15px 17px 25px;

  .download-label {
    padding-left: 5px;
    color: $actionColor;
  }
}

.link {
  color: var(--color-href);
}

.attachements-encrypted {
  display: flex;
  justify-content: center;

  margin: 10px;
  padding: 10px;

  font-weight: bold;

  border: 1px solid var(--default-color-orange, #ffc007);
  border-radius: 5px;
}
