.lost-and-found-container .filter-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.item-card {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 1px solid #dee2e6;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.item-card .card-body {
    display: flex;
    flex-direction: column;
}

.item-card .card-title {
    font-weight: bold;
    color: #0056b3;
}

.item-card .item-description {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
}

.item-card .item-date {
    font-size: 1rem;
    font-weight: 500;
    margin-top: auto;
}

.item-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.item-image {
    width: 100%;
    height: 180px;
    object-fit: contain; /* Use contain to show full image without cropping */
    border-radius: 4px;
}

#detailsModal .modal-body img {
    max-height: 550px;
    object-fit: contain;
    width: 100%;
}

#detailsModal #modalCode {
    color: #0056b3;
    font-weight: bold;
} 