/* Shop Item Styles */
.shop-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 5px;
    background-color: rgb(250, 250, 250);
    border-width: 1px;
    border-color: rgb(200, 200, 200);
    border-radius: 5px;
}

.shop-item:hover {
    background-color: rgb(240, 240, 240);
}

.sell-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 5px;
    background-color: rgb(250, 245, 240);
    border-width: 1px;
    border-color: rgb(200, 180, 160);
    border-radius: 5px;
}

.sell-item:hover {
    background-color: rgb(240, 235, 230);
}

.item-name {
    font-size: 16px;
    color: rgb(50, 50, 50);
    font-weight: bold;
    flex-shrink: 0;
    width: 200px;
}

.item-description {
    font-size: 12px;
    color: rgb(100, 100, 100);
    flex-grow: 1;
    margin-left: 10px;
    margin-right: 10px;
}

.item-price {
    font-size: 14px;
    color: rgb(0, 120, 0);
    font-weight: bold;
    flex-shrink: 0;
    width: 100px;
    text-align: center;
}

.buy-button {
    background-color: rgb(50, 150, 50);
    color: rgb(255, 255, 255);
    border-width: 0;
    border-radius: 3px;
    padding: 5px 15px;
    font-weight: bold;
}

.buy-button:hover {
    background-color: rgb(40, 130, 40);
}

.sell-button {
    background-color: rgb(150, 100, 50);
    color: rgb(255, 255, 255);
    border-width: 0;
    border-radius: 3px;
    padding: 5px 15px;
    font-weight: bold;
}

.sell-button:hover {
    background-color: rgb(130, 80, 30);
}

.unaffordable {
    color: rgb(150, 50, 50) !important;
}

.not-accepted {
    color: rgb(150, 50, 50) !important;
}

.active-tab {
    background-color: rgb(200, 180, 140) !important;
    color: rgb(50, 50, 50) !important;
}

/* Medieval styling for the shop window */
#shop-window {
    background-image: url('project://database/Assets/UI/medieval-background.png');
}
