
.mbt-post-it-adding-panel {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  > .post-it-adding-panel-title {
    width: 100%;
    font-size: 1.8em;
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.54em;
  }

  > .post-it-adding-panel-container {
    width: 100%;
    max-height: max-content;
    border-radius: 1em;

    padding: 1em;
    position: relative;

    display: flex;
    flex-direction: column;

    height: calc(100% - 120px);


    > .post-it-adding-text-input{
      color: var(--postItTextColor);

      background: none;
      width: 100%;
      height: 100%;
      border: none;
      font-size: 1.5em;

      resize: none;

      &::placeholder {
        color: var(--postItTextColor);
        opacity: 1;
      }

      &:focus {
        outline: none;
      }
    }

    > .post-it-adding-panel-caracter-number {
      color: var(--postItTextColor);
    }

    > .post-it-adding-image-container {
      border-radius: 1em;
      position: relative;
      margin: auto;

      width: fit-content;
      height: 100%;
      overflow: hidden;

      > .post-it-adding-image-tools-container {
        position: absolute;
        top: 0em;
        right: 0em;
        background-color: var(--popUpBackgroundColor);
        padding: 0.3em;

        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 1em;

        > * {
          margin: 0.2em;
          cursor: pointer;
          line-height: 0;
          padding: 0;

          width: 2em;
          height: 2em;
          display: flex;
          justify-content: center;
          align-items: center;

          path{
            fill: white;
          }
          svg {
            width: 1.5em;
            height: 1.5em;
          }
        }

        > .post-it-adding-tool-file-label {
          cursor: pointer;
        }

        > .post-it-adding-panel-file-input {
          display: none;
        }

        > .post-it-adding-tool-delete {
          display: block;
          border: none;
          background: none;
          > svg{
            width: 2em;
            height: 2em;
          }
        }
      }

      > .post-it-added-image {
        width: 100%;
        max-width: max-content;
        height: 100%;
        max-height: max-content;
        object-fit: contain;
        object-position: center;
      }
    }

    > .post-it-adding-panel-file-label {
      font-size: 2em;
      color: white;
      position: absolute;
      right: 0.5em;
      bottom: 0.2em;

      cursor: pointer;

      path {
        fill: white;
      }
    }

    > .post-it-adding-panel-file-input{
      display: none;
    }
  }
  > .post-it-adding-color-container{
    width: 10em;
    margin: auto;
    margin-top: 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;

    > .input-color{
      display: block;
      width: 1.2em;
      height: 1.2em;

      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;

      border-radius: 50%;
      transition: 0.2s all linear;

      cursor: pointer;
    }

    > .color-selected{
      transform: scale(1.2,1.2);
    }

  }

  > .post-it-adding-submit-button{
    display: block;
    width: 40%;
    margin-top: 1em;

    padding: 0.5em;
    font-size: 1em;

    border: 0;
    border-radius: 2em;

    background-color: var(--button);
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
  }
}