/* 浏览历史页面样式 */
.history-main {
    padding: 16px;
    background-color: #f4f5f7;
    min-height: calc(100vh - 60px);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

.history-avatar {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f472b6, #c084fc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.history-info {
    flex: 1;
    min-width: 0;
}

.history-id {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.history-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.history-time {
    font-size: 12px;
    color: #9ca3af;
}

.history-tag {
    background-color: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.history-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s;
    cursor: pointer;
}

.action-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.action-btn.remove {
    color: #ef4444;
}

.action-btn.remove:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

/* 日期分组 */
.date-group {
    margin-bottom: 20px;
}

.date-header {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
    padding: 0 4px;
}

/* 空状态 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #9ca3af;
    text-align: center;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 8px 0;
}

.empty-state p {
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}
