.piece {
    --piece-background-color: #a6c9ec;

    width: 300px;
    position: relative;
    background-color: var(--piece-background-color);
    border: solid #707070 1px;
    border-radius: 6px;

    &-form {
        position: relative;
        text-align: center;
        margin: 10px 5px 10px 5px;

        &-header {
            display: flex;
            flex-direction: row;

            mat-icon {
                position: absolute;
                transform: scale(1.5);
                color: white;
            }

            &-for {
                display: flex;
                flex-direction: row;
                position: relative;
                left: 50%;
                transform: translateX(-50%);


                input {
                    width: 25px;
                    border: none;
                    border-radius: 10px;
                    background-color: white;
                    margin-left: 5px;
                    margin-right: 5px;
                    text-align: center;
                }
            }
        }

        &-while {
            display: flex;
            flex-direction: column;

            textarea {
                padding: 5px 10px 5px 10px;
                margin-top: 10px;
                resize: vertical;
                border: none;
                border-radius: 10px;
                flex-grow: 1;
                min-height: 50px;
                max-height: 100px;
                background-image: url("../../../assets/background-images/repeat.png");
                background-position: center;
                background-repeat: no-repeat;
                background-size: 20%;
            }
        }
    }
}