#object-display-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #28293e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

#object-display-container:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.object-display-white-text {
    color: #ffffff;
    font-size: 0.9em;
}

.object-display-yellow-text {
    color: #ffab00;
    font-size: 0.9em;
}

.object-display-red-text {
    color: #dc1919;
    font-size: 1.1em;
}

.object-display-name {
    font-weight: bold;
    margin-bottom: 4px;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.object-display-id {
    margin-bottom: 4px;
    font-size: 0.9em;
    color: #cccccc;
}

.object-display-details {
}

.object-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 150px));
    gap: 12px;
}

.object-display-grid-header {
    grid-column: 1 / -1;
    background-color: #28293e;
    color: #ffffff;
    font-weight: bold;
    padding: 10px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px 8px 0 0;
    text-transform: uppercase;
    font-size: 1.2em;
}

.objects-section-placeholder {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background-color: #1e1e2e;
    border-radius: 8px;
}

.objects-section-placeholder-no-gap {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background-color: #1e1e2e;
    border-radius: 8px;
}

#zeny-display-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #28293e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-align: center;
}

/*Receipts*/
.craft-table {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Отступ между рецептами */
    width: 100%;
    margin: auto;
}
.receipt-container {
    display: flex;
    align-items: stretch;
    padding: 10px;
    border-radius: 0 0 10px 10px; /* Закругляем только нижние углы */
    background: #242435;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

    position: relative; /* Нужно для псевдоэлемента */
    overflow: hidden; /* Чтобы граница не выходила за края */
}

/* Градиентная обводка с закруглёнными углами */
.receipt-container::after {
    content: "";
    position: absolute;
    inset: 0; /* Заполняет весь контейнер */
    border-radius: 0 0 10px 10px; /* Повторяем закругление */
    padding: 2px; /* Толщина градиентной границы */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
    mask: linear-gradient(#ffffff 0%, #ffffff 100%) content-box, linear-gradient(#ffffff 0%, #ffffff 100%);
    mask-composite: exclude;
    pointer-events: none; /* Чтобы не мешал кликам */
}

/* Левая колонка (готовый объект) */
.receipt-left {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 150px));
    grid-auto-rows: minmax(150px, 150px);
    align-content: center;
}

/* Средняя колонка (стрелка) */
.receipt-arrow {
    flex: 0 0 50px; /* Фиксированная ширина */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

/* Правая колонка (ингредиенты) */
.receipt-right {
    flex: 1; /* Заполняет оставшееся пространство */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 150px));
    gap: 10px;
    align-items: stretch; /* Растягиваем элементы до максимальной высоты */
    grid-auto-rows: minmax(150px, 150px);
}

/*Mobs*/
.monster-big-sprite-container {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.monster-big-sprite {
    border-radius: 4px;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.monster-type-icon {
    position: absolute;
    top: -1px;
    right: -1px;
    width: auto;
    height: auto;
}

.monster-summon-icon {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: auto;
    height: auto;
}

/*Items*/
.item-big-sprite-container {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.item-big-sprite {
    border-radius: 4px;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/*Receipts*/
.shop-table {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Отступ между рецептами */
    width: 100%;
    margin: auto;
}
.shop-container {
    display: flex;
    align-items: stretch;
    padding: 10px;
    border-radius: 0 0 10px 10px; /* Закругляем только нижние углы */
    background: #242435;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

    position: relative; /* Нужно для псевдоэлемента */
    overflow: hidden; /* Чтобы граница не выходила за края */
}

/* Градиентная обводка с закруглёнными углами */
.shop-container::after {
    content: "";
    position: absolute;
    inset: 0; /* Заполняет весь контейнер */
    border-radius: 0 0 10px 10px; /* Повторяем закругление */
    padding: 2px; /* Толщина градиентной границы */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
    mask: linear-gradient(#ffffff 0%, #ffffff 100%) content-box, linear-gradient(#ffffff 0%, #ffffff 100%);
    mask-composite: exclude;
    pointer-events: none; /* Чтобы не мешал кликам */
}

/* Левая колонка (готовый объект) */
.shop-left {
    flex: 0.3;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
    grid-auto-rows: minmax(150px, 150px);
    gap: 10px;
    align-content: center;
    justify-content: center;
}

/* Средняя колонка (стрелка) */
.shop-arrow {
    flex: 0 0 50px; /* Фиксированная ширина */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

/* Правая колонка (ингредиенты) */
.shop-right {
    flex: 1; /* Заполняет оставшееся пространство */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
    grid-auto-rows: minmax(150px, 150px);
    gap: 10px;
}

/* Правая колонка (ингредиенты) */
.shop-right-barter {
    flex: 1; /* Заполняет оставшееся пространство */
    display: grid;
    gap: 10px;
}

/*Receipts*/
.craft-table {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Отступ между рецептами */
    width: 100%;
    margin: auto;
}
.barter-container {
    display: flex;
    align-items: stretch;
    padding: 10px;
    border-radius: 0 0 10px 10px; /* Закругляем только нижние углы */
    background: #242435;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

    position: relative; /* Нужно для псевдоэлемента */
    overflow: hidden; /* Чтобы граница не выходила за края */
}

/* Градиентная обводка с закруглёнными углами */
.barter-container::after {
    content: "";
    position: absolute;
    inset: 0; /* Заполняет весь контейнер */
    border-radius: 0 0 10px 10px; /* Повторяем закругление */
    padding: 2px; /* Толщина градиентной границы */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
    mask: linear-gradient(#ffffff 0%, #ffffff 100%) content-box, linear-gradient(#ffffff 0%, #ffffff 100%);
    mask-composite: exclude;
    pointer-events: none; /* Чтобы не мешал кликам */
}

/* Левая колонка (готовый объект) */
.barter-left {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 150px));
    grid-auto-rows: minmax(150px, 150px);
    align-content: center;
}

/* Средняя колонка (стрелка) */
.barter-arrow {
    flex: 0 0 50px; /* Фиксированная ширина */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

/* Правая колонка (ингредиенты) */
.barter-right {
    flex: 1; /* Заполняет оставшееся пространство */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 150px));
    gap: 10px;
    align-items: stretch; /* Растягиваем элементы до максимальной высоты */
    grid-auto-rows: minmax(150px, 150px);
}