/* Custom scrollbar for history list */
#history-list::-webkit-scrollbar {
    width: 6px;
}

#history-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#history-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

#history-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Pulse animation for detection count */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 0.5s ease-in-out;
}

/* Custom file upload button styling */
.custom-file-upload {
    display: inline-block;
    cursor: pointer;
}

/* Detection box styling */
.detection-box {
    position: absolute;
    border: 2px solid #3B82F6;
    background-color: rgba(59, 130, 246, 0.1);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.detection-label {
    background-color: #3B82F6;
    color: white;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 2px;
    margin-bottom: 2px;
}