.containerWorkbench{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: self-start;
    justify-content: start;
    margin-top: 15px;
}

.headerWorkBench{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: self-start;
    justify-content: start  ;
}

.searchItemBox{
    background-color: #314552;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    height: auto;
    padding-bottom: 3px;
    border-radius: 2px;
    border-bottom: 2px solid rgb(90, 219, 64);
}

.search-container {
    position: relative;
    width: 100%; /* можно изменить на нужную ширину */
    margin: 0 auto; /* центрирование по горизонтали */
    padding-bottom: 5px;
}

.search-input {
    width: calc(100% - 10px);
    margin-left: 5px;
    margin-right: 5px;
    padding: 10px 40px 10px 10px; /* отступы: верх, правый, нижний, левый */
    border: none;
    background-color: transparent;
    font-size: 18px;
    color: white;
    outline: none;
}

.search-input::placeholder {
    color: white; /* цвет текста placeholder */
    opacity: 1; /* чтобы placeholder не был прозрачным */
    border: none;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 45%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    pointer-events: none; /* чтобы иконка не мешала кликам по инпуту */
}

.itemRecipeBox{
    background-color: #314552;
    margin-top: 10px;
    width: calc(50% - 20px);
    margin-right: 10px;
    margin-left: 10px;
    height: auto;
    border-radius: 2px;
}

.itemRecipeBox .headerBoxWork {
    display: grid;
    align-items: center;
    justify-content: left;
    height: 40px;
    background-color: #273846;
    width: 100%;
    opacity: 40%;
    padding-left: 20px;
    border-radius: 2px;/* Занимает всю высоту родительского контейнера */
}

.itemRecipeBox .headerBoxWork span {
    color: white;
    font-size: 20px;
    line-height: normal;
}


.itemRecipeInfoBox{
    background-color: #314552;
    width: calc(50% - 20px);
    height: 200px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    border-radius: 2px;
}

.headerBoxWork{
    height: 40px;
    background-color: #273846;
    width: 100%;
    opacity: 40%;
    border-radius: 2px;
}

.itemRecipeInfoBox .headerBoxWork {
    display: grid;
    align-items: center;
    justify-content: left;
    height: 40px;
    background-color: #273846;
    width: 100%;
    opacity: 40%;
    padding-left: 20px;
    border-radius: 2px;/* Занимает всю высоту родительского контейнера */
}

.headerBoxWork span{
    font-size: 20px;
    color: white;
    line-height: normal;
}

.containerRecipe {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Используйте flex-start, чтобы элементы могли увеличивать высоту контейнера */
    justify-content: center;
    height: auto; /* Подтверждает, что высота будет определяться содержимым */
}

.recipeOutput {
    display: inline-block; /* Обеспечивает размер блока, равный размеру содержимого */
    position: relative; /* Для позиционирования corner-label */
    vertical-align: top; /* Для выравнивания, если есть другие элементы рядом */
    width: calc(50% - 30px);
    margin-left: 15px;
    margin-right: 15px;
    min-height: 200px;
    text-align: center;
}

.center-image {
    width: 170px;
    height: auto;
    display: block;
    margin: 30px auto; /* Центрирует изображение */
}

.corner-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 5px 10px;
    border: 1px solid #223646;
    background-color: #202f3a;
    text-align: center;
}

.corner-label span{
    text-align: center;
    color: white;
    font-size: 1rem;
    line-height: normal;
    margin-left: 10px;
    margin-right: 10px;
}

.recipeInput{
    width: 50%;
    height: 500px;
}

@media (max-width: 1350px) {

    .containerWorkbench{
        gap: 10px;
    }

    .searchItemBox, .itemRecipeBox, .itemRecipeInfoBox {
        margin-top: 5px;
        flex: 1 1 100%; /* Занимает 100% ширины родительского контейнера */
        max-width: 100%; /* Устанавливает максимальную ширину 100% */
      }
}