* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: #333;
    margin-bottom: 10px;
}

.score-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
}

.game-container {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.items-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 20px;
    margin-bottom: 30px;
}

.item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.item:hover {
    border-color: #aaa;
}

.item.correct {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.item.wrong {
    border-color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
}

.item-image {
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background-color: #e9e9e9;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #666;
    border-radius: 5px;
}

.item-details {
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
}

.retail-price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.quantity, .discount {
    font-size: 16px;
    margin-bottom: 5px;
}

.discount {
    color: #f44336;
    font-weight: bold;
}

.select-btn {
    padding: 8px 20px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.select-btn:hover {
    background-color: #0b7dda;
}

.select-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#result-message {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
}

#result-message.correct {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
}

#result-message.wrong {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
}

#result-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.calculations {
    display: flex;
    justify-content: space-around;
    width: 100%;
    font-size: 16px;
}

.calc {
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#next-round, #play-again {
    padding: 10px 25px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

#next-round:hover, #play-again:hover {
    background-color: #45a049;
}

.hidden {
    display: none !important;
}