/* Conversation list action buttons - Improved styling */
.chat-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.chat-item:hover .chat-actions {
    opacity: 1;
}

.chat-action-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-action-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.chat-action-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
}

/* Rename button specific */
.rename-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Delete button specific */
.delete-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Inline editing for conversation title */
.chat-title[contenteditable="true"] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
    padding: 2px 4px;
    margin: -2px -4px;
    background: var(--bg-surface);
    cursor: text;
}

/* Smooth transitions for delete animation */
.chat-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}