.category-select {
    margin-bottom: 20px;
}

.custom-select {
    width: 100%;
    padding: 10px;
    background-color: #2c3e50;
    border: 1px solid #34495e;
    color: #ffffff;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 5'%3E%3Cpath fill='%23ffffff' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 8px 10px;
}

.custom-select:focus {
    outline: none;
    border-color: #3498db;
}

.item-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.item-card {
    background-color: #2c3e50;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.item-index {
    font-weight: bold;
    color: #3498db;
}

.item-category {
    background-color: #34495e;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9em;
}

.item-key {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.item-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.item-md5 {
    font-size: 0.8em;
    color: #bdc3c7;
    word-break: break-all;
}

@media (max-width: 768px) {
    .item-list {
        grid-template-columns: 1fr;
    }
}
