/* History Modal specific styles */
.history-modal-card {
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.history-list {
    overflow-y: auto;
    margin-top: 1.5rem;
    padding-right: 0.5rem;
}

.history-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
    border-color: var(--accent-violet);
}

.history-info {
    flex: 1;
    min-width: 0;
}

.history-url {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
}

.history-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    gap: 1rem;
}

.history-score {
    background: var(--accent-violet);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

.history-actions {
    display: flex;
    gap: 0.5rem;
}

.history-btn {
    padding: 6px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: all 0.2s;
}

.history-btn:hover {
    background: var(--accent-violet);
    color: white;
}

.empty-history {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.empty-history i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}