body {
    background-color: #222;
    color: #fff;
    font-family: Arial, sans-serif;
    padding: 20px;
}

.container {
    /* margin: 20px; */
    max-width: 1280px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, .25);
    border-color: transparent !important;
    border-radius: 5px;
    border-collapse: collapse;
    border-spacing: 0;
    padding: 20px;
}

.title {
    text-align: center;
    color: orange;
    margin-bottom: 20px;
}

.fileInput {
    text-align: center;
    cursor: pointer;
    display: block;
    margin: 0 auto 20px;
    border: 1px solid orangered;
    width: 20%;
    padding: 1rem;
}

#itemDisplay {
    margin-top: 20px;
}

.player-section {
    margin-bottom: 30px;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    padding-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.player-section h3 {
    text-align: center;
    margin-bottom: 10px;
    color: #FF9800; /* Màu sắc cho tên người chơi */
}

.item-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.item-display-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.item-box {
    opacity: 0; /* Ban đầu các item sẽ bị ẩn */
    transition: opacity 0.5s ease-in-out; /* Hiệu ứng chuyển tiếp khi item xuất hiện */
}

.item-box.show {
    opacity: 1; /* Khi item được hiển thị, sẽ có độ mờ = 1 */
}

button {
    margin: 10px 0;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

.image-container {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 64px;
}

.image-container img {
    width: 100%;
    height: 100%;
    display: block;
}

.amount-text {
    position: absolute;
    bottom: 9px;
    left: 39px;
    text-align: center;
    color: white;
    padding: 2px 5px;
    font-size: 10px;
    border-radius: 3px;
}

.date-section {
    margin-bottom: 40px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.date-section h2 {
    margin-bottom: 10px;
    cursor: pointer; /* Thêm hiệu ứng con trỏ khi hover */
    transition: background-color 0.3s ease;
}

.date-section h2:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Khi hover sẽ có hiệu ứng nền sáng */
}

.items-container {
    display: none; /* Mặc định ẩn các items */
    transition: max-height 0.5s; /* Thêm hiệu ứng khi mở rộng box */
    max-height: 0;
    overflow: hidden;
}

.items-container.expand {
    display: block;
    max-height: 100%; /* Tăng max-height khi mở rộng */
}

.search-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

#searchBar {
    width: 50%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #FF9800;
    border-radius: 5px;
    outline: none;
    background-color: #333;
    color: white;
}

#searchBar::placeholder {
    color: #aaa;
}

#searchBar:focus {
    border-color: #FF4500;
}
