.icons {
  display: flex;
  align-items: center;
  justify-content: center;

  // height: 30px;
}

.public-button {
  margin-left: 11px;
  padding: 0 5px;

  line-height: 30px;
  color: white;

  background-color: var(--accent-color-bg); // TODO: go to variable
}

.public-button-wrap {
  display: flex;
  align-items: center;

  min-height: 52px;
  padding: 8px calc(14px + env(safe-area-inset-right)) 8px calc(14px + env(safe-area-inset-left));
}

.public-caption-main {
  overflow: hidden;

  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgb(55 53 47);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-caption-add {
  overflow: hidden;

  font-size: 12px;
  line-height: 16px;
  color: rgb(55 53 47 / 65%);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-caption {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-right: auto;
}

.public-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.public-actions {
  overflow: hidden;
  max-height: 200px;
  transition:
    max-height 200ms ease 0s,
    padding-bottom 200ms ease 0s;
}

.public-action-wrap {
  user-select: none;

  display: flex;
  align-items: center;

  width: 100%;
  height: 30px;
  padding: 5px calc(14px + env(safe-area-inset-right)) 5px calc(14px + env(safe-area-inset-left));

  transition: background 20ms ease-in 0s;
}

.public-url-wrap {
  display: flex;
  align-items: center;

  width: 100%;
  height: auto;
  padding: 5px calc(14px + env(safe-area-inset-right)) 5px calc(14px + env(safe-area-inset-left));

  .public-url {
    cursor: text;

    position: relative;

    display: flex;
    flex: 1 1 0%;
    align-items: center;

    width: 100%;
    padding: 4px 0 4px 10px;

    font-size: 14px;
    line-height: 20px;

    background: rgb(242 241 238 / 60%);
    border-radius: 3px 0 0 3px;
    box-shadow: rgb(15 15 15 / 10%) 0 0 0 1px inset;

    input {
      resize: none;

      display: block;

      width: 100%;
      padding: 0;

      font-size: inherit;
      line-height: inherit;

      background: none;
      border: none;
    }
  }

  .public-url-button {
    cursor: pointer;
    user-select: none;

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

    height: 28px;
    padding: 0 12px;

    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;

    border-top: 1px solid rgb(55 53 47 / 16%);
    border-right: 1px solid rgb(55 53 47 / 16%);
    border-bottom: 1px solid rgb(55 53 47 / 16%);
    border-left: none;
    border-radius: 0 3px 3px 0;
    border-image: initial;

    transition: background 20ms ease-in 0s;
  }
}

.icons > .wrap-btn > button {
  cursor: pointer;

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

  background: none;
  border: none;

  app-cmf-doodle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
