/* History item card */
.history-card {
    transition: all 0.3s ease;
}

.history-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* History item actions */
.history-actions {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.history-card:hover .history-actions {
    opacity: 1;
}

/* Search filter */
#searchHistory:focus {
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.3);
}

/* Empty state */
.empty-state {
    padding: 3rem 1rem;
    text-align: center;
}

/* Loading state */
.loading {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #FF7A00;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .history-actions {
        opacity: 1;
    }
}