/* Upload area */
.upload-area {
    border: 2px dashed #6c757d;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--bs-primary);
    background-color: rgba(13, 110, 253, 0.05);
}

/* Feature boxes */
.feature-box {
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Receipt item lists */
.item-list {
    max-height: 300px;
    overflow-y: auto;
}

/* Card hover effect */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive image preview */
#image-preview {
    max-height: 300px;
    object-fit: contain;
}

/* Category badges */
.badge {
    font-size: 0.85rem;
    padding: 0.35em 0.65em;
}

/* Table hover styles */
.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.transparent-bg {
    background-color: transparent !important; /* Make the background transparent */
    color: inherit; /* Inherit text color from parent */
    border: 1px solid currentColor; /* Optional: Add a subtle border if needed */
}